| Summary: | Application using GUI toolit (tauri+webkit2gtk) on KDE Wayland does not retain window size and at startup after a boot window controls are off a screen. | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | gigastarcraft2 |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DOWNSTREAM | ||
| Severity: | normal | CC: | fanzhuyifan, kde, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.0.3 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
gigastarcraft2
2024-04-08 10:06:41 UTC
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. |