Bug 510133 - "Single button" Global menu widget stops opening once used until another program is focused
Summary: "Single button" Global menu widget stops opening once used until another prog...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Menu widget (other bugs)
Version First Reported In: 6.4.5
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-01 16:23 UTC by Samuele
Modified: 2025-10-19 07:30 UTC (History)
7 users (show)

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


Attachments
Screencast of the button not working in some cases (478.12 KB, video/mp4)
2025-10-01 16:23 UTC, Samuele
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuele 2025-10-01 16:23:56 UTC
Created attachment 185430 [details]
Screencast of the button not working in some cases

SUMMARY
When set as a single button, the Global menu widget, once clicked, enters in a strange state where if no other program is focused it cannot be opened again.

STEPS TO REPRODUCE
1. Place a Global menu widget on a panel
2. Set the Global menu widget to be single button
3. Focus a program which provides a menu
4. Open the Global menu widget
5. Click anywhere (select a menu entry or click outside of the widget) to get the widget to close
6. Try opening again the widget
7. Focus another program
8. Go back to the original program and try opening the widget

OBSERVED RESULT
Once the single button Global menu widget is opened and closed, it stops working until another program is focused: opening it becomes impossible.

EXPECTED RESULT
The widget should still work after being used one time without needing to focus another program.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.8-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-2400 CPU @ 3.10GHz
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor: llvmpipe
Manufacturer: LENOVO
Product Name: 7052A9G
System Version: ThinkCentre M91p
Comment 1 TraceyC 2025-10-01 19:26:47 UTC
I can reproduce this in git-master
Comment 2 Eugene San 2025-10-19 07:23:39 UTC
I can confirm the issue.

Somewhere between 6.3.6 and 6.4.5, Global Menu widget stopped working properly in a single button mode (CompactView).
It fails to open menu more than once per window.
Switching to another window and back, allows it to show the menu but only once.

To reproduce:
1. Add the widget to the panel
2. Configure widget to use single button
3. Start any KDE program
4. Press menu icon once, menu appears
5. Press menu icon again, nothing happens
6. Switch to any other window and back
7. Press menu icon once, menu appears
8. Press menu icon again, nothing happens

Expected behavior:
Menu button should work more than once

Issue found on Kubuntu 25.10 (Plasma 6.4.5) and confirmed on KDE Linux 2025019 (Plasma git)

Kubuntu 25.04 (Plasma 6.3.4) and Debian 13 (Plasma 6.3.6) are not affected.
Comment 3 Eugene San 2025-10-19 07:30:28 UTC
P.S. (In reply to Eugene San from comment #2)
> I can confirm the issue.
> 
> Somewhere between 6.3.6 and 6.4.5, Global Menu widget stopped working
> properly in a single button mode (CompactView).
> It fails to open menu more than once per window.
> Switching to another window and back, allows it to show the menu but only
> once.
> 
> To reproduce:
> 1. Add the widget to the panel
> 2. Configure widget to use single button
> 3. Start any KDE program
> 4. Press menu icon once, menu appears
> 5. Press menu icon again, nothing happens
> 6. Switch to any other window and back
> 7. Press menu icon once, menu appears
> 8. Press menu icon again, nothing happens
> 
> Expected behavior:
> Menu button should work more than once
> 
> Issue found on Kubuntu 25.10 (Plasma 6.4.5) and confirmed on KDE Linux
> 2025019 (Plasma git)
> 
> Kubuntu 25.04 (Plasma 6.3.4) and Debian 13 (Plasma 6.3.6) are not affected.

Both Wayland and X11 sessions are affected.