WebRTC system tray context menu is positioned away from the icon with high DPI
Categories
(Firefox :: Site Permissions, defect, P2)
Tracking
()
People
(Reporter: itiel_yn8, Assigned: mconley)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
STR:
- Set DPI to anything above 100%
- Open https://www.webrtc-experiment.com/Pluginfree-Screen-Sharing/#8135501154568966
- Click "Share you screen" and select a window
- Right click the system icon tray
ER:
The context menu should be positioned where the mouse right clicked.
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Comment 2•4 years ago
|
||
I can confirm this issue's reproduction on Windows 10 with Nightly v84.0a1 and Beta v83.0b4. Modifying the Display Scaling to any other option than 100% will improperly position the context menu incorrectly.
Comment 3•4 years ago
|
||
I would think that this issue deserves a severity promotion considering that a lot of users use scaling on their computers. Please revert if you think this is incorrect.
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f36a4e0cb84c Make sure SystemStatusBar popup menus appear in the right spot regardless of device scaling. r=mhowell
Comment 5•4 years ago
|
||
bugherder |
Assignee | ||
Comment 6•4 years ago
•
|
||
Comment on attachment 9183027 [details]
Bug 1672419 - Make sure SystemStatusBar popup menus appear in the right spot regardless of device scaling. r?mhowell
Beta/Release Uplift Approval Request
- User impact if declined: Users with high DPI display settings on Windows will find that the WebRTC device indicator menus are positioned strangely upon opening.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce:
- Be using Windows with a camera and microphone connected
- Visit https://permission.site/, and click on "Camera + Microphone", and allow Firefox to share the camera and microphone devices.
- Find the camera and/or microphone device indicators in the Windows system tray. They might be collapsed into the overflow area of the tray.
- Click on either of those icons.
- Repeat using different DPI settings
ER:
A menu should appear close to the icon, regardless of DPI setting.
Note that changing DPI settings in Windows can be done by following these instructions: https://support.corel.com/hc/en-us/articles/115001485408-Display-Options-How-to-change-DPI-Scaling-Level-for-displays-in-Windows-10-
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): We're changing some positioning calculations in a very isolated part of the code base, using well-understood mechanisms.
- String changes made/needed: None.
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 7•4 years ago
|
||
I can verify this fix in Nightly v84.0a1 from 29-10-2020. Thank you!
Waiting for possible uplifts to verify.
Comment 8•4 years ago
|
||
Comment on attachment 9183027 [details]
Bug 1672419 - Make sure SystemStatusBar popup menus appear in the right spot regardless of device scaling. r?mhowell
Verified on nightly, approved for 83 beta 6, thanks.
Comment 9•4 years ago
|
||
bugherder uplift |
Comment 11•4 years ago
|
||
I have verified this fix in Beta v83.0b6 on Windows 10. Thank you.
Description
•