Open Bug 1529446 Opened 6 months ago Updated 6 months ago

bookmarks toolbar menus misplaced after xrandr resize (Ubuntu 18.04 HiDpi)

Categories

(Firefox :: Toolbars and Customization, defect, P3)

65 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: daniel, Unassigned)

Details

Attachments

(1 file)

Attached image screenshot.png

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

Steps to reproduce:

  1. open Firefox on eg Ubuntu 18.04 with a HiDpi screen, enabling bookmark toolbar with one or more folders
  2. use xrandr to change resolution of screen, eg:
    $ xrandr --output eDP-1 --mode 1920x1080
  3. change resolution back to original:
    $ xrandr --output eDP-1 --mode 3840x2160
  4. open bookmark toolbar folder, observing it is not in the expected place (see screenshot); this prevents dragging website icon into bookmark toolbar folder

Actual results:

bookmark toolbar folder menu appears disjoint from the bookmark toolbar folder icon

Expected results:

bookmark toolbar folder menu should appear directly underneath folder icon, allowing dragging website icon into it

Moving to Firefox: Toolbars and Customization component.

Component: Untriaged → Toolbars and Customization

Neil, could we be using the old resolution when anchoring this popup? The screenshot shows the popup closer than I would expect if 3840x2160 was used.

Flags: needinfo?(enndeakin)
Priority: -- → P3

Possibly, but I don't see this issue myself so I don't really know.

Flags: needinfo?(enndeakin)

@Neil I checked more and find the issue occurs when GNOME flips from hi-DPI mode to normal DPI mode or back, so probably a high-DPI display is needed.

In this case, I went down through 3840x2160 -> 3200x1800 -> 2880x1620 -> 2560x1600 before the issue occurred. If you have a high-DPI display and GNOME in hi-DPI mode, does it reproduce when moving to a non-hi-DPI mode?

You need to log in before you can comment on or make changes to this bug.