Community
Participate
Working Groups
Hi, I'm working with two screens, connected to a Matrox "DualHead" Card... That configuration is if I maximize a program window, it maximize only on one of the two screens, but I can open it on the two screens (as if it was a unique wide screen) manually by extending edges of the window to the bounds of that "big" screen... With eclipse version 2.1 everything worked fine, at startup my eclipse window was using both screens as if I had a unique wide-wide screen. With 3.0 & 3.0.1 I have to resize my window manually each time I start eclipse up to fit on both screens. Strange is : -The splash screen appears on my left monitor -The window (not maximized, but open wide) fit only on the rightmost screen -I can manually fit the screen on the two screensby moving eclipse left edge to my leftmost screen left border. But nothing seems saved, and next time I'll startup eclipse I'll have to resize it manually again...
This is easily reproduced: 1) Open a single Eclipse window, and stretch it across both monitors 2) Close and restart Eclipse Notice that Eclipse will only occupy one of the two monitors. The trouble is, in many cases this would be considered a feature, not a bug. Let me guess: you must have a pair of snazzy flatscreens where the visible area goes right to the edge of the monitor, right? Unfortunately, most of us dual-monitor folks aren't so lucky: we're stuck with monitors that have some sort of non-viewable region around the edge, making a window pretty much unreadable if it spans more than one monitor. Usually, windows end up spanning multiple monitors by accident (the user changed resolutions, moved the taskbar, repositioned their monitors, etc.)... and this stops the window from being initially unreadable or ending up completely obscured by the taskbar or offscreen entirely. I'd be inclined to close this one as WONTFIX. Those lucky folks who have borderless monitors can choose drivers that report a pair of monitors as though it was one giant monitor... or use utilities like UltraMon that have a maximize-across-all-monitors feature. In case I'm overruled, here's how to fix it. Change WorkbenchWindow.initializeBounds to the following: protected void initializeBounds() { Point size = getInitialSize(); Point location = getInitialLocation(size); getShell().setBounds(new Rectangle(location.x, location.y, size.x, size.y)); } BTW, this fix does NOT go in the JFace Window class.
Well, no, sorry, I have biiiiig borders around my screens, but the way I split windows inside eclipse allow me to use it on two screens (right screen is editors, left screen everything else). My question is : If I quit eclipse after having sized it the way I feel confortable to work with, why doesn't eclipse re-use that size when it is launched again ? Version 2.1 did that perfectly in fact... At least should it be a configurable option of the editor if you think in some cases it my be a "feature" (having to resize my favorite IDE each time I launch it is pretty boring (well, doesn't take me hours to resize it, of course ;-) )) Ciao, r0main
I guess you're right. I personally NEVER want any window to span multiple monitors, but the behavior you're asking for is the standard behavior and Windows multimonitor users are used to moving windows back onscreen whenever they switch resolutions or reposition their monitors.
Okay, fixed in HEAD, 3.1 stream. BTW, you might want to try running with multiple maximized Eclipse windows. I find that preferable to a single Eclipse window that spans multiple monitors.
Verified in I200411022000