mirror-kde-plasma-desktop/sddm-theme
Fushan Wen 6d3514d331 sddm-theme: restore Qt Virtual Keyboard fallback on X11
SDDM 0.21 still runs its greeter on X11 and sets
QT_IM_MODULE=qtvirtualkeyboard, but since b1eed7f7 the theme only forwards
to Keyboards.KWinVirtualKeyboard, which only exists under a running KWin.
Qt Virtual Keyboard stays loaded as the input method, and because the theme
no longer instantiates its input panel, Qt creates its own
DesktopInputPanel, which pops up whenever a text field gains focus, a plain
mouse click included. The keyboard button was dead there as well, because
KWinVirtualKeyboard.available is false and its visible property never
becomes true.

Bring the X11 fallback back as a theme-private component: on X11
VirtualKeyboard.qml loads the Qt Virtual Keyboard panel that
plasma-workspace dropped in f1c83d15 (instantiating QtVK.InputPanel is what
keeps Qt from creating its own panel), on Wayland it keeps forwarding to
Keyboards.KWinVirtualKeyboard. The button is hidden when no virtual
keyboard is available at all.

The panel itself carries no animation: it is shown and hidden by animating
the loader that holds it, which slides it below the bottom edge while
fading it out. Keeping the animation in one place matters because Qt
Virtual Keyboard's own hide key turns InputMethod.visible off before the
theme is notified, and a panel that hid itself as soon as it became
inactive would disappear in a single frame instead of sliding out. The
panel is only deactivated once it is fully off-screen, so that hiding it
does not cut the animation short.

BUG: 527138
2026-11-03 02:51:22 +08:00
..
dummydata Remove all qml import version numbers 2025-12-01 15:40:46 +00:00
faces Move sddm-theme in proper subdirectory 2024-04-05 17:03:17 +02:00
Background.qml Remove all qml import version numbers 2025-12-01 15:40:46 +00:00
components Move sddm-theme in proper subdirectory 2024-04-05 17:03:17 +02:00
default-logo.svg Move sddm-theme in proper subdirectory 2024-04-05 17:03:17 +02:00
KeyboardButton.qml add translation contexts 2026-01-07 10:44:24 +00:00
Login.qml add translation contexts 2026-01-07 10:44:24 +00:00
Main.qml sddm-theme: restore Qt Virtual Keyboard fallback on X11 2026-11-03 02:51:22 +08:00
Messages.sh sddm-theme: Make the thing translatable 2024-06-21 22:29:38 +00:00
metadata.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2026-10-04 01:48:16 +00:00
preview.png Update previews for new Hanabi wallpaper 2026-09-09 15:47:36 -06:00
QtVirtualKeyboard.qml sddm-theme: restore Qt Virtual Keyboard fallback on X11 2026-11-03 02:51:22 +08:00
SessionButton.qml add translation contexts 2026-01-07 10:44:24 +00:00
theme.conf.cmake SDDM theme: add option to hide clock 2024-08-09 17:31:35 +00:00
VirtualKeyboard.qml sddm-theme: restore Qt Virtual Keyboard fallback on X11 2026-11-03 02:51:22 +08:00