Bug 423325 - Modifier-only Meta key shortcut for opening Kickoff breaks a lot
Summary: Modifier-only Meta key shortcut for opening Kickoff breaks a lot
Status: RESOLVED DUPLICATE of bug 391322
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.19.2
Platform: Other Linux
: VHI normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2020-06-21 15:39 UTC by Nate Graham
Modified: 2020-07-11 07:45 UTC (History)
2 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 Nate Graham 2020-06-21 15:39:00 UTC
Everything KDE from git master with Qt 5.15.0 on top of openSUSE Tumbleweed.

Periodically, the meta key stops opening Kickoff. Kickoff has the Alt+F1 shortcut bound to it, but hitting the meta key does not open it. 


Looking in my ~/config/.kwinrc file, it does not contain a [ModifierOnlyShortcuts] group. Manually adding the following:

[ModifierOnlyShortcuts]
Meta=activateLauncherMenu

...And then running `qdbus org.kde.KWin /KWin reconfigure` does not resolve the issue.

If I remove the Alt+F1 shortcut from kickoff using the config window and then re-add it, nothing changes; the kwinrc file is not updated and hitting the Meta key still does not open the menu.

I've heard a lot of complaints about this on social media recently and have intermittently experienced it myself for the past month or so. Oddly, it seems to fix itself after a day or two, so maybe there's some race condition somewhere.
Comment 1 Nate Graham 2020-06-22 14:19:27 UTC
This is reproducible for me on 5.19 as well as git master, BTW.
Comment 2 Nate Graham 2020-06-23 15:48:35 UTC
I was manually adding the wrong string. You actually need to add this:

[ModifierOnlyShortcuts]
Meta=org.kde.plasmashell,/PlasmaShell,org.kde.PlasmaShell,activateLauncherMenu

...And now it works. Also, removing that whole section now also works. So I can't reproduce the bug anymore.

Will re-open if I get a reproducible case that's not based on config file misconfiguration the next time it breaks.
Comment 3 Nate Graham 2020-06-25 00:45:51 UTC
I just helped a user troubleshoot this on Plasma 5.19.2. She was experiencing this issue her kwinrc file did not have a [ModifierOnlyShortcuts] entry. The Meta key shortcut did not work to launch Kickoff.

It started working after I advised her to add the following to the file:

[ModifierOnlyShortcuts]
Meta=org.kde.plasmashell,/PlasmaShell,org.kde.PlasmaShell,activateLauncherMenu

In options.cpp, this is the value that gets assigned to Meta by default if there is nothing set in the config file. Seems like that's not working, or the code that calls is isn't getting run somehow?
Comment 4 Nate Graham 2020-07-10 19:19:29 UTC
Now I'm in a broken state again myself. :( I can debug with instructions.
Comment 5 Nate Graham 2020-07-10 20:46:08 UTC
my kwinrc file currently includes the following:

[ModifierOnlyShortcuts]
Meta=org.kde.plasmashell,/PlasmaShell,org.kde.PlasmaShell,activateLauncherMenu

yet it's still not working.
Comment 6 Nate Graham 2020-07-10 20:47:32 UTC
Restarting KWin has no effect; it's still broken.

After I remove that section and restart KWin, the shortcut starts working again.

Re-adding it and restarting KWin yet another time has no further effect and it still works.

Something odd is going on here...
Comment 7 Christoph Feck 2020-07-11 07:45:34 UTC

*** This bug has been marked as a duplicate of bug 391322 ***