https://bugs.kde.org/show_bug.cgi?id=482058
Bug ID: 482058
Summary: Keyboard Layout widget steals focus
Classification: Plasma
Product: plasmashell
Version: master
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: Keyboard Layout
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
Created attachment 166205
--> https://bugs.kde.org/attachment.cgi?id=166205&action=edit
keyboardlayout-focus.patch
SUMMARY
When Keyboard Layout widget is on the panel, it steals focus from the current
app on layout change. Both by hotkey or mouse click.
STEPS TO REPRODUCE
1. Add "Keyboard Layout" widget on the panel.
2. Focus a text field in any app.
3. Switch layout.
OBSERVED RESULT
Widget (panel) steals focus from the app.
EXPECTED RESULT
Focues should remain in the current app / text field.
SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
ADDITIONAL INFORMATION
I actually managed to workaround it by editing 'main.qml' file of the applet.
Removing 'onLayoutChanged' function fixes the issue. The patch is attached.
I don't know why this function exists and why such widget ever need to
"activate" itself on layout change, but for me it works just fine without it.
--
You are receiving this mail because:
You are watching all bug changes.