-
Bug
-
Resolution: Fixed
-
P3
-
8u25
-
b56
-
x86_64
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084058 | emb-9 | Anton Litvinov | P3 | Resolved | Fixed | team |
JDK-8131571 | 8u66 | Anton Litvinov | P3 | Resolved | Fixed | b01 |
JDK-8086824 | 8u65 | Anton Litvinov | P3 | Resolved | Fixed | b01 |
JDK-8138052 | emb-8u65 | Unassigned | P3 | Resolved | Fixed | b01 |
Current behavior:
CPlatformWindow set bounds using setBounds() which calls native function nativeNSSetWindowBounds() -> calls the OSX function. After that ox callbacks to java using deliverMoveresizeEvent() where the peer or window associated with native window is notified of change of bounds.
In maximize() we need peer’s bound which are saved as normalBounds to use them to unmaximize.
The problem
1. Customer creates window where the size width height is (1, 1)
2. setSize call is made (600,900) which starts the setBounds process described earlier
3. setExtendedState(MAXIMIZED) is called which calls maximize(). But the callback for deliverMoveresizeEvent() has not yet processed and the the bounds we get are earlier (1,1).
4. Window is maximized.
5. Now when we try to unmaximize or iconify the window the size is set to (1,1) and we can’t see the window.
CPlatformWindow set bounds using setBounds() which calls native function nativeNSSetWindowBounds() -> calls the OSX function. After that ox callbacks to java using deliverMoveresizeEvent() where the peer or window associated with native window is notified of change of bounds.
In maximize() we need peer’s bound which are saved as normalBounds to use them to unmaximize.
The problem
1. Customer creates window where the size width height is (1, 1)
2. setSize call is made (600,900) which starts the setBounds process described earlier
3. setExtendedState(MAXIMIZED) is called which calls maximize(). But the callback for deliverMoveresizeEvent() has not yet processed and the the bounds we get are earlier (1,1).
4. Window is maximized.
5. Now when we try to unmaximize or iconify the window the size is set to (1,1) and we can’t see the window.
- backported by
-
JDK-8084058 Minimize can cause window to disappear on osx
- Resolved
-
JDK-8086824 Minimize can cause window to disappear on osx
- Resolved
-
JDK-8131571 Minimize can cause window to disappear on osx
- Resolved
-
JDK-8138052 Minimize can cause window to disappear on osx
- Resolved