This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 244314 - CTRL-TAB file switcher out of place after resolution change
Summary: CTRL-TAB file switcher out of place after resolution change
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-05 22:24 UTC by snilek
Modified: 2015-07-14 11:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description snilek 2014-05-05 22:24:46 UTC
SUMMARY:
The position of the fast file-switcher on CTRL-TAB is fixed to the center of the screen. After the change of the screen resolution (e.g. after changing output displays), the switcher is at the same nominal coordinates and therefore NOT in the center of the screen anymore. The IDE has to be restarted for the switcher to be in the center again.


STEPS TO REPRODUCE:
1. Start the IDE
2. Change the screen resolution
3. Invoke CTRL-TAB switcher.
4. -> the switcher is not in the center of the screen.


POSSIBLE SOLUTIONS/ENHANCEMENTS (just ideas):
A) update the switcher position after resolution change (i.e. check the resolution)
...or...
B) always center the switcher relative to the IDE window and not relative to the screen (better solution imho).


Thanks & best regards,
Jan Jansky
Comment 1 Stanislav Aubrecht 2014-06-06 11:04:26 UTC
This is a JDK bug reproducible with a plain Java application (at least when running in VirtualBox) - GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration() returns the same screen dimensions even after screen resolution change.
Comment 2 Antonin Nebuzelsky 2015-07-14 11:09:35 UTC
https://bugs.openjdk.java.net/browse/JDK-8041456