Closed Bug 1718757 Opened 3 years ago Closed 3 years ago

Firefox is not automatically set as the default web browser if the browser is opened in Windows 8 compatibility mode

Categories

(Firefox :: Shell Integration, defect)

Desktop
Windows 10
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox89 --- unaffected
firefox90 --- unaffected
firefox91 --- affected

People

(Reporter: mcoman, Unassigned)

References

Details

Attachments

(1 file)

Attached image rec of the issue.gif

[Affected versions]:

  • Firefox Nightly 91.0a1 - Build ID: 20210630093648

[Affected Platforms]:

  • Windows 10 x64

[Prerequisites]:

  • Have the browser set to be opened in Windows 8 compatibility mode.
  • Firefox is NOT set as the default web browser.

[Steps to reproduce]:

  1. Open the browser with the profile from prerequisites.
  2. Navigate to the "about:preferences" page and click the "Make Default..." button.
  3. Observe the behavior.

[Expected result]:

  • Firefox is automatically set as the default web browser.

[Actual result]:

  • Firefox is not set as the default web browser and the "Default apps" OS window is opened.

[Notes]:

  • This issue is reproducible regardless of the method used for setting the browser as the default one.
  • Attached a screen recording of the issue.

That's because AppConstants.isPlatformAndVersionAtLeast is tricked by the compatibility mode. In C++ code, IsWin10OrLater should be used which is immune to the compatibility shim. Is IsWin10OrLater exposed to JS?

(In reply to Masatoshi Kimura [:emk] from comment #1)

That's because AppConstants.isPlatformAndVersionAtLeast is tricked by the compatibility mode. In C++ code, IsWin10OrLater should be used which is immune to the compatibility shim. Is IsWin10OrLater exposed to JS?

I don't think IsWin10OrLater is exposed to JS. In my opinion we don't need to work around compatibility mode here: it should be rare, the fallback still behaves as expected, and I don't want to get into the business of second-guessing compatibility mode. This is slightly more WONTFIX than INVALID, though, if it's more important than I know please reopen.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: