Red Hat Bugzilla – Bug 202743
Context menus disappear over screen edge
Last modified: 2018-04-11 10:53:58 EDT
Description of problem:
This is a visual problem, and I seem to be unable to get a screen capture of it.
I'll try to explain it.
I have a xinerama setup with two screens. The desktop spans both screens. The
right screen is running at 1600x1200, the left one at 832x624 (the graphics card
is kind of crappy, and that's the maximum resolution possible).
When using gtk programs that display right-click context menus of some sort
these menus are usually positioned so that the menu is completely visible on the
screen, normally to the right and below the current mouse cursor position.
If the mouse cursor is too close to the bottom of the screen, the menu is
positioned above the cursor.
This works fine on the right screen, but does not work on the left one. When a
program displays a context menu on the left screen and the cursor is close to
the bottom the menu is nonetheless positioned below the cursor, making it mainly
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have a xinerama setup with spanning desktop and different resolutions on the
2. Start a gtk2 program on the screen with the lower resolution
3. Get the program to display a context menu while the mouse cursor is close to
the bottom of the screen
Context menu is placed below the cursor, outside the visible range
Menu placed above cursor
Please use the gimp's "Aquire Screenshot" feature with a timeout to acquire
a screenshot while the menu is up
Created attachment 134305 [details]
Screenshot of offscreen menu
Thunderbird is running maximised on the left screen. The mouse cursor is
invisible on the screen shot but was at the upper left corner of the popup
Can you please try to reproduce this issue with gtk-demo ?
The right pane is a text view that has a context menu. Can you
get that to similarly pop up offscreen ?
gtk-demo does not show this behaviour. It seems just Mozilla based programs do
this, I am very sorry for not testing this properly before.
never mind, thanks for testing.
Since this bugzilla report was filed, we have seriously upgraded Gecko-related
packages in Rawhide, which may have resolved this issue. Users who have
experienced this problem are encouraged to upgrade their system to the latest
version of their distribution available.
Closing this bug as CANTFIX. Please, reopen, if this bug is still reproducable
on the latest update of your distribution.
[This is mass-closing of bugs which seem to be too old and irrelevant anymore;
we are sorry, if we are closing your bug in mistake; please, don't hesitate to
reopen, if it is still alive issue.]