Open Bug 1427524 Opened 7 years ago Updated 2 years ago

Dropdown (right-click) menu padding increases when increasing DPI, decreases when decreasing

Categories

(Core :: XUL, defect)

58 Branch
x86_64
Windows 10
defect

Tracking

()

People

(Reporter: nyanpasu64, Unassigned)

Details

(Keywords: dpi)

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0 Build ID: 20171226085105 Steps to reproduce: 1. Login to Windows. 2. Under PC settings, change DPI scaling. (If you're using a HiDPI laptop, plug or unplug an external monitor.) 3. Open Firefox. 4. Right-click a page. Actual results: If current DPI is greater than login DPI, the padding around right-click menu items will be greater than normal. (I define normal as logging out, back in, and reopening Firefox.) If current DPI is less than login DPI, the padding around right-click menu items will be less than normal. Expected results: [Menu padding before logging out] should match [menu padding after logging out/in under the new DPI setting].
Keywords: dpi
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Component: Untriaged → XUL
Product: Firefox → Core
Attached image 96dpi
(Unrelated, but it seems that the extension menu items' order is different. Is this a bug?)
Does this happen on all context menus or just the main page one?
I think this happens to all menus, including the menu bar, bookmark bar dropdowns, etc. I don't know if this happens to new-style white-background dropdowns. Also I switched from 100 to 125% while Firefox was open, and get these weird black lines. Is this GPU-driver-specific? Worth reporting?
Confirmed, new-style white-background dropdowns are unaffected (identical between 100% and 125->100% scaling).
Status: UNCONFIRMED → NEW
Component: XUL → XP Toolkit/Widgets: Menus
Ever confirmed: true
Component: XP Toolkit/Widgets: Menus → XUL
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: