SUMMARY STEPS TO REPRODUCE 1. Download CoolerControl (https://gitlab.com/coolercontrol/coolercontrol). 2. Start an app after a boot. 3. Windows controls are off a screen. OBSERVED RESULT Window controls (minimize, maximize, exit) are off a screen and KDE does not retain previous window size when an app is using GUI toolit (tauri+webkit2gtk). EXPECTED RESULT SOFTWARE/OS VERSIONS Linux/KDE Plasma: Artix Linux OpenRC 6.8..4 KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.3 ADDITIONAL INFORMATION
Additional info: this only happens when you have enabled "Close to tray" option in CoolerControl.
Is this on wayland or X11? What do you mean by "Window controls (minimize, maximize, exit) are off a screen "? Could you share a screenshot?
Oh sorry just saw the wayland in the title. On wayland the apps are responsible for saving their window sizes.
(In reply to fanzhuyifan from comment #2) > Is this on wayland or X11? What do you mean by "Window controls (minimize, > maximize, exit) are off a screen "? Could you share a screenshot? https://i.imgur.com/36Sfy54.png "Additional info: The only thing CC is doing is passing to the underlying libs that it would like to start the application centered on the desktop by default, which is then passed to the WM. Nothing else. Wayland handles window placement very differently when compared to X11, with many options no longer allowed at all and placement is mostly controlled by KWin-Wayland itself." https://gitlab.com/coolercontrol/coolercontrol/-/issues/269
(In reply to gigastarcraft2 from comment #4) > (In reply to fanzhuyifan from comment #2) > > Is this on wayland or X11? What do you mean by "Window controls (minimize, > > maximize, exit) are off a screen "? Could you share a screenshot? > > https://i.imgur.com/36Sfy54.png > "Additional info: > The only thing CC is doing is passing to the underlying libs that it would > like to start the application centered on the desktop by default, which is > then passed to the WM. Nothing else. Wayland handles window placement very > differently when compared to X11, with many options no longer allowed at all > and placement is mostly controlled by KWin-Wayland itself." > https://gitlab.com/coolercontrol/coolercontrol/-/issues/269 I took screenshot of title-bar that is off-screen. Now that I disabled minimizing to a tray I could set window size but before that I could not.
(In reply to gigastarcraft2 from comment #5) > (In reply to gigastarcraft2 from comment #4) > > (In reply to fanzhuyifan from comment #2) > > > Is this on wayland or X11? What do you mean by "Window controls (minimize, > > > maximize, exit) are off a screen "? Could you share a screenshot? > > > > https://i.imgur.com/36Sfy54.png > > "Additional info: > > The only thing CC is doing is passing to the underlying libs that it would > > like to start the application centered on the desktop by default, which is > > then passed to the WM. Nothing else. Wayland handles window placement very > > differently when compared to X11, with many options no longer allowed at all > > and placement is mostly controlled by KWin-Wayland itself." > > https://gitlab.com/coolercontrol/coolercontrol/-/issues/269 > > I took screenshot of title-bar that is off-screen. Now that I disabled > minimizing to a tray I could set window size but before that I could not. Humm I am afraid I don't understand what is wrong from looking at the screenshot -- isn't the title-bar shown correctly? Could you take a screenshot of the entire screen? Thanks!
(In reply to fanzhuyifan from comment #6) > (In reply to gigastarcraft2 from comment #5) > > (In reply to gigastarcraft2 from comment #4) > > > (In reply to fanzhuyifan from comment #2) > > > > Is this on wayland or X11? What do you mean by "Window controls (minimize, > > > > maximize, exit) are off a screen "? Could you share a screenshot? > > > > > > https://i.imgur.com/36Sfy54.png > > > "Additional info: > > > The only thing CC is doing is passing to the underlying libs that it would > > > like to start the application centered on the desktop by default, which is > > > then passed to the WM. Nothing else. Wayland handles window placement very > > > differently when compared to X11, with many options no longer allowed at all > > > and placement is mostly controlled by KWin-Wayland itself." > > > https://gitlab.com/coolercontrol/coolercontrol/-/issues/269 > > > > I took screenshot of title-bar that is off-screen. Now that I disabled > > minimizing to a tray I could set window size but before that I could not. > > Humm I am afraid I don't understand what is wrong from looking at the > screenshot -- isn't the title-bar shown correctly? Could you take a > screenshot of the entire screen? Thanks! >"Is this on wayland or X11? What do you mean by "Window controls (minimize, maximize, exit) are off a screen "? Could you share a screenshot?" You asked for a title bar and a frame which before manually fixing it are "above" screen but should be centered as developer said. I cannot move a window title bar above screen after manually fixing it. BUT BEFORE fixing it (as explained in gitlab link by the developer) or manually moving a window whole title bar and a frame are *above* screen and user need to manually move it so controls are inside screen dimensions.
As Yifan said, apps are still responsible for their own window sizes. And if they're using XWayland, they can even position themselves too, in which case it's up to them to do it right. This is an app bug, not a KWin bug.