SWT vs Solaris Gnome desktop [message #448933] |
Sat, 15 January 2005 00:27  |
Eclipse User |
|
|
|
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 10:14  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03046 seconds