Summary: | Keyboard layout widget has no icon, doesn't respond to click and opens the widget on login | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Riccardo Robecchi <sephiroth_pk> |
Component: | Keyboard Layout | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | butirsky, Dr, notmart, zawertun, zrenfire |
Priority: | NOR | Keywords: | regression |
Version: | 5.22.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=434713 https://bugs.kde.org/show_bug.cgi?id=438496 https://bugs.kde.org/show_bug.cgi?id=441239 |
||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/bc1e9920115b7cf6eae78db3a4ce82f2c4f48d5c | Version Fixed In: | Plasma/5.22.3 |
Sentry Crash Report: | |||
Attachments: |
Screenshot of the widget
New screenshot under Plasma 5.22.1 plasma-org.kde.plasma.desktop-appletsrc plasma-org.kde.plasma.desktop-appletsrc |
Looks like layout applet's shortcut somehow got triggered, assuming you have set one. Try to unset it in applet's settings and please report if it helps. You can set the shortcut in Keyboard KCM instead. (In reply to Andrey from comment #1) > Looks like layout applet's shortcut somehow got triggered, assuming you have > set one. > Try to unset it in applet's settings and please report if it helps. > You can set the shortcut in Keyboard KCM instead. I did set a shortcut, but it was in the KCM. I un-set it and then set it back again and the bug appears not to appear anymore. Thank you for your help, Andrey! Is this a symptom that something wasn't quite right with my configuration or is it an issue with the applet itself? The circumstances how it happened for you is still not clear to me. The only reason I'm aware of is bug 434713. Let us know if it appear again somehow. Meanwhile, I'm marking it as duplicate. Cheers! *** This bug has been marked as a duplicate of bug 434713 *** I am reopening the bug as it does not seem to be related, after all. After the update to Plasma 5.22.1, I experienced again the same error. The thing is, this time around I have no keyboard shortcut set (as you can see from the attached screenshot). No widget-specific keyboard shortcut (right-click → options → keyboard shortcut) has ever been set. This therefore completely excludes the relation to bug 434713. Created attachment 139345 [details]
New screenshot under Plasma 5.22.1
Could you create new user and retest with minimal configuration changes from the default? (In reply to Riccardo Robecchi from comment #4) > I am reopening the bug as it does not seem to be related, after all. After > the update to Plasma 5.22.1, I experienced again the same error. The thing > is, this time around I have no keyboard shortcut set (as you can see from > the attached screenshot). No widget-specific keyboard shortcut (right-click > → options → keyboard shortcut) has ever been set. This therefore completely > excludes the relation to bug 434713. Please check your /home/%user_name%/.config/plasma-org.kde.plasma.desktop-appletsrc for string with shortcut for layoutswitcher widget and let know if is present. Created attachment 139354 [details] plasma-org.kde.plasma.desktop-appletsrc (In reply to Driglu4it from comment #7) > (In reply to Riccardo Robecchi from comment #4) > > I am reopening the bug as it does not seem to be related, after all. After > > the update to Plasma 5.22.1, I experienced again the same error. The thing > > is, this time around I have no keyboard shortcut set (as you can see from > > the attached screenshot). No widget-specific keyboard shortcut (right-click > > → options → keyboard shortcut) has ever been set. This therefore completely > > excludes the relation to bug 434713. > > Please check your > /home/%user_name%/.config/plasma-org.kde.plasma.desktop-appletsrc for string > with shortcut for layoutswitcher widget and let know if is present. Nothing turns out. You can find the file attached. (In reply to Andrey from comment #6) > Could you create new user and retest with minimal configuration changes from > the default? I will do this as soon as possible. I'm able to reproduce this bug after doing this steps: 1. Click "Configure System Tray..."; 2. On "General" tab change "Panel icon size" to "Scale with Panel height" and apply new settings; 3. Execute `plasmashell --replace &` in the console; 4. Watch how keyboard layout applet got activated after plasma restart. Looks like on my PC bug appeared after update to plasma-5.22.1. P.S. I've using plasma with X11 window system. Marco, do you have idea what can activate the applet on login? (In reply to Yaroslav Sidlovsky from comment #9) > I'm able to reproduce this bug after doing this steps: > 1. Click "Configure System Tray..."; > 2. On "General" tab change "Panel icon size" to "Scale with Panel height" > and apply new settings; > 3. Execute `plasmashell --replace &` in the console; > 4. Watch how keyboard layout applet got activated after plasma restart. > > Looks like on my PC bug appeared after update to plasma-5.22.1. I can confirm this behaviour on my install. I selected "Panel icon size → small" and the widget started behaving normally again. Created attachment 139494 [details]
plasma-org.kde.plasma.desktop-appletsrc
This bug can be reproduced with this config file.
Just copy it to ~/.config and replace old one. Don't forget to do backup.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/513 (In reply to Yaroslav Sidlovsky from comment #9) > I'm able to reproduce this bug after doing this steps: > 1. Click "Configure System Tray..."; > 2. On "General" tab change "Panel icon size" to "Scale with Panel height" > and apply new settings; > 3. Execute `plasmashell --replace &` in the console; > 4. Watch how keyboard layout applet got activated after plasma restart. > > Looks like on my PC bug appeared after update to plasma-5.22.1. To make it reproducible, one probably need to hide some icons from systray also. In my case, following was enough in .config/plasma-org.kde.plasma.desktop-appletsrc: hiddenItems=org.kde.plasma.volume,org.kde.plasma.networkmanagement,org.kde.plasma.clipboard Git commit 948fb7d5a383b839b9978c4d1312d3a728f5d686 by Andrey Butirsky, on behalf of Yuriy Saurov. Committed on 25/06/2021 at 12:10. Pushed by butirsky into branch 'master'. [keyboard layout applet] Fix auto-opening fullRepresentation on start M +44 -42 applets/keyboardlayout/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/commit/948fb7d5a383b839b9978c4d1312d3a728f5d686 Git commit bc1e9920115b7cf6eae78db3a4ce82f2c4f48d5c by Andrey Butirsky, on behalf of Yuriy Saurov. Committed on 28/06/2021 at 10:56. Pushed by butirsky into branch 'Plasma/5.22'. [keyboard layout applet] Fix auto-opening fullRepresentation on start (cherry picked from commit 948fb7d5a383b839b9978c4d1312d3a728f5d686) M +44 -42 applets/keyboardlayout/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/commit/bc1e9920115b7cf6eae78db3a4ce82f2c4f48d5c |
Created attachment 139228 [details] Screenshot of the widget SUMMARY After the update to 5.22, the keyboard layout widget has no icon/text anymore in the tray. On top of that, it opens a widget dialogue when I log in (one similar to the network manager, as you can see in the screenshot). If I click on the blank space where the icon should be, the widget opens and then I have to click on the text to switch to another layout; this is in contrast to the expected behaviour of a single click on the widget switching to another layout. If I start Plasma from the terminal, these lines pop up: file:///usr/share/plasma/plasmoids/org.kde.plasma.keyboardlayout/contents/ui/main.qml:16: TypeError: Value is undefined and could not be converted to an object file:///usr/share/plasma/plasmoids/org.kde.plasma.keyboardlayout/contents/ui/main.qml:65: TypeError: Value is undefined and could not be converted to an object file:///usr/share/plasma/plasmoids/org.kde.plasma.keyboardlayout/contents/ui/main.qml:58: TypeError: Value is undefined and could not be converted to an object STEPS TO REPRODUCE 1. Start Plasma OBSERVED RESULT The widget exhibits the weird behaviour described above. EXPECTED RESULT The widget shows an icon, does not open on click and allows to cycle through layouts on click. SOFTWARE/OS VERSIONS Linux: KDE neon KDE Plasma Version: 5.22.0 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION