Bug 507761 - Panel popups do not collapse on losing focus by clicking on empty area of the panel or by closing windows
Summary: Panel popups do not collapse on losing focus by clicking on empty area of the...
Status: REOPENED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 6.4.3
Platform: Neon Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-01 21:27 UTC by kdetester
Modified: 2025-09-07 06:40 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kdetester 2025-08-01 21:27:34 UTC
SUMMARY
After clicking on System try "Up" like arrow to see "Stats and Notifications" popup, the popup does not close/collapse automatically in 2 cases.

STEPS TO REPRODUCE
Case 1:
1. Click on "Up" arrow on panel to expand system tray.
2. Click on the empty area on the panel.
3. Notice the expanded system tray does not close.

Case 2:
1. Open dolphin.
2. Click on "Up" arrow on panel to expand system tray.
3. Click on the minimize or close button of the dolphin.
4. Notice the expanded system tray does not close.

Whereas, in case 2, when restore button is clicked in step 3, the system tray collapse as expected.

OBSERVED RESULT
The expanded system tray does not collapse on loosing focus.

EXPECTED RESULT
The expanded system tray should collapse due to loosing focus.

SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Comment 1 Cagdas ALAGOZ 2025-08-03 06:14:42 UTC
I can't reproduce this on KDE neon unstable. Only case it's closed automatically is when I click something else on the panel.
Minimizing dolphin or clicking on the empty area does not cause it to close.
Comment 2 Nate Graham 2025-08-08 17:17:19 UTC
I can reproduce both issues. They affect all panel pop-ups, not just the tray.
Comment 3 Niccolò Venerandi 2025-08-22 09:32:50 UTC
I'm not convinced either one of these is a bug.

So far we've always allowed the user to interact with the panel without its applet closing, this is a specific exception that we make in the code. We can always debate it further, but I'd say right now it's intentional.

Regarding dolphin, since minimizing a window or closing it does not move focus away from the current window, the popup is correct in not hiding, since it still has focus. I'm convinced that this is fully intentional.

I'm closing this as intentional right now, but I'm open to discussion if you feel that this is incorrect.
Comment 4 kdetester 2025-09-07 06:40:46 UTC
Most panel applets (clipboard, brightness, etc.) have "Pin" button, even KDE start menu has "Pin" button.

I believe the Pin button must be used if user wants to keep it open; otherwise the opened applet must close when clicking somewhere else (i.e. losing focus). This is very basic idea user has about how focus works in general.