[Wayland] Context submenus appear in wrong position near screen edges
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: ke5trel, Assigned: jhorak)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
28.33 KB,
image/png
|
Details |
STR:
- Maximize window.
- Right-click in the bottom-right corner of page.
- Open the
Send Page to Device
submenu.
The submenu should be aligned with its menu item without covering it but is either vertically offset or does not appear at all.
Regression window for submenu position not aligned with parent menu item:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=e8b8985aa697ef4dad6ed72957186c658669bc1d&tochange=7d383b757d50494cb68ba7b1129d6457765a3314
Regressed by Bug 1546374.
Regression window for submenu positioned over the context menu:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=1720abb3a1b5872f0629f200268eb01fd15fa1d4&tochange=25176eee4a95239a5bf2c6558fe0ac46cd6df594
Regressed by Bug 1423598.
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
What is really problematic is that menus that appear outside of the window cannot be clicked on.
When they are clicked on, their color change from blue (of being in focus as the cursor is hovering them) to white and come back to blue after moving the cursor. What should happen is that the menu disappears and the action is performed.
Clicks are not registered and nothing happens outside of the flickering described.
Comment 2•5 years ago
|
||
Kestrel, do you have only one monitor or do you have a multi-monitor setup? I am trying to find out if bug 1606010 is actually a duplicate of this bug because I observed something similar to this one.
Updated•5 years ago
|
Comment 3•5 years ago
|
||
I am clearing the needinfo request because I added more information to bug 1606010.
This happened with a single display. Currently the submenu does reliably appear within the bounds of the screen and usually aligned properly with the parent item, however there are still the following issues:
- The context menu does not appear above the cursor when close to the bottom of the screen. This can cause misclicks and misalignment of submenus.
- Submenus cover the parent menu when near the right screen edge instead of appearing on the opposite side.
Comment 5•5 years ago
|
||
(In reply to Kestrel from comment #4)
This happened with a single display. Currently the submenu does reliably appear within the bounds of the screen and usually aligned properly with the parent item, however there are still the following issues:
- The context menu does not appear above the cursor when close to the bottom of the screen. This can cause misclicks and misalignment of submenus.
- Submenus cover the parent menu when near the right screen edge instead of appearing on the opposite side.
The first part is fixed in bug 1614062, the second unfortunately not yet.
Comment 6•5 years ago
|
||
See Bug 1623974 which has a patch.
Updated•5 years ago
|
Comment 7•3 years ago
|
||
Can you please test latest nightly under Wayland? A new popup handling code landed there.
Thanks.
Comment 8•3 years ago
|
||
Please re-test with new nightly as it gets another popup fixes.
Thanks.
Comment 9•3 years ago
|
||
I don't see any of the above mentioned issues with the current Nightly (using a single screen configuration), everything works as expected.
Comment 10•3 years ago
|
||
Okay, Thanks.
Description
•