-
Notifications
You must be signed in to change notification settings - Fork 97
Toolbar popover menus appear in wrong position after zoom (shifted to the right) #1183
Comments
@brumm Hi! Thanks for filing. I can't reproduce your issue at the moment (also testing on 10.14.6 + 70.0.1), so I have a few questions :) Thanks! |
Hey, good catch regarding retina vs. regular monitor. I experienced this on a regular monitor. I'm not able to reproduce it on retina, but can do so consistently on a regular monitor. Yeah, the devtools were docked to the left. I tried to reproduce the bug while docked to the right, but I wasn't able to. Switching back to the left I can reproduce it again. I can also reproduce it when docked to the bottom, although only with the toolbar overflow button, not the
Also, it seems like the horizontal window position affects this as well, moving the window to the right of the monitor seems to prevent the bug from appearing somehow :) Not sure if it helps, but this happens with the Firefox Developer Edition as well. |
Thanks for the additional info, this definitely helps.
And the way the popup looks when it is mis-positioned indicates that it thinks it's on the edge of the screen. When the popup has enough space to be displayed, the arrow is not near the edge of the popup as it is in your screenshot. So for some reason we don't calculate correctly the available width. Even with your added information I can't reproduce yet. So either there is something in the profile (another pref?) that impacts the scenario, or the hardware setup is still significantly different. To further investigate, could you:
|
Thank you so much for all the details! I'll move the issue to Bugzilla where we normally track DevTools bugs. I have a strong feeling the dual/triple screen setup is why I can't repro for now, hopefully I can get help from peers who have a similar setup! |
Yeah, I wasn't sure where to file this bug :) Thanks for your help! |
Well I hope I can actually fix it at some point :D |
Have the Firefox Dev Tools maintainers consider to switch to Popper for the tooltip positioning? It should address all the edge cases for free. |
macOS Mojave 10.14.6 (18G87)
Firefox 70.0.1 (64-bit)
After increasing the font size of the devtools via
cmd-+
, popover menus appear in the wrong position. Increasing the font size again causes the popover to shift even more to the right.Here's a gif:
The text was updated successfully, but these errors were encountered: