Bug 383555

Summary: Yakuake doesn't show on Screen2 when I'm working on two monitors.
Product: [Applications] yakuake Reporter: waldauf <wwwaldauf>
Component: generalAssignee: Eike Hein <hein>
Status: CONFIRMED ---    
Severity: normal CC: bjorn.bidar, claudius.ellsel, davide.cavestro, frederick888, job1957, joseskvolpe, jpwhiting, juacrumar, kinoe, lehoangphuongbg, mtkraai+kdebug, nate, ped, rocketraman, rplanchuelo, t551, wwwaldauf, yerimyah1
Priority: NOR Keywords: usability
Version: 21.08.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=374504
https://bugs.kde.org/show_bug.cgi?id=343434
https://bugs.kde.org/show_bug.cgi?id=396814
https://bugs.kde.org/show_bug.cgi?id=425384
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description waldauf 2017-08-15 14:20:44 UTC
Hello,

I'm working on two monitors (=screens) at my work and home. I found out that setting Screen and choice of "At mouse location", "Screen 1" and "Screen 2" don't work. If I have set:
* At mouse location - it works only on Screen1 not on Screen2
* Screen 1 - works every time and doesn't matter if mouse is on Screen1 or 2
* Screen 2 - doesn't work at all because yakuake is only on Screen 1
Comment 1 waldauf 2018-06-07 06:47:40 UTC
Hello,

can I ask you if is planned to fix this bug?
Comment 2 Eike Hein 2018-06-07 23:43:14 UTC
All bugs are planned to be fixed in general.

However, I currently don't have a second monitor, so I can't test this at the moment. Last time I did have two monitors the feature worked. Stay tuned.
Comment 3 James Bartlett 2018-06-27 06:46:58 UTC
Hi. Great app. I can also confirm that this is an issue on my Dual HiDPI  Monitors that I'm running at their native resolution of 3840x2160, but with 200% scaling so I can read them comfortably.

1. The terminal only displays on my very left screen, no matter which screen order they have been allocated, (Screen 0 at left of Screen 1 or visa versa), so I can 'assume' that it's a positional coordinate bug.

2. If I run my monitors at native resolution with NO scaling i.e. 100%, then Yakuake does work as intended i.e if I have 'open at mouse cursor' it displays correctly on the screen that has the mouse pointer.

3. If I change the option to 'display on screen (1 or 2) it does not save this setting, or work if I'm scaling above 100%, but it does save this if I'm at 100%.

Hope this helps you in determining this bug. If you need me to test further, please feel free to contact me. I'm wondering if waldauf also has HiDPI monitors being scaled above 100%?
Comment 4 James Bartlett 2018-06-27 06:55:40 UTC
I also forgot to add that the % of drop down and width settings are wrong when the screen is being scaled e.g if it is set to 80% of the height of the screen when I'm using 200% screen scaling, it is only at 40% of the height of the screen. I'm also using Xorg, I haven't tried Wayland at this stage.
Comment 5 Rober 2018-08-17 09:06:47 UTC
*** Bug 266573 has been marked as a duplicate of this bug. ***
Comment 6 Rober 2018-08-17 09:11:21 UTC
I think it has a problem with two monitors with scaled. 
When I plug both, I can't see 100 % of the window in my laptop and the rightmost monitor (external) in a dual-monitor configuration displays a strip of the leftmost monitor.
But if I work with only one of these (whatever), yakuake works right
Comment 7 waldauf 2018-08-17 13:07:23 UTC
(In reply to rplanchuelo@gmail.com from comment #6)

What you mentioned is right - there is problem with primary screen on laptop where right side of windows is covered by panel (I have it on right side). But cannot see similarity with reported yakuake.
Comment 8 Rober 2018-08-17 17:45:17 UTC
(In reply to waldauf from comment #7)
> (In reply to rplanchuelo@gmail.com from comment #6)
> 
> What you mentioned is right - there is problem with primary screen on laptop
> where right side of windows is covered by panel (I have it on right side).
> But cannot see similarity with reported yakuake.

I think that the problems is the same, maybe when you are working with two scaled monitors (I think so because of comment 3 and 4 from Jim Bartlett, but maybe I'm wrong)
Comment 9 waldauf 2018-08-23 19:54:00 UTC
(In reply to rplanchuelo@gmail.com from comment #8)
> (In reply to waldauf from comment #7)
> > (In reply to rplanchuelo@gmail.com from comment #6)
> > 
> > What you mentioned is right - there is problem with primary screen on laptop
> > where right side of windows is covered by panel (I have it on right side).
> > But cannot see similarity with reported yakuake.
> 
> I think that the problems is the same, maybe when you are working with two
> scaled monitors (I think so because of comment 3 and 4 from Jim Bartlett,
> but maybe I'm wrong)

I didn't read this comment but it sounds logical. We'll see if it will be helpful. :]
Comment 10 Lê Hoàng Phương 2019-10-11 00:05:51 UTC
This bug doesn't happen to me on X11 but on Wayland only.
Comment 11 Rober 2019-10-11 05:34:06 UTC
(In reply to Lê Hoàng Phương from comment #10)
> This bug doesn't happen to me on X11 but on Wayland only.

I use X11 and I have this bug
Comment 12 waldauf 2019-10-11 07:11:16 UTC
I use X11 also and have this problem. 

I'm using dock station where I have connected 2 external LCDs. I set yakuake to run on screen 2 (external LCD) because "on mouse location" doesn't work at all. If I go to some meeting and take laptop from dock station yakuake is switched to screen 1 (laptop's) - that's alright. After resume it to dock station it doesn't remember screen 2 and is running on screen 1. I have to change it manually.
Comment 13 waldauf 2020-01-03 12:17:46 UTC
I found out that now Yakuake doesn't remember screen option which I chose. I set "screen > 2" instead "Mouse location" and after disappearing of the window is set back to "Mouse location". Before yakuake remembered option which I chose until restart. 

I'm using normal scaling and have laptop LCD + LCD2 + LCD2. What I'm trying to set is "screen > 2".
Comment 14 Björn Bidar (Thaodan) 2021-01-11 23:31:57 UTC
I have the same issue using two hdpi (4k) screens.
Yakuake only stays on the left most screen.
Forcing it to the right monitor makes yakuake to try spawn the 2nd monitor with half the size which then blinks and move back on the left screen.
Comment 15 Frederick Zhang 2021-01-11 23:53:57 UTC
Might be a duplicate of Bug 275433? Does the patch there work for you guys as well?
Comment 16 jumax9 2021-10-03 11:58:51 UTC
I can confirm as well. In particular I've noticed Yakuake will spawn in the leftmost monitor regardless of which monitor that one is.
Comment 17 Josesk Volpe 2021-12-24 04:00:43 UTC
It happens to me on Wayland
I don't have this issue (not displaying on secondary monitor) on X11
Comment 18 jumax9 2022-01-15 08:49:56 UTC
(In reply to Josesk Volpe from comment #17)
> It happens to me on Wayland
> I don't have this issue (not displaying on secondary monitor) on X11

Is your secondary monitor to the left or to the right? I have this issue in X11 and for me displays _only_ on the secondary monitor.
Comment 19 Josesk Volpe 2022-01-18 03:26:52 UTC
(In reply to jumax9 from comment #18) 
> Is your secondary monitor to the left or to the right? I have this issue in
> X11 and for me displays _only_ on the secondary monitor.

It's to the left
Comment 20 jumax9 2022-01-18 08:39:47 UTC
And does it display on the primary monitor (which would be to the right) because that's exactly the situation I'm unable to achieve.

Could you let me know what your yakuake and plasma versions are? If we are using the same then there is something wrong with my installation or configuration.

To be more specific, my layout is:

[secondary monitor] [primary monitor]

Yakuake, doesn't matter which option I use (Screen 1, Screen 2 or "At Mouse location"), will only appear in [secondary monitor]. The funny thing is I tried to change the layout and then it appeared only on [primary monitor] hence my comment about only appearing on the leftmost monitor.
Comment 21 Jeremy Whiting 2022-02-14 17:15:47 UTC
Here it sometimes works as expected and other times will only appear if the focus is on the laptop screen. Not on the external display. Changing which display is "primary" doesn't matter here. when in the broken state it will only ever appear on the laptop display.
Comment 22 Josesk Volpe 2022-02-14 17:25:08 UTC
(In reply to jumax9 from comment #20)
> Could you let me know what your yakuake and plasma versions are? If we are
> using the same then there is something wrong with my installation or
> configuration.

Sorry, i'm late
It's not the same version it was when i reported this, but right now, these are my current versions:
Plasma: 5.23.5
Yakuake: 21.12.2
Comment 23 Jeremy Whiting 2022-02-15 01:21:19 UTC
So as a test I moved my panel from being on the left side of my left display to the bottom of my left display. That didn't help, yakuake still refused to show on the right display. But then I rebooted. Now yakuake is happily working on either display again. Not sure if it's related or I just got lucky this time to not hit the broken state this time around...
Comment 24 Jeremy Whiting 2022-02-16 20:55:38 UTC
And rebooted a moment ago, panel still on the bottom of laptop display (on the left of screen on the right) but this time yakuake doesn't appear on second display :( So doesn't seem related to panel placement afterall, just got lucky last boot to have working yakuake.
Comment 25 kinoe 2022-06-18 06:15:37 UTC
I had the same issue using two hdpi screens. Yakuake only showed on the left most screen.
Deleting ~/.config/yakuakerc fixed it.

yakuake 22.04.2
Operating System: Arch Linux
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Kernel Version: 5.18.5-arch1-1 (64-bit)
Graphics Platform: X11
Comment 26 jumax9 2022-06-24 14:13:23 UTC
(In reply to kinoe from comment #25)
> I had the same issue using two hdpi screens. Yakuake only showed on the left
> most screen.
> Deleting ~/.config/yakuakerc fixed it.
> 
> yakuake 22.04.2
> Operating System: Arch Linux
> KDE Plasma Version: 5.25.0
> KDE Frameworks Version: 5.95.0
> Kernel Version: 5.18.5-arch1-1 (64-bit)
> Graphics Platform: X11

Thank you very much! Thanks to you I found what the specific problem is. I have exactly the same configuration as you do, but I'm still getting the same problem.

Now, one of my screens is vertical while the other is in horizontal. If I put them both in horizontal then it does work as expected, but as soon as one of them is in vertical mode, yakuake is limited to the leftmost screen.
Comment 27 Ezike Ebuka 2023-01-22 16:13:11 UTC
(In reply to jumax9 from comment #26)
> (In reply to kinoe from comment #25)
> > I had the same issue using two hdpi screens. Yakuake only showed on the left
> > most screen.
> > Deleting ~/.config/yakuakerc fixed it.
> > 
> > yakuake 22.04.2
> > Operating System: Arch Linux
> > KDE Plasma Version: 5.25.0
> > KDE Frameworks Version: 5.95.0
> > Kernel Version: 5.18.5-arch1-1 (64-bit)
> > Graphics Platform: X11
> 
> Thank you very much! Thanks to you I found what the specific problem is. I
> have exactly the same configuration as you do, but I'm still getting the
> same problem.
> 
> Now, one of my screens is vertical while the other is in horizontal. If I
> put them both in horizontal then it does work as expected, but as soon as
> one of them is in vertical mode, yakuake is limited to the leftmost screen.

I tried to reproduce the bug you are having but not able to, could you check it still occurs on the current version of yakuake ?
Comment 28 Raman Gupta 2023-02-23 05:19:36 UTC
I have the same problem with 3 hidpi screens on Plasma 5.27.0. Yakuake is configured to open at the mouse location, but I can only open it on the left or middle screens. Attempting to open it on the right screen opens it on the middle screen instead.

Deleting `~/.config/yakuakerc ` and restarting yakuake did not fix the problem for me.
Comment 29 Raman Gupta 2023-02-23 05:24:26 UTC
One other detail: when opening on the left monitor, yakuake opens according to my settings: horizontally centered. But when opening on the middle monitor, yakuake opens horizontally left-aligned to screen edge, and when opening on the right monitor, yakuake opens on the middle monitor but horizontally right-aligned to screen edge.
Comment 30 Davide Cavestro 2023-09-12 08:36:53 UTC
I currently reproduce this issue just when stacking monitors vertically: yakuake is not shown on the upmost screen.
Simply rearranging the very same screens on the same baseline it works.

This is how it behaves for me:
---
[secondary OK] [primary OK]
---
[primary OK] [secondary OK]
---
[secondary KO]
[primary OK]
---
[primary KO]
[secondary OK]


I'm pretty sure it worked like a charm until a few weeks ago, though I've not tracked down which specific update introduced the flaw.

yakuake 19.12.3-0ubuntu1
Operating System: Ubuntu 20.04.6 LTS
KDE Plasma Version: 4:5.18.8-0ubuntu0.1
KDE Frameworks Version: 5.68.0-0ubuntu1
Kernel Version: 5.15.0-83-generic (64-bit)
Graphics Platform: X11
Comment 31 Davide Cavestro 2023-09-26 07:10:51 UTC
Switching yakuake to full screen, it works on all monitors even if stacked vertically
Comment 32 Raman Gupta 2023-09-26 12:49:32 UTC
(In reply to Davide Cavestro from comment #31)
> Switching yakuake to full screen, it works on all monitors even if stacked vertically

Using full screen does not fix it for me. Still only shows on 2/3 monitors.
Comment 33 Davide Cavestro 2023-10-27 15:22:34 UTC
(In reply to Raman Gupta from comment #32)
> (In reply to Davide Cavestro from comment #31)
> > Switching yakuake to full screen, it works on all monitors even if stacked vertically
> 
> Using full screen does not fix it for me. Still only shows on 2/3 monitors.

The full screen workaround works just on X for me., while if I switch to wayland the issue persists with no workarounds so far.
Comment 34 Raman Gupta 2023-10-27 19:11:16 UTC
(In reply to Davide Cavestro from comment #33)
> (In reply to Raman Gupta from comment #32)
> > (In reply to Davide Cavestro from comment #31)
> > > Switching yakuake to full screen, it works on all monitors even if stacked vertically
> > 
> > Using full screen does not fix it for me. Still only shows on 2/3 monitors.
> 
> The full screen workaround works just on X for me., while if I switch to
> wayland the issue persists with no workarounds so far.

I think from an earlier message you have 2 monitors right? If so, I guess that would be the difference between your setup and mine.
Comment 35 Raman Gupta 2024-06-27 04:45:03 UTC
My issue is solved by running Yakuake on Wayland. Positioning is correct on all 3 monitors.