Open Bug 1598586 Opened 6 years ago Updated 3 years ago

After changing DPI on Windows, focusing/unfocusing Firefox menu items leaves artifacts

Categories

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

70 Branch
defect

Tracking

()

Tracking Status
firefox70 --- affected
firefox71 --- affected
firefox72 --- affected

People

(Reporter: nyanpasu64, Unassigned)

References

Details

(Keywords: polish)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

Steps to reproduce:

  • Open Firefox when Windows is set to 125% DPI (laptop monitor).
  • Switch Windows to 100% DPI (plug in external monitor).
  • Open a menu and move my cursor across it.

Actual results:

I get line artifacts after focusing and unfocusing menu items (by moving my mouse down/up the menu, or using arrow keys to navigate it). This occurs on bookmark menus, the main menu, and right-click menus.

On some menus, I get dark lines left behind. On other menus, I get faint blue lines (similar color to focused menu item background).

Moving my cursor outside the menu makes artifacts disappear.

I think this issue is some form of rounding error. Is this related to https://bugzilla.mozilla.org/show_bug.cgi?id=1427524 ?

Expected results:

Moving my mouse over any menu does not leave behind visual artifacts.

Interestingly, in my above screenshot, dark lines appear every 4 menu items, and the pattern appears almost (but not quite) periodic.

Seems duplication of Bug 1342821 or Bug 1419830

Reproduced the issue on latest Nightly just by changing from default 100% scale resolution to 125%.
Might as well be duped after Bug 1342821, but leaving it as new to raise awareness.

Status: UNCONFIRMED → NEW
Component: Untriaged → Menus
Ever confirmed: true
See Also: → 1342821

Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1342821#c8 I think this is a widget issue - it's certainly not a Firefox frontend issue; at best it'd be a XUL layout or gfx issue if it's not just Windows.

Component: Menus → Widget: Win32
Product: Firefox → Core

The priority flag is not set for this bug.
:jimm, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jmathies)
Flags: needinfo?(jmathies)
Keywords: polish
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: