https://bugs.winehq.org/show_bug.cgi?id=38105
mrypsilons@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mrypsilons@gmail.com
--- Comment #7 from mrypsilons@gmail.com --- Can confirm that it happens with kwin_x11. Haven't tried with another window manager.
Some observations: - Working fine in virtual desktop mode - If you minimize and close in virtual desktop mode and then start it again without virtual desktop mode, the minimized window is rendered correctly - You can maximize/un-maximize correctly now if you are using Plasma's checkboxes in the taskbar - As soon as you click on Photoshop's own maximize button (or photoshop starts maximized), the "Maximize" checkbox in the taskbar is locked, you can't uncheck it - If you click Photoshop's maximize-button now, the reported problem occurs, Plasma's Maximize checkbox is still checked
So it seems that whenever Photoshop maximizes the window, kwin locks the window to maximized. When unmaximizing with Photoshops button, it resizes the window correctly (you can actually see the minimized appbar for the fraction of a second), but then kwin seems to enforce the maximized state, so the window content is rendered in fullscreen again, but it gets clipped to where the window borders were.
If you accidentally unmaximize, you can get the appbar back by resizing the window (with invisible borders) with Plasma's shortcut (default: Alt+drag with right mouse button clicked)