Bug 461694

Summary: Keyboard and touchpad stay active in tablet mode (flip the screen)
Product: [Plasma] plasmashell Reporter: andretiagob
Component: Input Method widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version First Reported In: 5.26.3   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description andretiagob 2022-11-11 11:20:40 UTC
SUMMARY

OBSERVED RESULT
After i flip the screen the keyboard and touchpad stay active.

EXPECTED RESULT
Keyboard and touchpad should disable on tablet mode after flipping the screen.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kubuntu 22.10
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel: 6.0.0
Wayland

ADDITIONAL INFORMATION
Laptop in question: MSI Summit E16 Flip A12UCT
Comment 1 Nate Graham 2022-11-14 20:35:42 UTC
> Keyboard and touchpad should disable on tablet mode after flipping the screen.
They should indeed. However the libinput library is responsible for this; no KDE code ins involved in it. So I would recommend that you file a bug report here: https://gitlab.freedesktop.org/libinput/libinput/-/issues.

Thanks!
Comment 2 andretiagob 2022-11-16 16:28:41 UTC
(In reply to Nate Graham from comment #1)
> > Keyboard and touchpad should disable on tablet mode after flipping the screen.
> They should indeed. However the libinput library is responsible for this; no
> KDE code ins involved in it. So I would recommend that you file a bug report
> here: https://gitlab.freedesktop.org/libinput/libinput/-/issues.
> 
> Thanks!

I filed a bug report there. Unfortunately it seems that there's no SW_TABLET_MODE event being triggered. It seems this is related to the kernel missing some drivers for this laptop. I searched the web and found that a lot of people also have some missing features with their MSI laptops....

Anyway, thanks Nate
Comment 3 Nate Graham 2022-11-16 16:39:13 UTC
Yep, it's turtles all the way down! You're welcome.