[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: Posible bug when maximizing an already maximized stage on Mac
From:       Tom Schindl <tom.schindl () bestsolution ! at>
Date:       2016-06-24 8:26:01
Message-ID: c1e837d0-d4ec-7761-1a60-685beb5ee8f7 () bestsolution ! at
[Download RAW message or body]

Hi,

I filed https://bugs.openjdk.java.net/browse/JDK-8160241 . As this is a
very serious bug rendering applications completely unusable on OS-X I
hope it gets some attention.

Tom

On 23.06.16 15:32, José Pereda wrote:
> No, I didn't. It didn't get much of attention.
> 
> You can go ahead.
> 
> Jose
> 
> On Thu, Jun 23, 2016 at 3:15 PM, Tom Schindl
> <tom.schindl@bestsolution.at <mailto:tom.schindl@bestsolution.at>> wrote:
> 
>     Did you ever filed a bug for that? This is a serious bug rendering
>     JavaFX applications useless.
> 
>     Tom
> 
>     On 31.03.16 11:16, José Pereda wrote:
>     > Hi all,
>     >
>     > Running this little test on a MacBook Pro Retina, OS X 10.11.4,
>     with JDK
>     > 8u77:
>     >
>     >     @Override
>     >     public void start(Stage stage) {
>     >         Button button = new Button("Click to maximize");
>     >         button.setOnAction(e -> stage.setMaximized(true));
>     >         Rectangle2D bounds = Screen.getPrimary().getVisualBounds();
>     >         stage.setScene(new Scene(new StackPane(button),
>     bounds.getWidth(),
>     > bounds.getHeight()));
>     >         stage.show();
>     >     }
>     >
>     > which shouldn't do anything at all, since the stage is already
>     maximized,
>     > turns into an iconified application, with root dimensions 0x0, stage
>     > dimensions 0x22 (height of menubar), stage.isIconified() returns
>     false, and
>     > it can't be restored again to any visible size by any means other than
>     > closing the application from the dock.
>     >
>     > A posible situation where this could happen: persisting and
>     restoring the
>     > properties (x, y, width, height and maximized) of a maximized stage.
>     >
>     >
>     > I haven't found any report of this. Should I file a bug?
>     >
>     > Thanks,
>     > Jose
>     >
>     > --
>     >
> 
> 
>     --
>     Thomas Schindl, CTO
>     BestSolution.at EDV Systemhaus GmbH
>     Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck
>     http://www.bestsolution.at/
>     Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck
> 
> 
> 
> 
> -- 
> 


-- 
Thomas Schindl, CTO
BestSolution.at EDV Systemhaus GmbH
Eduard-Bodem-Gasse 5-7, A-6020 Innsbruck
http://www.bestsolution.at/
Reg. Nr. FN 222302s am Firmenbuchgericht Innsbruck
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic