Closed Bug 1830585 Opened 2 years ago Closed 2 years ago

Opening a new window when in fullscreen causes the tab in the new window to appear shifted to the right on macOS

Categories

(Core :: Widget: Cocoa, defect, P3)

Firefox 113
ARM64
macOS
defect

Tracking

()

RESOLVED DUPLICATE of bug 1829403

People

(Reporter: caskets-06-mystery, Assigned: bradwerth)

References

Details

(Keywords: regression)

Attachments

(1 file)

Attached image bug.png

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0

Steps to reproduce:

(Using Firefox Developer Edition 113.0b9, a new profile with no addons or changed settings, and macOS Ventura 13.2.1)

  1. Open a new Firefox window
  2. Click the green button to enter fullscreen
  3. Press Cmd + N to create a new window

Actual results:

The tabs in the tab bar at the top of the window appear shifted to the right, leaving some blank space in the top left (see bug.png). It looks like it's leaving space for the red, yellow, and green buttons that normally appear at the top left of windows on macOS, but as this is fullscreen it should not appear.

This can be worked around by exiting fullscreen and reentering fullscreen - the tabs appear as expected after doing that.

As a bonus, when exiting fullscreen there is a strange blank space at the top of the window.

Expected results:

The tabs are flush against the top left of the window.

Component: Untriaged → Widget: Cocoa
OS: Unspecified → macOS
Product: Firefox → Core
Hardware: Unspecified → ARM64

This looks like it could be a regression. Please consider using mozregression to find the specific code change which introduced the issue.

I've run mozregression and it seems to be related to

Bug 1823284 - Use SizeModeChanged notification to handle fullscreen change; r=geckoview-reviewers,rkraesig,stransky,bradwerth,smaug,m_kato

Depends on D175213

Differential Revision: https://phabricator.services.mozilla.com/D175215

Keywords: regression
Regressed by: 1823284

:edgar, since you are the author of the regressor, bug 1823284, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(echen)

I'll take on this one; it's similar to other weird macOS fullscreen behavior that is tied to Bug 1631735.

Assignee: nobody → bwerth
Flags: needinfo?(echen)
Severity: -- → S3
Priority: -- → P3
See Also: → 1830238

I could not reproduce this anymore after Bug 1829403 (Nightly 2023-05-03 build).

Now that the proposed fix in Bug 1829403 has landed, would you please try to replicate the issue with an updated Nightly build?

Flags: needinfo?(caskets-06-mystery)

This bug no longer appears in the latest Nightly for me either (20230503140026). Thank you for the fix!

Flags: needinfo?(caskets-06-mystery)
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1829403
Resolution: --- → DUPLICATE

This isn't really a regression of Bug 1823284, bug 1823284 just changes some behavior and makes the underlying issue noticeable. The underlying issue was fixed in Bug 1829403.

No longer regressed by: 1823284
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: