Skip to main content



      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 14:58 Go to next message
Eclipse UserFriend
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 15:38 Go to previous messageGo to next message
Eclipse UserFriend
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] Fri, 19 November 2004 19:30 Go to previous message
Eclipse UserFriend
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: Sat Jul 05 14:04:28 EDT 2025

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

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

Back to the top