-
Bug
-
Resolution: Fixed
-
P3
-
8, 9, 10
-
b01
-
x86
-
os_x
FULL PRODUCT VERSION :
java version "1.8.0_152-ea"
Java(TM) SE Runtime Environment (build 1.8.0_152-ea-b05)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b05, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
macOS Sierra 10.12.6 (16G29)
A DESCRIPTION OF THE PROBLEM :
When an already maximized window is moved by dragging its title bar, double clicking its title bar no longer repositions the window. While the size of the window is already maximized, the positions should be adjusted to fill the entire screen. Instead the windows position is not adjusted at all.
REGRESSION. Last worked in version 7u80
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
- Run the test program
- Move the window by dragging it by the title bar
- Double click the title bar
- The window remains at its current location instead repositioning itself to fill the entire screen
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The window should reposition itself to fill the entire screen
ACTUAL -
The window remains at its current position
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
public class DoubleClickTitleBarTest {
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
test();
}
});
}
private static void test() {
JFrame frame = new JFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.pack();
frame.setSize(200, 200);
frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
frame.setVisible(true);
}
}
---------- END SOURCE ----------
java version "1.8.0_152-ea"
Java(TM) SE Runtime Environment (build 1.8.0_152-ea-b05)
Java HotSpot(TM) 64-Bit Server VM (build 25.152-b05, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
macOS Sierra 10.12.6 (16G29)
A DESCRIPTION OF THE PROBLEM :
When an already maximized window is moved by dragging its title bar, double clicking its title bar no longer repositions the window. While the size of the window is already maximized, the positions should be adjusted to fill the entire screen. Instead the windows position is not adjusted at all.
REGRESSION. Last worked in version 7u80
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
- Run the test program
- Move the window by dragging it by the title bar
- Double click the title bar
- The window remains at its current location instead repositioning itself to fill the entire screen
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The window should reposition itself to fill the entire screen
ACTUAL -
The window remains at its current position
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.JFrame;
import javax.swing.SwingUtilities;
public class DoubleClickTitleBarTest {
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
test();
}
});
}
private static void test() {
JFrame frame = new JFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.pack();
frame.setSize(200, 200);
frame.setExtendedState(JFrame.MAXIMIZED_BOTH);
frame.setVisible(true);
}
}
---------- END SOURCE ----------