Bug 463530 - Notes applet in panel: context menu can't be closed by clicking anywhere, only by pressing ESC.
Summary: Notes applet in panel: context menu can't be closed by clicking anywhere, onl...
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: notes (show other bugs)
Version: 5.26.4
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2022-12-27 20:52 UTC by mrfrh
Modified: 2023-01-01 22:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.26.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mrfrh 2022-12-27 20:52:26 UTC
SUMMARY
Usually, a context menu (right click) is closed when the user clicks into an empty space next to it. This is not the case when the notes applet is part of the kde panel (notes symbol in the panel that expands when clicking on it). In this case, the context menu can only be closed by pressing ESC key.

STEPS TO REPRODUCE
1. add the notes applet to the panel
2. open the context menu
3. try to close the context menu by clicking anywhere inside the notes applet

OBSERVED RESULT
the context menu does not close (as expected). it can only be closed by pressing ESC key.

EXPECTED RESULT
the context menu should close when clicking on an empty space of the notes applet.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2023-01-01 17:35:55 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/306
Comment 2 Nate Graham 2023-01-01 22:50:34 UTC
Git commit d8c1477a6b7fe8bbf994cfb8220d1074b000de8a by Nate Graham, on behalf of Martin Frueh.
Committed on 01/01/2023 at 22:50.
Pushed by ngraham into branch 'master'.

applets/notes: Close context menu on left click

When the notes applet is part of the panel (and expanded by left click), the
context menu of the notes applet can only be closed by pressing `ESC`, not by
left-clicking anywhere. This commit fixes that.
FIXED-IN: 5.26.5

M  +5    -0    applets/notes/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/commit/d8c1477a6b7fe8bbf994cfb8220d1074b000de8a
Comment 3 Nate Graham 2023-01-01 22:51:00 UTC
Git commit 24fe2c7e419525f6b286208fb61954fc6268c712 by Nate Graham, on behalf of Martin Frueh.
Committed on 01/01/2023 at 22:50.
Pushed by ngraham into branch 'cherry-pick-11d4f1ab'.

Close context menu with left click

(cherry picked from commit 11d4f1abca9e8e45499c3894eeb7520c9168b59e)

M  +5    -0    applets/notes/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/commit/24fe2c7e419525f6b286208fb61954fc6268c712
Comment 4 Nate Graham 2023-01-01 22:51:47 UTC
Git commit fb5e0a87c8ee7addc334ecb3fa3c086afb6e763a by Nate Graham, on behalf of Martin Frueh.
Committed on 01/01/2023 at 22:51.
Pushed by ngraham into branch 'cherry-pick-d8c1477a'.

applets/notes: Close context menu on left click

When the notes applet is part of the panel (and expanded by left click), the
context menu of the notes applet can only be closed by pressing `ESC`, not by
left-clicking anywhere. This commit fixes that.
FIXED-IN: 5.26.5


(cherry picked from commit d8c1477a6b7fe8bbf994cfb8220d1074b000de8a)

M  +5    -0    applets/notes/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/commit/fb5e0a87c8ee7addc334ecb3fa3c086afb6e763a