Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT vs Solaris Gnome desktop
SWT vs Solaris Gnome desktop [message #448933] Sat, 15 January 2005 05:27 Go to next message
Michael Brown is currently offline Michael BrownFriend
Messages: 20
Registered: July 2009
Junior Member
I have a standalone SWT app that that creates its main dialog box shell as:
display = new Display();
shell = new Shell(display, SWT.RESIZE|SWT.TITLE);

As expected, I get a main shell with no icon or min/max/close buttons in the
title bar. This works on WinXP, MacOSX, and Solaris 9 on the CDE desktop.
But on Solaris 9 Gnome desktop I get min/max/close buttons (and icon? Don't
recall at the moment.).

Any ideas what's going on? Is there something special I need to do with
Gnome? Is this a SWT bug?

I haven't yet tried the Gnome desktop on other platforms, e.g. Linux.

I'm using Eclipse/SWT 3.0.0. I've downloaded and installed 3.0.1 on WinXP,
but not yet the other platforms. The 3.0.1 release notes list 268 bugs
addressed, but none of the bug titles sounded like my problem. And I didn't
find anything similar in the Eclipse bugs database, though I'll admit I'm
not entirely comfortable/confident yet with searching the database.

Thanks...

Mike
Re: SWT vs Solaris Gnome desktop [message #449102 is a reply to message #448933] Tue, 18 January 2005 15:14 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
This is probably a case of the window manager choosing to not give the exact
set of shell decorations you've requested. Shell styles like SWT.RESIZE and
SWT.TITLE are hints to the window manager of what you want, but it's not
obliged to give them, and there isn't anything that swt can do about it.
Previous report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=27423

Grant

"Michael Brown" <mab@purdue.edu> wrote in message
news:csa9k6$spv$1@www.eclipse.org...
> I have a standalone SWT app that that creates its main dialog box shell
as:
> display = new Display();
> shell = new Shell(display, SWT.RESIZE|SWT.TITLE);
>
> As expected, I get a main shell with no icon or min/max/close buttons in
the
> title bar. This works on WinXP, MacOSX, and Solaris 9 on the CDE desktop.
> But on Solaris 9 Gnome desktop I get min/max/close buttons (and icon?
Don't
> recall at the moment.).
>
> Any ideas what's going on? Is there something special I need to do with
> Gnome? Is this a SWT bug?
>
> I haven't yet tried the Gnome desktop on other platforms, e.g. Linux.
>
> I'm using Eclipse/SWT 3.0.0. I've downloaded and installed 3.0.1 on WinXP,
> but not yet the other platforms. The 3.0.1 release notes list 268 bugs
> addressed, but none of the bug titles sounded like my problem. And I
didn't
> find anything similar in the Eclipse bugs database, though I'll admit I'm
> not entirely comfortable/confident yet with searching the database.
>
> Thanks...
>
> Mike
>
>
Previous Topic:addCTabFolderListener
Next Topic:Shell without image in title bar
Goto Forum:
  


Current Time: Thu Dec 05 17:46:20 GMT 2019

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

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

Back to the top