Bug 454918 - Overview gets toggled with just 'Meta', even though the shortcut is set to 'Meta + W'
Summary: Overview gets toggled with just 'Meta', even though the shortcut is set to 'M...
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (show other bugs)
Version: 5.24.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-06 06:12 UTC by poperigby
Modified: 2022-06-07 01:00 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 poperigby 2022-06-06 06:12:02 UTC
SUMMARY
I have the shortcut for `Toggle Overview` set to `Meta + W` (the default) in `Shortcuts -> Kwin`. I can toggle overview with this shortcut, but overview is also toggling with just `Meta`.


STEPS TO REPRODUCE
1. Press `Meta`

OBSERVED RESULT
Overview is toggled.

EXPECTED RESULT
Overview isn't toggled.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Kernel Version: 5.18.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Comment 1 Nate Graham 2022-06-06 18:38:30 UTC
Please paste the output of `grep -i modifier ~/.config/kwinrc`
Comment 2 poperigby 2022-06-06 19:00:08 UTC
(In reply to Nate Graham from comment #1)
> Please paste the output of `grep -i modifier ~/.config/kwinrc`

Here you go:

    [ModifierOnlyShortcuts]
Comment 3 Nate Graham 2022-06-06 19:13:40 UTC
haha wrong command, sorry. How about this one:

grep -A 3 -i modifier ~/.config/kwinrc
Comment 4 poperigby 2022-06-06 19:21:08 UTC
(In reply to Nate Graham from comment #3)
> haha wrong command, sorry. How about this one:
> 
> grep -A 3 -i modifier ~/.config/kwinrc

No worries :)

[ModifierOnlyShortcuts]
Meta=org.kde.kglobalaccel,/component/kwin,org.kde.kglobalaccel.Component,invokeShortcut,Overview
Comment 5 Nate Graham 2022-06-06 19:26:12 UTC
I had a feeling. You or someone/something else manually added those lines to the kwinrc file, and they make the Overview open when the Meta key is pressed. To make it stop doing that, remove those lines.
Comment 6 poperigby 2022-06-06 19:54:25 UTC
(In reply to Nate Graham from comment #5)
> I had a feeling. You or someone/something else manually added those lines to
> the kwinrc file, and they make the Overview open when the Meta key is
> pressed. To make it stop doing that, remove those lines.

That fixes it, thanks! The weird thing is, I definitely never manually edited that, and I'm not sure what would have changed it.
Comment 7 Nate Graham 2022-06-06 20:23:38 UTC
You may not have, but it's possible a piece of software on your system did it automatically. Regardless, we don't do this in KDE code, so it's not a KDE bug. :)
Comment 8 poperigby 2022-06-07 00:59:54 UTC
(In reply to Nate Graham from comment #7)
> You may not have, but it's possible a piece of software on your system did
> it automatically. Regardless, we don't do this in KDE code, so it's not a
> KDE bug. :)

Okay. Thanks so much for the help!
Comment 9 Nate Graham 2022-06-07 01:00:40 UTC
You're welcome!