Issue 46549 - Some popup menus run off the screen even when there's room for the whole menu
Summary: Some popup menus run off the screen even when there's room for the whole menu
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 2.0 Beta
Hardware: PC Windows, all
: P3 Trivial with 2 votes (vote)
Target Milestone: AOO PleaseHelp
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2005-04-03 14:35 UTC by robbage
Modified: 2017-05-20 11:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

This is 8bit capture. The pointer is over the tab... (90.91 KB, image/jpeg)
2005-04-03 14:39 UTC, robbage
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description robbage 2005-04-03 14:35:44 UTC
Even when there's plenty of room for the menu to appear on the screen, some
popup menus run off the bottom of the screen.
I can reproduce this every time doing the following:

Open OOo 2.0b
Open new spreadsheet
Rightclick one of the 'Sheet' tabs at the bottom (eg "Sheet1")
The popup menu is positioned to the lower right of the mouse pointer and flows
off the bottom of the screen.
This also happens with some other popup menus when the pointer is near the
bottom of the screen.
The GUI is maximised.

I have a screencapture but I can't see how to attach it to this issue.
Comment 1 robbage 2005-04-03 14:39:50 UTC
Created attachment 24566 [details]
This is 8bit capture. The pointer is over the tab...
Comment 2 robbage 2005-04-09 05:03:20 UTC
I just realised that this issue probably relates to multiple head setup. I'm
using two monitors on a Radeon 9200. Do you check the size of the screen the
popup is going to open on?
Comment 3 frank 2005-04-15 09:09:38 UTC
As the other Applications might also be effected, I re-assign it to the
framework team.

Comment 4 jonxp 2005-05-02 10:21:26 UTC
I can confirm this.  The problem occurs when my secondary monitor's 'space'
extends beyond my primary monitor's.  It also happens in all of the apps.  To
duplicate it simply (heh.) get another monitor/graphics card and make its
resolution greater than the screen you're using OO on.  Or barring that, you can
simply adjust the secondary monitor to be 'lower' than your primary.  Then try
to open a pop-up menu toward the bottom of your screen.

Oh yeah, this is in Windows XP.

Annoying bug, makes OO inconvenient much of the time since I can't access the
pop-up menus.
Comment 5 stephan_schaefer 2005-05-02 10:49:17 UTC
You're right, the screen size used for comparison is the bounding box over all
Comment 6 stephan_schaefer 2005-05-26 10:16:58 UTC
retarget due to limited resources
Comment 7 stephan_schaefer 2005-12-05 14:16:34 UTC
ssa->hdu: problem is the GetDesktopRectPixel call which returns one bounding box
over all monitors, so if they have different resolutions it is likely that
windows are positioned off screen. the API should be extended to enumerate the
monitors and return the corresponding rects, similar to the Win32 API.
Comment 8 2005-12-20 14:56:36 UTC
Comment 9 sakaal 2008-06-21 05:13:51 UTC
I can confirm this too (Windows XP, multiple monitors). There is a workaround
when it happens, use the "Move Window" function. You can start it by holding Alt
+ Spacebar and then pressing 'M'. Then you can move the hidden window using the
cursor keys. It has usually gone off screen to the right or down, so moving it
to left/up should bring it visible again.
Comment 10 sakaal 2008-06-21 05:23:59 UTC
There is probably a duplicate #42282 (that has several votes to it).
Comment 11 Marcus 2017-05-20 11:31:14 UTC
Reset assigne to the default "".