Closed Bug 1929474 Opened 3 months ago Closed 3 months ago

Decide whether, and document why, to check for Win11's tablet mode where we check for Win10's

Categories

(Core :: Widget: Win32, task, P3)

task

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: rkraesig, Assigned: rkraesig)

References

(Blocks 1 open bug)

Details

(Whiteboard: [win:touch])

Attachments

(2 files)

Following bug 1819421, we should be able to detect tablet mode on Windows 11. As Win10's tablet mode and Win11's tablet mode share little in common save the name, however, we have not automatically done so for Win11 where we did for Win10.

We should go through our existing uses of tablet-mode detection, determine which of them we should be done on Windows 11, and document why or why not.

Severity: -- → S3
Priority: -- → P3

The simplification of browser.css in bug 1844242 caused the close-button
to be hidden in tablet mode alongside the window-resizing buttons.
Revert that change's effect, and add documentation.

Document remaining uses of Win10 tablet-mode detection which do not fall
under other bugs.

In particular, we leave alone:

  • IsTabletDevice in WinUtils.cpp. This falls under bug 1735765.
  • Uses in WinIMEHandler.{h,cpp}. These fall under bug 1929630.

No functional changes.

Attachment #9435916 - Attachment description: Bug 1929474 - [1/n] Fix Win10 tablet-mode hiding of close-button r?#win-reviewers,Gijs → Bug 1929474 - [1/2] Fix Win10 tablet-mode hiding of close-button r?#win-reviewers,Gijs
Pushed by rkraesig@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0aee01356e7f [1/2] Fix Win10 tablet-mode hiding of close-button r=desktop-theme-reviewers,dao https://hg.mozilla.org/integration/autoland/rev/9775634e2d74 [2/2] Document (some) other uses of Win10 tablet mode r=win-reviewers,firefox-desktop-core-reviewers ,handyman,mossop
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: