https://bugs.kde.org/show_bug.cgi?id=528575

            Bug ID: 528575
           Summary: Virtual keyboard does not show automatically on touch
                    focus of text fields (tablet mode detected), works
                    after forceActivate
    Classification: Plasma
           Product: kwin
      Version First 6.8.2
       Reported In:
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 198258
  --> https://bugs.kde.org/attachment.cgi?id=198258&action=edit
libinput debug-events

SUMMARY
On a convertible laptop (Fujitsu Lifebook U9312X) running Plasma on Wayland,
the on-screen keyboard does not appear when tapping a text field with touch or
pen, even though tablet mode is detected correctly. After calling forceActivate
over D-Bus once, tapping text fields shows the keyboard as expected.

ENVIRONMENT
- openSUSE Tumbleweed
- Plasma version: <insert output of plasmashell --version>
- KWin version: <insert output of kwin_wayland --version>
- Session type: Wayland (XDG_SESSION_TYPE=wayland), QT_IM_MODULE is empty
- Virtual keyboard selected in System Settings > Keyboard > Virtual Keyboard
- Hardware: Fujitsu Lifebook U9312X (2-in-1, Wacom HID 52F2 touchscreen and
pen)

STEPS TO REPRODUCE
1. Log in to a Plasma Wayland session.
2. Fold the display into tablet position (or stay in laptop mode).
3. Tap into a text field (Dolphin search field, Kate text area) with touch or
pen.

OBSERVED RESULT
The virtual keyboard does not appear. The same happens in other Qt apps such as
Konsole.

EXPECTED RESULT
The virtual keyboard appears when a text field receives focus via touch or pen,
at least in tablet mode.

ADDITIONAL INFORMATION
- libinput debug-events shows the tablet mode switch correctly ("Intel HID
switches": switch tablet-mode state 1 when folding, state 0 when unfolding).
Touch and pen events arrive normally.
- journalctl --user shows no errors about the keyboard or input method when
tapping a text field. The only kwin message is:
"net.hadess.SensorProxy.ClaimAccelerometer() failed: NoReply", although
iio-sensor-proxy is active.
- Running the following makes the keyboard appear while a text field is
focused:
  qdbus6 org.kde.KWin /VirtualKeyboard
org.kde.kwin.VirtualKeyboard.forceActivate
- After this call was executed once in the session (via a launcher or a
shortcut), tapping a text field shows the keyboard again as expected. Before
that, it never appears automatically.
- Running the same command at login via autostart does not help: the keyboard
flashes briefly and disappears, and automatic showing on tap still does not
work.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to