Bug 510476

Summary: Terminal window spawns at left edge when opened in a different monitor than last
Product: [Applications] yakuake Reporter: daforlynx
Component: generalAssignee: Eike Hein <hein>
Status: REPORTED ---    
Severity: normal CC: midrare9
Priority: NOR    
Version First Reported In: 25.08.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description daforlynx 2025-10-11 05:38:46 UTC
SUMMARY
The terminal window opens on the left edge of the screen if I use a shortcut to open it on a monitor that's different from the monitor it was on last.

STEPS TO REPRODUCE
0. Ensure "opens at mouse location" setting is active.
1. Open the Yakuake terminal in a monitor (monitor 1).
2. Retract the terminal. Make sure the mouse stays on monitor 1.
3. Open the terminal in a different monitor (monitor 2).

OBSERVED RESULT
The terminal may open normally in monitor 1, but after being retracted on that monitor, and opened in monitor 2, the terminal will be aligned with the left edge of the screen instead of centered as it should be according to my settings. If I retract and open it again, still on monitor 2, it re-centers itself.

EXPECTED RESULT
The monitor should remain aligned to the middle of the screen no matter how or where I open it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 6.6.87-rt54-arch1-3-rt-lts (64-bit)
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.10.0

ADDITIONAL INFORMATION
This happens in every kernel I've used. I think the bug also only appeared semi-recently.
Note that I have the terminal width smaller than the width smaller than the width of my screens (obviously) - width 90%, height 80%, animation speed 160ms.
Comment 1 daforlynx 2025-10-25 18:10:49 UTC
Found an older duplicate of this issue, but it's describing much the same thing. https://bugs.kde.org/show_bug.cgi?id=504138
In any case, somehow, the issue appears to be fixed, though I know not by what. If it reappears I will come back here to tell.
Comment 2 midrare9 2026-01-09 02:08:28 UTC
I filed a merge request that fixes this bug: https://invent.kde.org/utilities/yakuake/-/merge_requests/145