Bug 433292 - Shortcut keys to enter panel edit mode are not working
Summary: Shortcut keys to enter panel edit mode are not working
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.1.5
Platform: unspecified Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
: 493218 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-02-20 07:06 UTC by Andrei Amuraritei
Modified: 2025-01-30 16:18 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Amuraritei 2021-02-20 07:06:06 UTC
SUMMARY
Right clicking the panel shows press Edit Panel ALT+D, ALT+S but that doesn't work as intended.

STEPS TO REPRODUCE
1. Press ALT+D, ALT+S ; should make Plasma go into Edit Panel mode
2. Right click panel, get popup menu, press ALT+D, ALT+S ; should make Plasma go into Edit Panel mode
3. 

OBSERVED RESULT
Plasma not going into Edit Panel mode, seems like pressing ALT+D is registered and does nothing, then pressing ALT+S shows the Alternative Widgets window to replace the Icon only task manager (if I right click on middle of panel for example)

EXPECTED RESULT
Plasma goes into edit panel mode, where you can  adjust Panel screen position or panel height etc

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20210217
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.16-1-default
OS Type: 64-bit
Graphics Platform: X11
Nvidia driver: 460.39

ADDITIONAL INFORMATION
Maybe I don't understand how the shortcuts should work. But they seem not to work correctly (or consistently) across all the Panel and it's Widgets (icon only task manager, system trays, digital clock etc)

For example, the combo: ALT+D, ALT+S doesn't seem to work, but the one for Add Widgets action: ALT+D, A - works.

How I tried is to right click the panel in various places and press the shortcut keys displayed on the menu for the various Actions.
Comment 1 Nate Graham 2021-02-22 23:44:31 UTC
Confirmed.
Comment 2 Nate Graham 2024-09-16 17:33:48 UTC
*** Bug 493218 has been marked as a duplicate of this bug. ***
Comment 3 reports_go_brrr 2024-09-16 17:43:03 UTC
Can reproduce this on X11 and Wayland.

Operating System: EndeavourOS
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.9-arch1-2 (64-bit)
Graphics Platform: X11
Comment 4 Efe Ciftci 2024-09-16 17:50:13 UTC
Confirmed on up-to-date KDE neon on X11 (Plasma 6.1.5, Frameworks 6.5) as well.

I think the reason the panel shortcuts don’t work is that we can’t shift focus to the panel itself. For example, when I click on the desktop, I can use "Alt+D, E" to enter edit mode or "Alt+D, Alt+S" to enter desktop settings because the focus moves from the active window to the desktop upon the click. However, this doesn’t happen with panels; clicking on a panel doesn’t shift the focus away from the active window, which is why the panel shortcuts don’t work.
Comment 5 Bug Janitor Service 2025-01-28 19:02:04 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/print-manager/-/merge_requests/223
Comment 6 Bug Janitor Service 2025-01-28 19:02:26 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/316
Comment 7 Bug Janitor Service 2025-01-28 19:02:52 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/499
Comment 8 Bug Janitor Service 2025-01-28 19:03:16 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/411
Comment 9 Bug Janitor Service 2025-01-28 19:04:44 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5129
Comment 10 Bug Janitor Service 2025-01-28 19:10:35 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libplasma/-/merge_requests/1253
Comment 11 Bug Janitor Service 2025-01-28 19:11:22 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2760
Comment 12 Nate Graham 2025-01-28 21:04:34 UTC
Git commit bab5b41905d3c5a833f67e223791103890850658 by Nate Graham.
Committed on 28/01/2025 at 20:59.
Pushed by ngraham into branch 'master'.

applets/batterymonitor: remove broken chord keyboard shortcut

This fundamentally doesn't work since multiple widgets set the same
shortcut, and all can be in the same focus group.

Part of https://invent.kde.org/plasma/plasma-workspace/-/issues/148.
Related: bug 433841

M  +0    -1    applets/batterymonitor/package/contents/ui/main.qml

https://invent.kde.org/plasma/powerdevil/-/commit/bab5b41905d3c5a833f67e223791103890850658
Comment 13 Nate Graham 2025-01-28 22:32:44 UTC
Git commit 6a9022fae183360c3c1e6e2b8027ce52720d403c by Nate Graham.
Committed on 28/01/2025 at 19:04.
Pushed by ngraham into branch 'master'.

Remove broken and unneeded chord keyboard shortcuts

This fundamentally doesn't work since multiple widgets set the same
shortcut, and all can be in the same focus group. And the Activity
Switcher already has a better global-scope Meta+Q shortcut anyway.

Part of https://invent.kde.org/plasma/plasma-workspace/-/issues/148.
Related: bug 433841

M  +0    -1    applets/clipboard/contents/ui/main.qml
M  +0    -1    applets/devicenotifier/package/contents/ui/main.qml
M  +0    -1    shell/shellcorona.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/6a9022fae183360c3c1e6e2b8027ce52720d403c
Comment 14 Nate Graham 2025-01-28 22:32:46 UTC
Git commit 2b9b93a3fbf9c46c947654d3a26da2f28874dc89 by Nate Graham.
Committed on 28/01/2025 at 18:57.
Pushed by ngraham into branch 'master'.

applet: remove broken chord keyboard shortcut

This fundamentally doesn't work since multiple widgets set the same
shortcut, and all can be in the same focus group.

Part of https://invent.kde.org/plasma/plasma-workspace/-/issues/148.
Related: bug 433841

M  +0    -1    applet/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-nm/-/commit/2b9b93a3fbf9c46c947654d3a26da2f28874dc89
Comment 15 Nate Graham 2025-01-28 22:33:11 UTC
Git commit 73d17bd7bfa080f236d158f60923346afb24f8d9 by Nate Graham.
Committed on 28/01/2025 at 18:57.
Pushed by ngraham into branch 'master'.

applet: remove broken chord keyboard shortcut

This fundamentally doesn't work since multiple widgets set the same
shortcut, and all can be in the same focus group.

Part of https://invent.kde.org/plasma/plasma-workspace/-/issues/148.
Related: bug 433841

M  +0    -1    applet/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-pa/-/commit/73d17bd7bfa080f236d158f60923346afb24f8d9
Comment 16 Nate Graham 2025-01-28 22:33:25 UTC
Git commit 1d08d1592a530c364d113c5cb06b9c8cb3be3d53 by Nate Graham.
Committed on 28/01/2025 at 18:59.
Pushed by ngraham into branch 'master'.

Remove chord keyboard shortcuts

Don't set chord keyboard shortcuts on widgets and containments. For
widgets, it won't work anyway since the shortcuts will conflict when
widgets inhabit the same parent container (which is almost always). For
containments, users can't figure out what these shortcuts are and how
they work, so they're largely useless visual noise anyway.

Part of https://invent.kde.org/plasma/plasma-workspace/-/issues/148.
Related: bug 433841

M  +0    -1    src/plasma/corona.cpp
M  +0    -2    src/plasma/private/applet_p.cpp
M  +0    -3    src/plasma/private/containment_p.cpp

https://invent.kde.org/plasma/libplasma/-/commit/1d08d1592a530c364d113c5cb06b9c8cb3be3d53
Comment 17 Nate Graham 2025-01-28 22:42:35 UTC
Git commit aa53fc92b798dd0f1689a95daf3ab0a4678fdf0d by Nate Graham.
Committed on 28/01/2025 at 18:58.
Pushed by ngraham into branch 'master'.

plasmoid: remove broken chord keyboard shortcut

This fundamentally doesn't work since multiple widgets set the same
shortcut, and all can be in the same focus group.

Part of https://invent.kde.org/plasma/plasma-workspace/-/issues/148.
Related: bug 433841

M  +0    -1    src/plasmoid/package/contents/ui/main.qml

https://invent.kde.org/plasma/print-manager/-/commit/aa53fc92b798dd0f1689a95daf3ab0a4678fdf0d
Comment 18 Nate Graham 2025-01-30 16:16:59 UTC
Git commit 7e7523ad6e8333a58b14d94d81d00fe09ec55c14 by Nate Graham.
Committed on 30/01/2025 at 16:16.
Pushed by ngraham into branch 'master'.

desktop: Replace chord keyboard shortcut with something comprehensible

The desktop currently has a local-scoped shortcut to open the config
window. This is odd, but because the desktop isn't global (there can be
multiple desktops), in principle is can make sense for keyboard
accessibility.

Unfortunately it uses a chord shortcut, which users don't understand.
Replace it with a normal-style shortcut.

Part of https://invent.kde.org/plasma/plasma-workspace/-/issues/148.
Related: bug 433841

M  +2    -2    appiumtests/desktop/desktoptest.py
M  +1    -1    containments/desktop/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/7e7523ad6e8333a58b14d94d81d00fe09ec55c14
Comment 19 Nate Graham 2025-01-30 16:18:31 UTC
The shortcut has been removed since a local keyboard shortcut like this conceptually can't work the way people expect it to.