Bug 508725 - Locking the session doesn't close Application Menu popup
Summary: Locking the session doesn't close Application Menu popup
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (other bugs)
Version First Reported In: 6.4.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-25 17:09 UTC by Fernando Marcelino Muniz
Modified: 2025-12-17 15:30 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Marcelino Muniz 2025-08-25 17:09:11 UTC
STEPS TO REPRODUCE
Lock the session through the the Application Menu.

OBSERVED RESULT
It can randomly stay open after unlocking the session.

EXPECTED RESULT
Consistent behavior, either always close or always remain open.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: NVIDIA GeForce GTX 1650
Graphics Processor 2: Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6
Comment 1 Nate Graham 2025-08-26 20:04:31 UTC
Can reproduce. Kickoff is affected, too.
Comment 2 cwo 2025-12-01 13:42:53 UTC
Can you confirm that this actually applies to Application Menu/kicker? If so, is it from the Power / Session menu entry, or from a sidebar favorite lock icon, or from something else (maybe some context menu somewhere)?

Everything in kicker should already close when clicked, but I may have missed some condition.

In Application Launcher/kickoff, I can reproduce it and have a fix, but not in Application Menu/kicker.
Comment 3 Bug Janitor Service 2025-12-01 13:45:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3356
Comment 4 cwo 2025-12-02 17:21:43 UTC
Git commit 04c747a41d8c01248c7baeec5c852c2298f76fc3 by Christoph Wolk.
Committed on 02/12/2025 at 16:50.
Pushed by cwo into branch 'master'.

applets/kickoff: also close when triggering from footer menu

Kickoff already closes when one of the power/session buttons from the
menu is pressed, but the same does not happen if the same action is
shown in the overflow menu.

Instead, also close kickoff in that case.

M  +6    -1    applets/kickoff/LeaveButtons.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/04c747a41d8c01248c7baeec5c852c2298f76fc3
Comment 5 Bug Janitor Service 2025-12-17 03:46:13 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Fernando Marcelino Muniz 2025-12-17 15:16:57 UTC
Why was this marked as "Needs Info"? Marked as "Resolved > Fixed".
Comment 7 cwo 2025-12-17 15:27:20 UTC
(In reply to Fernando M. Muniz from comment #6)
> Why was this marked as "Needs Info"? Marked as "Resolved > Fixed".

It was marked as NEEDSINFO because you filed it for Application Menu (also known as kicker), and Nate confirmed that it also happens in Application Launcher (also known as kickoff). I fixed it in Application Launcher, but could not reproduce it in Application Menu.  That's why I asked in comment #2 whether this report actually applied to Application Menu, or if you filed it under the wrong component.  You did not respond, so I didn't have the fix for Application Launcher automatically close this report for Application Menu.
Comment 8 Fernando Marcelino Muniz 2025-12-17 15:30:01 UTC
I see. I probably filed the bug in the wrong component.