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 222931 - Dialogue boxes appearing halfway off window (middle of virtual desktop?) on 2 monitor Ubuntu
Summary: Dialogue boxes appearing halfway off window (middle of virtual desktop?) on 2...
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: DUAL_MONITOR
Depends on:
Blocks:
 
Reported: 2012-11-28 22:18 UTC by therefromhere
Modified: 2012-11-29 18:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of bugged dialogue (1.24 MB, image/png)
2012-11-29 18:39 UTC, therefromhere
Details
Same with openjdk (1.08 MB, image/png)
2012-11-29 18:44 UTC, therefromhere
Details

Note You need to log in before you can comment on or make changes to this bug.
Description therefromhere 2012-11-28 22:18:43 UTC
Some dialogue boxes - at least "Confirm Import Settings" and "Can't refactor here" (PHP) are appearing almost off my screen - I think they're centred on the right-hand edge of the right-hand screen.

I suspect they're trying to be in the centre of my desktop and failing.

This is on a 2-monitor Ubuntu 12.04 machine, where the *right hand* screen is the primary one.

I also suspect this might be related to another (fixed) bug I reported for the same setup: http://netbeans.org/bugzilla/show_bug.cgi?id=218322

Confirmed on 

netbeans-7.3beta2-php-linux.sh
and 
netbeans-trunk-nightly-201211270002-php-linux.sh

Java version:

$ java -showversion
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
Comment 1 therefromhere 2012-11-28 22:23:12 UTC
Confirmed that changing the primary monitor to be the left-hand one fixes the problem.
Comment 2 Stanislav Aubrecht 2012-11-29 09:30:30 UTC
Please attach a screen shot and reopen, thanks.
Also try running NetBeans with Oracle JDK 1.7
Comment 3 therefromhere 2012-11-29 18:39:41 UTC
Created attachment 128601 [details]
Screenshot of bugged dialogue

I'm not getting quite the same effect as before (possibly because I've toggled which is the primary monitor?)

Now with the right-hand screen as the primary, the dialogue appears close to the right edge of that screen - previously, it was further to the right (so the Yes button was onscreen but the No was off).

I believe this is supposed to be centred on the screen, since that's what happens when the left is the primary.
Comment 4 therefromhere 2012-11-29 18:44:46 UTC
Created attachment 128602 [details]
Same with openjdk

OK, so OpenJDK triggers the bug.

This screenshot is with openjdk (version as listed in ticket), and is the bug I was referring to.

The other screenshot from my previous comment was with Oracle jdk1.7.0_07