Bug 491576 - Show virtual keyboard tray icon only works once in XWayland apps until app is de-focused and re-focused
Summary: Show virtual keyboard tray icon only works once in XWayland apps until app is...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Input Method widget (show other bugs)
Version: 6.1.4
Platform: NixOS Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: accessibility, usability
Depends on:
Blocks:
 
Reported: 2024-08-11 11:57 UTC by Felix
Modified: 2024-08-13 20:40 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 Felix 2024-08-11 11:57:21 UTC
If the show on screen keyboard button is used in a application, it won't work again after the keyboard is dismissed, until another window is focused again.



STEPS TO REPRODUCE
1. Switch to tablet mode
2. Open application that requires the  show osk button (like vs code)
3. Open osk and dismiss it again
4. Opening osk again, will fail now
5. Switch to another application and back
6. Opening osk works again.

OBSERVED RESULT
On screen keyboard can't be opened all the time


EXPECTED RESULT
On screen keyboard can be opened all the time

SOFTWARE/OS VERSIONS
Operating System: NixOS 24.11
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.6.44 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-10610U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

ADDITIONAL INFORMATION
Comment 1 Felix 2024-08-11 21:36:47 UTC
May be a nixos issue, since it comes with the error message:
Aug 11 23:34:19 nixos plasmashell[2379]: file:///nix/store/44da1wkw0zbks5makdcd9awp62ls385i-plasma-workspace-6.1.4/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/items/PlasmoidItem.qml:60: TypeError: Property 'pressed' of object QQuickMouseArea(0x561ace0) is not a function
Comment 2 Nate Graham 2024-08-12 17:18:33 UTC
After the virtual keyboard has been dismissed, does tapping in the text field bring it back? This works for me on my convertible.
Comment 3 Felix 2024-08-12 17:34:35 UTC
Yes, this works in applications where taping the text field brings up the virtual keyboard. 
But I am talking about applications where the virtual keyboard does not appear automatically, like VS code or Google Chrome.
In this case, the button to show the virtual keyboard has to be used. (it only appears in such applications)
But this button does not work after the keyboard was once dismissed; tapping it again results in the above-mentioned error message.
Comment 4 Nate Graham 2024-08-13 20:39:55 UTC
Ok, can confirm.