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 08:40
Michael Röhner is currently offline Michael Röhner
Messages: 5
Registered: July 2009
Junior Member
Hello,

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

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?

Thanks,
Mike.


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: Wed Aug 20 04:47:36 EDT 2014

Powered by FUDForum. Page generated in 0.03668 seconds