Bug 443480 - Global Menu Activation Breaks When Using Two Monitors
Summary: Global Menu Activation Breaks When Using Two Monitors
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu widget (show other bugs)
Version: 5.22.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-08 13:26 UTC by Matt M (gardotd426)
Modified: 2024-09-08 20:52 UTC (History)
4 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 Matt M (gardotd426) 2021-10-08 13:26:51 UTC
SUMMARY

If you use two monitors and have a panel with the Global Menu widget on each monitor, it glitches out to where it will only follow one monitor. For example, if I have Monitor 1 (Primary) and Monitor 2, if I open Dolphin, there will be no Global Menu on Monitor 1. If I move it to Monitor 2, the Global Menu activates on BOTH Monitor 1's panel and Monitor 2's panel. If I move Dolphin back to Monitor 1,   the Global Menu (on both monitors) disappears. If I delete the Global Menu widget and re-add it, it will temporarily work as expected (where the Global Menu activates when the app is on that monitor). 

Actually now that I'm typing this I tried removing the second Global Menu and the first one is still only following monitor 2.

It's hard to explain, so here's a video:
https://youtu.be/LveDjmk34KY


STEPS TO REPRODUCE
1. Have two monitors with a panel on each monitor 
2. Add global menu to the main monitor's panel (or both panels)
3. For a short time it will work as intended, but it always reverts to this behavior at some point (always after a reboot too from what I can tell)

OBSERVED RESULT
Global Menu follows the wrong display


EXPECTED RESULT
Global Menu follows the correct display


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux, kernel 5.14.7
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.87.0 
Qt Version: 5.15.2

*Note: Under the Version drop down on this bug report page, 5.22.5 isn't available. I'm on 5.22.5.
Comment 1 ratijas 2022-09-22 23:29:33 UTC
I guess this bug consists of two parts:

1. Global Menu applet only follows tasks on a screen that its on (not a bug but a feature, see BUG 420418 for more).
2. Global Menu does not always reset properly after switching to another virtual desktop / monitor / activity etc. Hopefully, this part is going to be fixed by https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2157