Bug 482733 - yakuake remembers last screen resolution, have to open twice to get correct size
Summary: yakuake remembers last screen resolution, have to open twice to get correct size
Status: CONFIRMED
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-07 15:39 UTC by andy
Modified: 2024-11-01 08:30 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
First opened on a 1920x1080 monitor, then a 2560x1440 monitor. Screen captured showing the cut-off window. (96.68 KB, image/png)
2024-03-07 15:39 UTC, andy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description andy 2024-03-07 15:39:39 UTC
Created attachment 166606 [details]
First opened on a 1920x1080 monitor, then a 2560x1440 monitor. Screen captured showing the cut-off window.

SUMMARY

STEPS TO REPRODUCE
1. Have at least two monitors, with different resolutions
2. Use hotkey to open yakuake on one of the monitors, then close it.
3. Use hotkey to open yakuake on a different monitor, one with a higher resolution (in width)
4. Try again (use hotkey to close/open it again)

OBSERVED RESULT
In step 3, the first time opening yakuake on the 2nd monitor of higher width, the yakuake window is cut off on the right side, to the length of the previous yakuake window. In step 4, after closing and re-opening it, the yakuake window is now the expected width.

There is no issue going from large resolution to lower resolution, only small to large.

Attachment shows result from first opening on a 1920x1080 monitor (yakuake says "Size 211 x 32" when initially opening on this screen), and then opening on a 2560x1440 monitor (yakuake says "Size: 283 x 44" initially, and the right side is cut off).

EXPECTED RESULT
The window width is not remembered from the last monitor it was on.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux rolling
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.8-arch1-1 (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION
I also experienced after an overnight locked screen and monitors turned off, when I returned the next day, the yakuake window would only appear in the middle of the screen, for all screens. I had to completely kill the yakuake process and restart it for it to return to the position at the top of the screens. I could not reproduce by just locking the screen and power cycling all monitors once.
Comment 1 andy 2024-03-09 21:19:04 UTC
yakuake appearing in the middle of the screen after overnight screen lock and monitors off is consistent every day. The yakuake window width is no longer cut off when this happens
Comment 2 Massimiliano Torromeo 2024-04-09 11:58:20 UTC
The same problem happens vertically on a second monitor that has the same resolution but rotated so that 1920px is the height of one monitor and the other is 1080px