Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » [Mac] Shell.getMaximized() always returning TRUE?
[Mac] Shell.getMaximized() always returning TRUE? [message #446189] Fri, 19 November 2004 19:58 Go to next message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Hi,

I wonder if this is a bug, or intentional behaviour, but when calling
Shell.getMaximized() on a Mac, I am always getting a "TRUE", regardless
of the state of the Shell (Maximized or not).

Is it because on Mac there is no real "Maximize Shell" button like on
Windows or Linux?

I did not find a comment about that in the JavaDoc.

Regards,
ben
Re: [Mac] Shell.getMaximized() always returning TRUE? [message #446191 is a reply to message #446189] Fri, 19 November 2004 20:38 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
Sounds like a bug. Please enter a bug report.

"Benjamin Pasero" <bpasero@rssowl.org> wrote in message
news:cnlj7u$u7l$1@www.eclipse.org...
> Hi,
>
> I wonder if this is a bug, or intentional behaviour, but when calling
> Shell.getMaximized() on a Mac, I am always getting a "TRUE", regardless
> of the state of the Shell (Maximized or not).
>
> Is it because on Mac there is no real "Maximize Shell" button like on
> Windows or Linux?
>
> I did not find a comment about that in the JavaDoc.
>
> Regards,
> ben
Re: [Mac] Shell.getMaximized() always returning TRUE? [message #446203 is a reply to message #446191] Sat, 20 November 2004 00:30 Go to previous message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Hm, well I played around with shell.setMaximized and shell.getMaximized
on my Mac. It turns out, that once shell.setMaximized is called with
either TRUE or FALSE, that value remains, regardless how the Shell is
changed. I think that's ok, since on Mac, windows dont have something
like a "Maximize" button.

On the other hand, calling setMaximized(true) on a Shell maximizes the
Shell (I guess the size of the Shell is just set to the maximum value).

I feel ok with ignoring the maximized flag on a Shell on Mac. Maybe
Andre could comment on this issue.

Ben

> Sounds like a bug. Please enter a bug report.
>
> "Benjamin Pasero" <bpasero@rssowl.org> wrote in message
> news:cnlj7u$u7l$1@www.eclipse.org...
>
>>Hi,
>>
>>I wonder if this is a bug, or intentional behaviour, but when calling
>>Shell.getMaximized() on a Mac, I am always getting a "TRUE", regardless
>>of the state of the Shell (Maximized or not).
>>
>>Is it because on Mac there is no real "Maximize Shell" button like on
>>Windows or Linux?
>>
>>I did not find a comment about that in the JavaDoc.
>>
>>Regards,
>>ben
>
>
>
Previous Topic:Widgets not shown until the shell is resized
Next Topic:Problem with Viewer filter .. please advice
Goto Forum:
  


Current Time: Thu Dec 03 21:13:55 GMT 2020

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

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

Back to the top