Bug 503706 - Yakuake doesn't open in the correct position for the first time on that monitor
Summary: Yakuake doesn't open in the correct position for the first time on that monitor
Status: REPORTED
Alias: None
Product: yakuake
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-03 11:19 UTC by Lucia Mrenica
Modified: 2025-08-31 11:41 UTC (History)
6 users (show)

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


Attachments
Screenshot (1.04 MB, image/png)
2025-05-03 11:19 UTC, Lucia Mrenica
Details
attachment-4159025-0.html (1.75 KB, text/html)
2025-08-01 19:10 UTC, connorpickett
Details
Invalid Placement & Resolution (1.92 MB, image/png)
2025-08-01 20:13 UTC, Packetron
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lucia Mrenica 2025-05-03 11:19:47 UTC
Created attachment 180907 [details]
Screenshot

SUMMARY
I have Yakuake set up to open in the middle of the screen. Laptop is 1080p, TV is 720p.
Screenshot shows how it looks. Also the window is cut of on the right side.

STEPS TO REPRODUCE
1. Pressing F12 while laptop screen is active opens Yakuake and it's not in the middle.
2. Closing it and opening it the second time (and 3rd, 4th, etc.) opens it in the middle as it should.
3. Moving the mouse to the tv makes the screen active
4. Pressing F12 while tv screen is active opens Yakuake and it's not in the middle.
5. Closing it and opening it the second time (and 3rd and 4th etc.) opens it in the middle as it should.
6. Going back to laptop screen and opening Yakuake opens it on the wrong position again.
7. So on and on...

So, in conclusion: Opening Yakuake for the first time after moving the cursor to a different screen opens it in the wrong position every time after moving to a different screen. Plus the window in incomplete.

Software-wise I am on up-to-date Arch Linux.

Maybe related to 385882
Maybe a duplicate of 482733
Comment 1 Raman Gupta 2025-05-03 11:45:17 UTC
I have the same issue on Fedora 42, except in my case the screen is complete even when its not positioned correctly.
Comment 2 satalicious 2025-06-04 08:59:37 UTC
this is a really annoying bug
Comment 3 connorpickett 2025-07-30 16:19:54 UTC
Same issue here: the first time I open Yakuake on one display or the other, it starts in the top-left corner instead of the configured position. Also, I use a top panel, and on the first open Yakuake starts partially covered by the panel. Second open (and any more), it opens correctly.
Comment 4 connorpickett 2025-07-30 16:21:18 UTC
(In reply to connorpickett from comment #3)
> Same issue here: the first time I open Yakuake on one display or the other,
> it starts in the top-left corner instead of the configured position. Also, I
> use a top panel, and on the first open Yakuake starts partially covered by
> the panel. Second open (and any more), it opens correctly.

Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.7-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland

yakuake 25.04.3
Comment 5 Packetron 2025-07-31 19:55:42 UTC
>KDE Plasma Version: 6.4.3
>KDE Frameworks Version: 6.16.0
>Qt Version: 6.9.1
>Kernel Version: 6.16.0-2-cachyos
>Graphics Platform: Wayland

** Summary:**
Yakuake dropdown terminal uses wrong monitor dimensions on first toggle after moving mouse between monitors with different resolutions. Uses cached dimensions from previous monitor until toggled off/on again.

**Environment:**
- Dual monitors with different resolutions
- Yakuake set to "Open at mouse position"

**Steps to Reproduce:**
1. Move mouse to Monitor 1 (e.g. 1920x1080)
2. Toggle Yakuake (F12) - displays correctly
3. Close Yakuake
4. Move mouse to Monitor 2 (e.g. 3440x1440) 
5. Toggle Yakuake - ***first time shows wrong size*** (uses Monitor 1 dimensions on Monitor 2)
6. Toggle off and on again - now shows correct size

**Expected Result:**
Yakuake should immediately use correct dimensions for current monitor

**Actual Result:**
First toggle after mouse movement uses previous monitor's cached dimensions. Second toggle works correctly.

**Workaround:**
Double-toggle Yakuake after moving mouse between monitors
Comment 6 Raman Gupta 2025-07-31 20:59:24 UTC
If the previous comment is correct, my issue might be different, OR the evaluation of the issue is incorrect. I have 3 monitors and they all run at the same resolution.
Comment 7 Packetron 2025-08-01 18:57:56 UTC
(In reply to Raman Gupta from comment #6)
> If the previous comment is correct, my issue might be different, OR the
> evaluation of the issue is incorrect. 

It seems a couple things are happening.  SOMETIMES when I move the mouse to the next monitor and toggle the terminal, it IS the same size terminal as the previous monitor AND instead of being centered in the middle (which is how it's set) it opens on the right. SOMETIMES ( the rest of the time ) it opens the correct size ( at least pretty close ) but it's pinned to the right.

> I have 3 monitors and they all run at the same resolution.

Unfortunately my monitor and TV cannot be set the same resolution to test.  I would assume ( with multi monitor / same resolution ) by the behavior we are seeing, the bug would manifest by improper alignment ONLY and you would not see the resolution mismatch.  At this point I'd say they are related to the same underlying issue.
Comment 8 Packetron 2025-08-01 19:09:59 UTC
(In reply to Packetron from comment #7)
> (In reply to Raman Gupta from comment #6)
> > If the previous comment is correct, my issue might be different, OR the
> > evaluation of the issue is incorrect. 
> 
> It seems a couple things are happening.  SOMETIMES when I move the mouse to
> the next monitor and toggle the terminal, it IS the same size terminal as
> the previous monitor AND instead of being centered in the middle (which is
> how it's set) it opens on the right. SOMETIMES ( the rest of the time ) it
> opens the correct size ( at least pretty close ) but it's pinned to the
> right.
> 
> > I have 3 monitors and they all run at the same resolution.
> 
> Unfortunately my monitor and TV cannot be set the same resolution to test. 
> I would assume ( with multi monitor / same resolution ) by the behavior we
> are seeing, the bug would manifest by improper alignment ONLY and you would
> not see the resolution mismatch.  At this point I'd say they are related to
> the same underlying issue.

1440P & 4k, Dual Monitor Screenshots
Screenshots taken on the 1440P Monitor.

Incorrect Position:
https://i.imgur.com/ZCqo82T

Incorrect Position & Resolution 
https://imgur.com/bGEZaog
Comment 9 connorpickett 2025-08-01 19:10:21 UTC
Created attachment 183719 [details]
attachment-4159025-0.html

I have the positioning problem with two monitors at the same resolution.

On Fri, Aug 1, 2025, 13:58 Packetron <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=503706
>
> --- Comment #7 from Packetron <bugs.kde.org@zmail.contact> ---
> (In reply to Raman Gupta from comment #6)
> > If the previous comment is correct, my issue might be different, OR the
> > evaluation of the issue is incorrect.
>
> It seems a couple things are happening.  SOMETIMES when I move the mouse
> to the
> next monitor and toggle the terminal, it IS the same size terminal as the
> previous monitor AND instead of being centered in the middle (which is how
> it's
> set) it opens on the right. SOMETIMES ( the rest of the time ) it opens the
> correct size ( at least pretty close ) but it's pinned to the right.
>
> > I have 3 monitors and they all run at the same resolution.
>
> Unfortunately my monitor and TV cannot be set the same resolution to
> test.  I
> would assume ( with multi monitor / same resolution ) by the behavior we
> are
> seeing, the bug would manifest by improper alignment ONLY and you would
> not see
> the resolution mismatch.  At this point I'd say they are related to the
> same
> underlying issue.
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
Comment 10 Packetron 2025-08-01 20:13:54 UTC
Created attachment 183721 [details]
Invalid Placement & Resolution
Comment 11 Raman Gupta 2025-08-01 20:57:23 UTC
(In reply to Packetron from comment #7)
> the bug would manifest by improper alignment ONLY and you would not see the resolution mismatch.

That is correct. For me with monitors of the same resolution its only an alignment issue.