Closed Bug 1813960 Opened 1 year ago Closed 1 year ago

Save dialogue is transparent in Nightly

Categories

(Core :: Widget, defect)

Firefox 111
Desktop
All
defect

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox109 --- unaffected
firefox110 --- unaffected
firefox111 + fixed

People

(Reporter: bbhtt.zn0i8, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files)

Attached image ff-save-dialog.png

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

Steps to reproduce:

Download a file so that the "Save as" dialog appears eg. pdf

gtk3 3.24.36
gtk4 4.9.2
gnome-shell 43.2
Wayland with MOZ_ENABLE_WAYLAND=1

Actual results:

The dialogue is transparent

Expected results:

It shouldn't be transparent

OS: Unspecified → Linux
Hardware: Unspecified → Desktop
Attached file about:support

Mozregression shows this for me

$ mozregression --good 2023-01-20 --bad 2023-01-28

14:59.41 INFO: No more integration revisions, bisection finished.
14:59.41 INFO: Last good revision: 2c05658add65ba2f7513b2a76fe32be80c7c86e6
14:59.41 INFO: First bad revision: 1432fd8955ce7ee78eab40753eb15ee274045919
14:59.41 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=2c05658add65ba2f7513b2a76fe32be80c7c86e6&tochange=1432fd8955ce7ee78eab40753eb15ee274045919

$ mozregression --launch 1432fd8955ce7ee78eab40753eb15ee274045919 

 0:18.72 INFO: Running mozilla-central build built on 2023-01-27 05:27:22.806000, revision 4af274d4
 0:56.60 INFO: Launching /tmp/tmpaq1lj2ab/firefox/firefox
 0:56.60 INFO: Application command: /tmp/tmpaq1lj2ab/firefox/firefox -profile /tmp/tmpj8cc67_5.mozrunner
 0:56.62 INFO: application_buildid: 20230126212606
 0:56.62 INFO: application_changeset: 4af274d4ee613437631074174934b5739d002880
 0:56.62 INFO: application_name: Firefox
 0:56.62 INFO: application_repository: https://hg.mozilla.org/mozilla-central

<bad>

https://bugzilla.mozilla.org/show_bug.cgi?id=1810614 seems to be responsible

Has STR: --- → yes
Regressed by: 1810614

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)
Assignee: nobody → emilio
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(emilio)

Set release status flags based on info from the regressing bug 1810614

It's a more natural place for it to live, since it concerns only the
root view.

Clean up a bit while at it, and factor out the window size constraints,
which we're going to use momentarily.

Otherwise, if we end up with pref-size < min-size, we resize the content
to be the pref-size pixel size, but the window size clamping comes in,
and sets the window size to be bigger.

If we're lucky, the other dimension changes, and we trigger a size
update which fixes up things, but if we're not we end up with this bogus
state where the viewport frame has the wrong dimensions and the resize
never arrives.

Accounting for widget constraints fixes it.

Depends on D168461

Duplicate of this bug: 1814377

[Tracking Requested - why for this release]: Looks terrible, affects all OSes (or at least Linux and Windows)

Component: Widget: Gtk → Widget
OS: Linux → All
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bc2870cfaf1d
Move nsContainerFrame::SyncWindowProperties to PresShell. r=smaug
https://hg.mozilla.org/integration/autoland/rev/88e051666f45
Ensure that GetContentSize doesn't return a size under the window min size. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
Regressions: 1818799
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: