Bug 458615 - Window frame is shown as inactive after input of shortcut
Summary: Window frame is shown as inactive after input of shortcut
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keys (show other bugs)
Version: 5.25.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-01 20:17 UTC by Frank Steinmetzger
Modified: 2022-09-03 14:33 UTC (History)
3 users (show)

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


Attachments
Screen capture of the issue (128.32 KB, video/x-matroska)
2022-09-01 20:19 UTC, Frank Steinmetzger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Steinmetzger 2022-09-01 20:17:52 UTC
SUMMARY
Whenever I configure a custom shortcut in KDE, be it in system settings, the menu editor or an application’s own shortcuts, afterwards the window which contains the shortcut settings is drawn as if it were inactive. I need to switch focus away from it and back for the frame to be drawn as active again. It could be a kwin bug, but I suspect something in the shortcut assignment logic creates an invisible window to catch input and then does not return the original window to its original state.

STEPS TO REPRODUCE
1. Open any shortcut setting dialog
2. Enter a new custom keyboard shortcut

OBSERVED RESULT
The window frame colour changes to inactive.

EXPECTED RESULT
The colour should not change.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.4
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5
Kernel Version: 5.19.3-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-4590 CPU @ 3.30GHz
Memory: 30.8 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4600
Manufacturer: MSI
Comment 1 Frank Steinmetzger 2022-09-01 20:19:16 UTC
Created attachment 151773 [details]
Screen capture of the issue

Oops, forgot to select a file to attach in the OP.
Comment 2 David Redondo 2022-09-02 07:25:15 UTC
Could be related to 457808
Comment 3 David Redondo 2022-09-02 07:29:15 UTC
If one enters a new shortcut, the decoration is drawn as active again
Comment 4 Nate Graham 2022-09-02 18:40:55 UTC
Cannot reproduce on Wayland.

Does this happens in other windows that use the same shortcut picker, such as the config dialogs for Plasma widgets?
Comment 5 Frank Steinmetzger 2022-09-03 14:33:21 UTC
(In reply to Nate Graham from comment #4)

> Cannot reproduce on Wayland.

I’m on X11. ;-) One of my devices runs on Wayland, because it has a touch screen. I can’t reproduce it there, either.

> Does this happens in other windows that use the same shortcut picker, such
> as the config dialogs for Plasma widgets?

I tried it in three places: system settings, menu editor (through right click on the „start menu“) and in Dolphin→Configure shortcuts.