Bug 202743 - Context menus disappear over screen edge
Context menus disappear over screen edge
Product: Fedora
Classification: Fedora
Component: thunderbird (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Christopher Aillon
Depends On:
  Show dependency treegraph
Reported: 2006-08-16 03:47 EDT by Ralf Ertzinger
Modified: 2018-04-11 10:53 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-08 11:17:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Screenshot of offscreen menu (87.87 KB, image/png)
2006-08-16 09:20 EDT, Ralf Ertzinger
no flags Details

  None (edit)
Description Ralf Ertzinger 2006-08-16 03:47:15 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):

How reproducible:

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
Actual results:
Context menu is placed below the cursor, outside the visible range

Expected results:
Menu placed above cursor

Additional info:
Comment 1 Matthias Clasen 2006-08-16 08:50:41 EDT
Please use the gimp's "Aquire Screenshot" feature with a timeout to acquire 
a screenshot while the menu is up
Comment 2 Ralf Ertzinger 2006-08-16 09:20:50 EDT
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
Comment 3 Matthias Clasen 2006-08-16 10:38:48 EDT
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 ?
Comment 4 Ralf Ertzinger 2006-08-16 11:02:48 EDT
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.
Comment 5 Matthias Clasen 2006-08-16 11:33:31 EDT
never mind, thanks for testing.
Comment 6 Matěj Cepl 2008-02-08 11:17:35 EST
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.]

Note You need to log in before you can comment on or make changes to this bug.