Closed Bug 1974876 Opened 5 months ago Closed 5 months ago

Profile Manager initially appears double width of window on secondary display with primary at 125% fractional scaling

Categories

(Core :: Widget: Gtk, defect)

Firefox 136
defect

Tracking

()

VERIFIED FIXED
142 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox-esr140 --- verified
firefox140 --- wontfix
firefox141 --- verified
firefox142 --- verified

People

(Reporter: masouddehghani, Assigned: emilio)

References

(Blocks 2 open bugs, Regression)

Details

(Keywords: regression)

Attachments

(4 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0

Steps to reproduce:

Right click on Firefox icon and click on the "Open the Profile Manager" menu.

Actual results:

The window to select the profile has a size problem.

Expected results:

The window should display in a correct size.

The Bugbug bot thinks this bug should belong to the 'Toolkit::Startup and Profile System' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Startup and Profile System
Product: Firefox → Toolkit

Use moz regression to figure out what regressed this change

Flags: needinfo?(jhirsch)

Are you using Wayland fractional scaling by any chance?

Hi,
No, the scaling is set at 100%.

Please see the screenshot here: Screenshot

Thanks

The built-in screen is at 125% fwiw, might have something to do with it... :)

Could you attach your about:support information to the bug?

Flags: needinfo?(masouddehghani)
Component: Startup and Profile System → Widget: Gtk
Product: Toolkit → Core

Hi,

It's happening on the other screens with 100% scaling but looks fine on the built-in screen.

Please see the requested details: about-support.json

Thanks

Flags: needinfo?(masouddehghani)

STR:

  1. Set primary display to 125% fractional scaling on Ubuntu 25.04.
  2. Set secondary display to 100% scaling.
  3. Show Profile Manager on secondary display (firefox -P).

Expected:
Profile Manager content fills window.

Actual:
Profile Manager content is initially too wide for window, double the width. Corrects itself when clicked.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=ff5432cc7e7c0d223330a7c8f09a89d797793f83&tochange=9efb94e533503b0cd1309c16d01d488a69941059

Regressed by Bug 581863.

No longer blocks: gtk-kde
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Regressed by: 581863
Summary: Profile Manager window size issue → Profile Manager initially appears double width of window on secondary display with primary at 125% fractional scaling
Version: Firefox 140 → Firefox 136
Flags: needinfo?(emilio)
Severity: -- → S4

The Page Info dialog (Ctrl+I) also flashes too tall briefly on appearance (same regression window).

Make sure only that our sizes are sane, which is the point of the check.

Constraints are in device pixels, so when changing scale they may not be
right until layout has updated them.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

This made the logs a bit less confusing to read and should be marginally
faster. No behavior change.

Flags: needinfo?(emilio)
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)

Comment on attachment 9501312 [details]
Bug 1974876 - Don't enforce client-side constraints in RecomputeBounds. r=stransky,thinker

Beta/Release Uplift Approval Request

  • User impact if declined/Reason for urgency: comment 0
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: See above
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Trivial fix
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9501312 - Flags: approval-mozilla-esr140?
Attachment #9501312 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Attachment #9501312 - Flags: approval-mozilla-beta? → approval-mozilla-release?
QA Whiteboard: [uplift] [qa-ver-needed-c143/b142]

I was able to reproduce this issue on Ubuntu 22.04 using Fx 141.0b4 with steps from comment 7.
Verified as fixed on Ubuntu 22.04 using Nightly 142.0a1(2025-07-18).

Status: RESOLVED → VERIFIED
See Also: → 1975863

Comment on attachment 9501312 [details]
Bug 1974876 - Don't enforce client-side constraints in RecomputeBounds. r=stransky,thinker

Approved for 140.2esr.

Attachment #9501312 - Flags: approval-mozilla-esr140? → approval-mozilla-esr140+
QA Contact: rpopovici

Fx 140.2.0esr treeherder build from comment 19 is still affected on Ubuntu 24.10. Please see the screenshot(esr).

Attached image esr.png
Flags: needinfo?(ryanvm)
Flags: needinfo?(ryanvm) → needinfo?(emilio)
Flags: needinfo?(emilio) → needinfo?(ryanvm)

Ah, crap. Will fix.

Flags: needinfo?(ryanvm)

Verified as fixed in the new 140.2.0esr build as per comment 24 using Ubuntu 24.10.

Attachment #9501312 - Flags: approval-mozilla-release? → approval-mozilla-release+

Verified as fixed on Ubuntu 24.10 using Fx 141.0.2.

QA Whiteboard: [uplift] [qa-ver-needed-c143/b142] → [uplift] [qa-ver-done-c143/b142]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: