Bug 489672 - Konsole almost unusable on touch screen tablet device when enabling maliit because touch scroll will trigger the keyboard
Summary: Konsole almost unusable on touch screen tablet device when enabling maliit be...
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (show other bugs)
Version: 24.05.1
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-03 12:09 UTC by Ellie
Modified: 2024-07-06 18:06 UTC (History)
0 users

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 Ellie 2024-07-03 12:09:43 UTC
SUMMARY

It appears that konsole is almost unusable on touch screen tablet device when enabling maliit, because any attempt to touch scroll to see the full output of whatever previous command will trigger the maliit keyboard to come back up and take up half of the screen. The keyboard should only be triggered with a click (= short touch in place), not from a touch scroll drag nor from a long press for the context menu.

My apologies if I'm misunderstanding how this is meant to work, but e.g. using Phosh + GNOME Console this doesn't happen and touch scrolling is possible without any keyboard coming back up.

STEPS TO REPRODUCE

1. Use a device with touch screen
2. Install KDE Plasma and enable Maliit touch screen keyboard
3. Open konsole window
4. Tap into konsole window for focus. Maliit should now come up (this is expected and useful).
5. Enter some command that causes lengthier output and press enter on Maliit.
6. Close Maliit to be able to read the full output.
7. Now use your finger to scroll back in konsole. You'll see Maliit immediately comes back up.

OBSERVED RESULT

Touch scroll causes Maliit to come back up, which seems highly undesirable.

EXPECTED RESULT

When the konsole window is single tapped or first time brought to the front, maliit shows up. When touch scrolling, it doesn't. This would also mirror how it works with GNOME Console and Phosh, and it also mirrors how text inputs behave with Mozilla Firefox and KDE and Maliit.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Ellie 2024-07-03 12:45:51 UTC
SOFTWARE VERSIONS

Linux: postmarketOS Edge
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.6.3
Comment 2 Ellie 2024-07-06 18:06:23 UTC
For what it's worth, I tested some more and xfce4-terminal doesn't have this problem. Instead it behaves as expected even with KDE/Plasma 6 desktop: a single touch into the terminal are brings up Maliit, but then when swiping down to hide Maliit and then using touch scrolling in the terminal window, Maliit stays away as intended. Since kate is also affected but xfce4-terminal is not, I guess that suggests it's not a Plasma issue but rather something with Qt or some KDE Frameworks that's causing this behavior.

(Sorry for the comment spam, I hoped this observation might be helpful.)