Bug 441907 - Yakuake always opens on the left screen in case of display scaling
Summary: Yakuake always opens on the left screen in case of display scaling
Status: REOPENED
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: 21.08.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-02 12:19 UTC by olexorus
Modified: 2023-08-05 02:49 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description olexorus 2021-09-02 12:19:12 UTC
SUMMARY
I have two monitors and would like to use Yakuake on my right screen. But whenever I set it to open on that screen, it moves there for a single frame and then instantly jumps back, and also reverts the setting. When I use the "At mouse location" setting it behaves normally while my mouse is on the left screen, but if my mouse is on the right screen, it opens as far right on the left screen as possible (so it tries to move towards the mouse but still stays on the left screen).

Also when I reverse the order of my screens (so that the one that's physically on the right is on the left in software) it goes to the other screen (it stays on the one that's on the left in software), so it can display on that screen.

STEPS TO REPRODUCE
Not sure about this, for me it happens every time I open it.

OBSERVED RESULT
Yakuake always opens on the left screen.

EXPECTED RESULT
It should be possible to move Yakuake to the right screen.

SOFTWARE/OS VERSIONS
Linux: 5.13.13-arch1-1
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Graphics Platform: X11
Graphics Driver: Nvidia 470.63.01-4
Comment 1 olexorus 2021-09-02 19:38:30 UTC
It seems to be related to display scaling. I have my scaling set to 150%, when I change it to 100% it works perfectly. Also I noticed that the flicker when I try to change the window screen is actually across the border of both screens.

My guess of what's happening is that Yakuake gets the location of the right screen as 2560 virtual pixels, but then sets the location of the window to 2560 physical pixels, which is still on the left screen, so the window goes across both screens which is then blocked.
Comment 2 Adrian Kalla 2022-06-25 09:54:34 UTC
I can reproduce exactly the same issue - also with scaling set to 150%. With scaling set to 100% it works as expected.
I have 3 displays. The behavior on the first and the second is exactly as of the reporters. When I try to open the terminal on the third, it opens on the middle of the second screen.

Tried upgrading to 22.04.2, but no change in behavior.

SOFTWARE/OS VERSIONS
Yakuake: 22.04.2
Linux: 5.13.0
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2
Graphics Platform: X11
Graphics Driver: Nvidia 510.73.05
Comment 3 Matias Barletta 2022-07-16 01:00:04 UTC
Same thing here, using  X11 and scaling 175 and 100 in the second monitor.
Comment 4 Ravi 2023-02-14 19:37:40 UTC
can confirm on 125% display scaling as well (125% on both monitors)
Comment 5 Ravi 2023-02-27 18:13:31 UTC
Works for me on yakuake revision 45be2665850e44180f692dc0a23d4539d91657ed and konsole revision 77c6f26c8b9fefa7e3b9ad648ae61117d057a8d4
Comment 6 Adrian Kalla 2023-06-14 20:45:21 UTC
(In reply to Ravi from comment #5)
> Works for me on yakuake revision 45be2665850e44180f692dc0a23d4539d91657ed
> and konsole revision 77c6f26c8b9fefa7e3b9ad648ae61117d057a8d4

Cannot confirm that: with Yakuake 23.04.2 and Konsole 23.04.2 (both newer than that revisions) nothing changed for me.
Yakuake still behaves exactly as in my comment from a year ago.
Comment 7 Ravi 2023-08-05 02:49:56 UTC
Correction: It worked for me on a 1440p panel with 150% scale. Going back to 125%, the problem reappears