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
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.
I can reproduce both issues. They affect all panel pop-ups, not just the tray.
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.
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.