Bug 202743 - Context menus disappear over screen edge
Summary: Context menus disappear over screen edge
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: thunderbird
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christopher Aillon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-08-16 07:47 UTC by Ralf Ertzinger
Modified: 2018-04-11 14:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-08 16:17:35 UTC
Type: ---
Embargoed:


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

Description Ralf Ertzinger 2006-08-16 07:47:15 UTC
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
inaccessible.

Version-Release number of selected component (if applicable):
gtk2-2.10.1-2.fc6

How reproducible:
Always

Steps to Reproduce:
1. Have a xinerama setup with spanning desktop and different resolutions on the
screens
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 12:50:41 UTC
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 13:20:50 UTC
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
menu.

Comment 3 Matthias Clasen 2006-08-16 14:38:48 UTC
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 15:02:48 UTC
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 15:33:31 UTC
never mind, thanks for testing.

Comment 6 Matěj Cepl 2008-02-08 16:17:35 UTC
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.