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 241746 - Options dialog does not open at last position on dual screen.
Summary: Options dialog does not open at last position on dual screen.
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 7.4
Hardware: PC Linux
: P1 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-12 08:53 UTC by thomas_hopf
Modified: 2014-02-14 02:56 UTC (History)
0 users

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 thomas_hopf 2014-02-12 08:53:23 UTC
Hello,

the Options dialog does not open at last position on dual screen.
The reason is a wrong implementation in the getUserLocation() method. The Utilities.getUsableScreenBounds() does not return the complete rectangle of the dual screen.
This is annoying when you work on a dual screen when you have your Netbeans Platform Application on one screen and you would like to have your Options dialog on the other screen. After closing the Options dialog it does not open at the last close position. This could be fixed by returning the complete dual screen bounds via Utilities.getUsableScreenBounds() or by offering a position parameter when opening via OptionsDisplayer.open() methods.
Comment 1 Theofanis Oikonomou 2014-02-12 15:23:05 UTC
Changeset: 04f663cb55a0
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2014-02-12 16:24
Message:
Comment 2 Theofanis Oikonomou 2014-02-12 15:24:46 UTC
now the options window always opens in the last position if the display can accommodate the whole window. If not then it defaults to the center of the ide.
Comment 3 Quality Engineering 2014-02-14 02:56:01 UTC
Integrated into 'main-silver', will be available in build *201402140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/04f663cb55a0
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Task #241746 - Options dialog does not open at last position on dual screen.