Use Touch for Tablet Mode not working in Windows 11
Categories
(Core :: Widget: Win32, defect, P2)
Tracking
()
People
(Reporter: link6155, Unassigned)
References
Details
(Whiteboard: [win:touch])
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0
Steps to reproduce:
- Launch Firefox
- Detach/Remove/Flip keyboard to enter "tablet mode"
Actual results:
Firefox interface does not adapt to become more touch friendly automatically.
Expected results:
Touch density should be enabled whenever Windows 11 is in "tablet mode".
Windows 11 has removed the registry key for tablet mode. However, many apps are still able to detect whenever the device keyboard is detached, removed, or flipped. Microsoft's Office suite is one example.
Comment 2•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Win32' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•4 years ago
|
Comment 4•4 years ago
|
||
No, this seems like a different problem though it might have the same underlying cause (i.e. the deprecation of tablet mode in Windows 11). I specifically avoided touching the parts of the code that did not deal with the keyboard for fear of introducing regressions but I can look them up. Either way the fix for this is probably the same as for bug 1722208: avoid detecting tablet mode by reading the UserInteractionMode
via the UIViewSettings
and revert to the APIs that were used before Windows 10 to detect when the keyboard is flipped or disconnected.
Updated•4 years ago
|
Description
•