Cascade menus open outside of the visible screen when close to that position.
Affected version
- Fedora 38 Beta
- gnome-shell-44~rc-1.fc38.x86_64
- Wayland (Xorg not tested).
- No extensions used.
Bug summary
I spotted this with Firefox, but I ruled out this behaviour to be a Firefox problem, because this cannot be reproduced on KDE.
On an opened tab, the user can right click to get a context menu which seems to be a cascade menu. The submenus open to the right. However, when the opened tab is close to the right edge of the screen, the submenu still opens to the right and gets beyond the screen and is therefore not visible.
I am normally using a two monitor setup,
- when Firefox is on the right screen, the submenus are not visible [1]
- when Firefox is on the left screen, the submenus leak onto the right screen [2]
The same situation on KDE results in the submenus opening to the left correctly, when opening to the right would results in invisible items. [3]
Steps to reproduce
- Open Firefox.
- Open so many tabs to cover the entire tab bar.
- Right click the tab closest to the right edge to open the context menu.
- Select Move Tab to open the submenu.
What happened
Submenus open to the right and become invisible when opening to the right edge of the screen.
What did you expect to happen
Submenus should open to the left when on the right edge of the screen.