dabisu / sakura

GTK/VTE based terminal emulator
https://launchpad.net/sakura
GNU General Public License v2.0
189 stars 21 forks source link

bug: not possible to restore terminal window after snapping to corner and minimizing to tray on WSL redirected X server #53

Open Kamilcuk opened 1 month ago

Kamilcuk commented 1 month ago

Hi. This is contrived example most probably specific to my environment.

I am running on windows 10 running WSL with ubuntu. That wsl executes ssh to linux. Which has sakura compiled from source from 64b0a834f83572d493ec53329e34f6264fc6ad0f .

"C:\Program Files\WSL\wslg.exe" -d Ubuntu -- ssh -tXYC MACHINE sakura -e bash -l

Now if I click the sakura window and snap it to the border on Windows with ctrl + right arrow shortcut. NOW after sanpping the window to the right border, then if I minimize the sakura windows to the windows taskbar, then I am not able to unminimize it. I can only close it, and start again.

I suspect that sakura window is drawed at point 0x0 with size 0x0 on the screen and is just invisible after moving.

Thanks.