Bug 477193 - When adding a widget by dragging, Plasma Widget Explorer de-focuses without closing, making it impossible to close with the Esc key or by de-focusing normally
Summary: When adding a widget by dragging, Plasma Widget Explorer de-focuses without c...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Widget Explorer sidebar (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6, wayland-only
Depends on:
Blocks:
 
Reported: 2023-11-18 15:42 UTC by rsi.dev17
Modified: 2024-09-19 03:47 UTC (History)
3 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 rsi.dev17 2023-11-18 15:42:17 UTC
SUMMARY
Plasma Widget Explorer doesn't close on key press or right click just after a widget has been added

STEPS TO REPRODUCE
1: Open plasma widget drawer
2: Add a widget to your plasma-shell 
3: Try to close the drawer by pressing Escape key or clicking
out of focus area.
4: The drawer only closes after manual focusing.

OBSERVED RESULT
Widget Explorer does not close on pressing escape key or left click. 

EXPECTED RESULT
Widget Explorer should close on pressing escape key or left click. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.81.80 
KDE Frameworks Version: 5.242
Qt Version: 6.6.0

ADDITIONAL INFORMATION
Video Link: https://youtu.be/vnQOEMHKAZs
I want to work on this and would be grateful if someone can point me towards the probable solution : )
Comment 1 Nate Graham 2023-11-26 16:55:44 UTC
I can only reproduce when focus has been removed from the Widget Explorer by clicking somewhere else after adding a widget, or when adding a widget by dragging. In these cases, the Widget Explorer loses focus and can't be closed with the Esc key or by clicking elsewhere.
Comment 2 rsi.dev17 2023-11-26 20:20:42 UTC
I prefer the drag and drop to add a widget as imo it is the most natural way to add a widget, we should do something so that focus remains on the widget explorer window even after dragging and dropping a widget.
Comment 3 Niccolò Venerandi 2024-08-20 08:06:13 UTC
I cannot reproduce this anymore. It seems like this has been fixed. May I ask either you or Nate to double check if you're still able to reproduce this in the latest Plasma version / master?
Comment 4 Bug Janitor Service 2024-09-04 03:47:15 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 5 Bug Janitor Service 2024-09-19 03:47:05 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.