Bug 489822 - Possible underlying Qt or Plasma or ...? bug causing keyboard to come up from touch scroll
Summary: Possible underlying Qt or Plasma or ...? bug causing keyboard to come up from...
Status: REPORTED
Alias: None
Product: plasma-mobile
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Mobile Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-06 10:49 UTC by Ellie
Modified: 2024-09-15 17:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Video showing Maliit coming back up when touch scrolling in kate (140.87 KB, video/webm)
2024-07-06 10:49 UTC, Ellie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ellie 2024-07-06 10:49:24 UTC
Created attachment 171419 [details]
Video showing Maliit coming back up when touch scrolling in kate

SUMMARY

I'm sorry to file another touch bug since I know kate isn't tested on that, but 1. this one seems to be a fundamental Qt or Plasma issue since konsole is also affected ( https://bugs.kde.org/show_bug.cgi?id=489672 ) and you might know what's actually the responsible component, 2. it's fairly high impact, sadly, making even passively scrolling code almost impossible.

Basically, a touch single tap or long tap on a text input field is meant to bring up the touch keyboard, in this case maliit, to enter text. However, when the user hides the touch keyboard and then touch scrolls, the keyboard must not come back up because it'll obscure what the user is just trying to look at - the document that is being scrolled. This is also how Phosh & squeekboard & gedit handle it, for example, but for KDE & Maliit & kate/konsole don't and make any touch scroll attempt make the keyboard come back up and obscure everything.

A video is attached where I'm testing this on a tablet form factor.

This also affects convertibles like Thinkpad Yoga's, and possibly any other touch laptop where Maliit may additionally be used on top of regular desktop controls. So it's not just a pure tablet or pure phone form factor issue.

STEPS TO REPRODUCE

1.  Use a linux device with a touch screen, form factor should be tablet or laptop so that KDE fits on the screen.
2. Install Plasma and Kate and Maliit, and make sure in KDE System settings Maliit is enabled
3. Launch a KDE Wayland session and launch kate
4. Open longer code file in kate that doesn't fit on the screen without scrolling.
5. Tap kate's code area to focus on it. Maliit should come up if it hasn't already.
6. Hide Maliit again.
7. Put your finger on the code area and move it vertically without lifting for touch scrolling.

OBSERVED RESULT

Maliit comes back up when touch scrolling, see video.

EXPECTED RESULT

Maliit doesn't come back up so that it's possible to actually see the document, like Phosh+squeekboard+gedit handle it.

SOFTWARE/OS VERSIONS

Windows: 
macOS: 
Linux/KDE Plasma: postmarketOS Edge
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.6.3

ADDITIONAL INFORMATION

Konsole affected as well, so I'm guessing this is a Qt or KDE Frameworks or Plasma bug. I just don't know which component it actually is.
Comment 1 Christoph Cullmann 2024-09-15 15:46:45 UTC
Hmm, will move that to Plasma, if that happens with Konsole, too, at least on the desktop with a touch pad this doesn't happen.
Comment 2 Ellie 2024-09-15 16:24:12 UTC
I'm using KDE Plasma 6 Wayland for desktops, not Plasma mobile. So I assume this bug is likely not plasma-mobile related, but sorry if I just misunderstood.
Comment 3 Ellie 2024-09-15 17:17:10 UTC
Konsole 24.08.1 is also still affected, sadly.