Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Resizing Windows task bar affects SWT layout
Resizing Windows task bar affects SWT layout [message #464980] Fri, 02 December 2005 13:40
Michael Röhner is currently offline Michael RöhnerFriend
Messages: 5
Registered: July 2009
Junior Member

I encountered a strange problem developing a RCP application with own
perspective switcher and own presentation layer. I think this is a SWT

Environment: Eclipse 3.1.1, Windows 2k with all Patches, Java 1.4.2_08.
RCP application.

Within one perspective, if doing a resize of the Windows taskbar, the
main shell inside the RCP application grows to the right, so that the
rightmost controls are not reachable anymore (the whole application
holds its size). If you enlarge the whole application, it seems that the
shell for the main window (perspective switcher + presentation layer)
got a setMinimumSize(approximatelay 1400,y). Another resizing of the
taskbar enlarge this furthermore, and so on (a dilettantish attempt to
visualize this see below).

Searching bug reports give no result. Same behaviour on Windows XP. The
bug is existent with normal Eclipse presentation layer, but with much
less effect. Within most of our perspectives, the effect is not visible.
On some perspective the effect is < 5 pixel. Within a perspective
without the effect, switching to a perspective with the effect after
resizing does nothing. Vice versa the effect persist. It is regardless
whether the application is the topmost active application or not.

It feels that SWT get a taskbar event (whatever this may be, I'am not
familiar with Windows events) and maps it inappriopriately.

Up to now I did not write a bug report since it seems difficult to
reproduce the effect without our whole RCP application.

Any hints?


RCP application,
* is a SWT object, right aligned with SWT layout, x = center aligned.

app resizing app
+-------+ +-----+ +-----------+
| * | | * | | * |
| x | | x | ... | x |
+-------+ +-----+ +-----------+

resize Windows taskbar ->

app resizing app
+------+ +----+ +-----------+ +-----------------+
| | | | | * | | * |
| x| | | ... | x | ... | x |
+------+ +----+ +-----------+ +-----------------+
Previous Topic:How to make styledText "visible" in other files.
Next Topic:Browser with authentication
Goto Forum:

Current Time: Sun Mar 07 18:32:35 GMT 2021

Powered by FUDForum. Page generated in 0.02062 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top