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

            Bug ID: 500025
           Summary: Touch/tablet mode always disabled by buttonrebinds
                    plugin
    Classification: Plasma
           Product: kwin
           Version: 6.3.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: input
          Assignee: kwin-bugs-n...@kde.org
          Reporter: tobi291...@gmail.com
                CC: duha.b...@gmail.com
  Target Milestone: ---

SUMMARY
Setting touch mode to automatic results in it being always disabled since
6.3.0. Automatic orientation no longer works when restricted to tablet mode and
UI elements no longer increase in size when disconnecting the "pointer" device
(mouse or touchpad).

STEPS TO REPRODUCE
1. Set touch mode to "automatically enable as needed"
2. Have a device with a touchscreen, but no mouse or touchpad
3. Query org.kde.KWin.TabletModeManager tabletMode property on D-Bus, it always
returns false
4. Unload the buttonrebinds plugin (e.g. using D-Bus)
5. tabletMode should return true

OBSERVED RESULT
tabletMode always is false and display orientation as well as UI elements stay
in non touch mode. Once the buttonrebinds plugin is unloaded, everything works
as expected.

EXPECTED RESULT
tabletMode returns true once mouse and touchpad are disconnected, even if the
buttonrebinds plugin is loaded.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Intel® HD Graphics 620
Manufacturer: Acer
Product Name: Switch SW512-52
System Version: V1.08

ADDITIONAL INFORMATION
The buttonrebinds device now counts as a pointer device in 6.3.0, but is not
ignored by shouldIgnoreDevice in tabletmodemanager.cpp.

My device specifically has no built-in tablet mode switch and instead relies on
the cover keyboard (which contains a touchpad) physically disconnecting,
meaning kwin used to switch based on any pointer device existing.

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

Reply via email to