Open Bug 1416271 Opened 7 years ago Updated 2 years ago

[HiDPI] Popups should close on second click

Categories

(Core :: Widget: Gtk, defect)

57 Branch
defect

Tracking

()

People

(Reporter: yurivkhan, Assigned: stransky)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171109183137

Steps to reproduce:

0. Download any file, so that the Downloads button appears.
1. Right-click on the toolbar, select Customize.
2. Drag the following buttons to the toolbar if not already there: Text Encoding, Downloads, Library, Bookmarks Menu, Synced Tabs, Web Developer Tools. Drag any button to the overflow menu. Exit Customize.
3. For each button listed above, the overflow menu button, and the sandwich menu button:
3a. Click the button. Observe that a popup appears.
3b. Click the button again.


Actual results:

Except for Bookmarks Menu button, the popup disappears briefly, then appears again.

The Bookmark Menu popup closes.


Expected results:

All popups should close on second click.

The problem also affects popups displayed by add-ons, e.g. uBlock Origin.
Component: Untriaged → General
Component: General → Menus
Can you reproduce this in Safe Mode? (about:support -> Restart with add-ons disabled)

If you can still reproduce this in safe mode, please use mozregression[1] to find when this was introduced? I am unable to reproduce this on Windows and OSX.

[1] http://mozilla.github.io/mozregression/
Flags: needinfo?(yurivkhan)
I ran mozregression. The results are interesting.

The last “good” build was 38.0a1 of 2015-02-10, changeset 2cb22c058add, and the first “bad” was 38.0a1 of 2015-02-11, changeset 3094601af679.

I notice that all “bad” builds (popup closes and opens again) gave me the UI correctly scaled for my 192 dpi monitor, while all “good” builds (popup stays closed, or there are no popup buttons) had tiny controls and/or deformed UI (e.g. fonts assuming 192 dpi in widgets assuming 96 dpi).

On a 96 dpi monitor, the problem does not appear.
Flags: needinfo?(yurivkhan)
That would point to bug 1097897. Martin, could you look in to this?
Flags: needinfo?(stransky)
Jan is recently working on the HiDPI issues, moving to him.
Flags: needinfo?(stransky) → needinfo?(jhorak)
Summary: Popups should close on second click → [HiDPI] Popups should close on second click
Depends on: 1097897
Component: Menus → Widget: Gtk
Product: Firefox → Core
Flags: needinfo?(jhorak)
I noticed this today too, ran mozregression, and got the same regression range as Yuri.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → stransky
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: