Bug 32366 - Next Editor, Next View, Next Perspective incorrectly centering on multi-monitor systems
Summary: Next Editor, Next View, Next Perspective incorrectly centering on multi-monit...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.1 RC2   Edit
Assignee: Eduardo Pereira CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on: 19824
Blocks:
  Show dependency tree
 
Reported: 2003-02-20 12:38 EST by Paul CLA
Modified: 2003-03-03 19:02 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul CLA 2003-02-20 12:38:50 EST
The "list widget" that displays when the hot key for "Next Editor", "Next 
View", and "Next Perspective" is pressed, centers itself across the whole 
desktop area.  For multi-monitor systems (assuming a side by side layout), 
this means the list appears half on one monitor and half on the other, even 
though the main workbench window is only displayed on one monitor.

The list that appears should probably be centered on the workbench window's 
rectangle and then possibly clipped on the desktop area in the case a user has 
the workbench window hanging "off" the desktop by a substantial amount.

"Non-standard" desktop areas could alert the code to a potential multi-monitor 
configuration.  If the desktop isn't a standard dimension for the user's 
platform, 640x480, 800x600, 1024x768, etc...multiple monitors (or some 
scrolling desktop feature of the video driver) is in use.
Comment 1 Paul CLA 2003-02-28 20:38:42 EST
This may or may not be related, but the "code completion" lists, help panes, 
and Quick Fix choice that popup in the editor also overlap between both 
monitors.
Comment 2 Nick Edgar CLA 2003-03-03 14:50:55 EST
Please advise on whether this is possible to handle this properly with the 
current SWT APIs.  If there is a way, I'd like to fix this for 2.1.
Comment 3 Nick Edgar CLA 2003-03-03 14:52:27 EST
I guess one option would be to center the prompter in the parent window, rather 
than the display.
Comment 4 Steve Northover CLA 2003-03-03 15:16:12 EST
Moving back to UI.  We are hoping to get the multi monitor API in for 2.1.1.  
At that time, you could fix it.  Alternately, centering on the parent will 
work too.
Comment 5 Nick Edgar CLA 2003-03-03 15:27:17 EST
Should try this, but need to ensure it works reasonably for smaller windows.
Comment 6 Eduardo Pereira CLA 2003-03-03 19:02:53 EST
Fix released to the HEAD stream. (CyclePartAction).