Closed Bug 1614421 Opened 4 years ago Closed 4 years ago

[Linux] Black vertical bar in native-styled select dropdown widget, on Ubuntu 19.10

Categories

(Core :: Widget: Gtk, defect, P2)

All
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox-esr68 --- unaffected
firefox72 --- unaffected
firefox73 --- unaffected
firefox74 + fixed
firefox75 --- fixed

People

(Reporter: dholbert, Assigned: stransky)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files, 1 obsolete file)

STR:

  1. View this data URI:

data:text/html,<select>

ACTUAL RESULTS:
There's an unexpected black vertical bar to the left of the dropdown arrow.

EXPECTED RESULTS:
No such vertical bar.

Screenshot attached. I'm using Ubuntu 19.10 with the default theme (Yaru)

mozregression says this regressed from
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=23091d9bdbcd200e1b535696a5f6d38b41889493&tochange=accd5248459408246d4bf269125120072dbee608
which is bug 1613130.

It looks like that regressing bug's patch made us change to start drawing something (instead of drawing nothing) for missing widget-parts like MOZ_GTK_COMBOBOX_SEPARATOR (which seems to be the widget-part that's involved here).

In this case, the "drawing something" is drawing an awkward-looking black bar.

stransky, would you mind taking a look? Can/should we go back to drawing nothing for this (perhaps-intentionally) unimplemented widget?

Flags: needinfo?(stransky)

[Tracking Requested - why for this release]: visual regression in Firefox 74 (which is the beta version, as of some point this week)

Attachment #9125607 - Attachment description: image.png → screenshot 1 (showing the bug on an empty dropdown widget)

Sure, will look at it.

Assignee: nobody → stransky
Flags: needinfo?(stransky)
Priority: -- → P2
Pushed by rgurzau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dbf22b1c04bd
[Linux] Use GtkInvisible as a fallback widget, r=jhorak
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75

Please nominate this for Beta approval when you get a chance.

Flags: needinfo?(stransky)

Comment on attachment 9125760 [details]
Bug 1614421 [Linux] Use GtkInvisible as a fallback widget, r?jhorak

Beta/Release Uplift Approval Request

  • User impact if declined: Visual glitch when combobox is rendered on Ubuntu/Yaru theme.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Linux only theme fix.
  • String changes made/needed: none
Flags: needinfo?(stransky)
Attachment #9125760 - Flags: approval-mozilla-beta?

Comment on attachment 9125760 [details]
Bug 1614421 [Linux] Use GtkInvisible as a fallback widget, r?jhorak

Low risk visual fix on Linux, uplift approved for 74.0b3, thanks.

Attachment #9125760 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Hi,

Still occurring: 75.0a1 (2020-02-24) (64-bit)

Thanks!

Flags: needinfo?(stransky)
Flags: needinfo?(aiakab)

Yeah, I'm seeing the white bar shown in comment 13 as well, in current Nightly as well as in Nightly 2020-02-12 (the day after the patch landed). I'm on Ubuntu 19.10 still.

So: it looks like the patch just changed the vertical stripe from black to white, unfortunately. :-/ It's more subtle, but still there. It's too bad we didn't notice this sooner. stransky, should we reopen, or track this in a new bug?

Let's reopen, I'll attach the patch here.

Status: RESOLVED → REOPENED
Flags: needinfo?(stransky)
Resolution: FIXED → ---

With Bug 1613130 fixed we may not need a fallback widget so let's remove this workaround.

Martin, I would prefer a patch and an uplift request in a new bug, thanks.

Flags: needinfo?(stransky)

okay.

Flags: needinfo?(stransky)
Flags: needinfo?(aiakab) → needinfo?(stransky)

Filed as Bug 1617858.

Flags: needinfo?(stransky)
Attachment #9128732 - Attachment is obsolete: true
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
See Also: → 1617858
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: