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 241641 - [80cat] Detached output window not remaining on secondary screen
Summary: [80cat] Detached output window not remaining on secondary screen
Status: RESOLVED DUPLICATE of bug 238634
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-10 13:38 UTC by jmborer
Modified: 2014-02-10 15:05 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 jmborer 2014-02-10 13:38:40 UTC
After detaching the output window and dragging it to secondary screen, every time the window gets focus (click in it, for example), it returns to the primary screen.

I juste checked with 7.4.1 and it works. So it is a regression. Another difference is that the menu bar in 7.4.1 is empty and with 8.0beta it is the same bar as the one on the primary screen where it should be.

Somehow the windowing system confuses primary and secondary screens in NB 8.0 and not 7.4

Product Version: NetBeans IDE 8.0 Beta (Build 201401141042)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Mac OS X version 10.9.1 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/jeanmarc/Library/Application Support/NetBeans/8.0beta
Cache directory: /Users/jeanmarc/Library/Caches/NetBeans/8.0beta
Comment 1 Stanislav Aubrecht 2014-02-10 13:55:18 UTC

*** This bug has been marked as a duplicate of bug 238634 ***
Comment 2 jmborer 2014-02-10 14:23:14 UTC
Sorry, but I have to disagree, it works perfectly well with 7.4. I just tested it right now with the following environment:

Product Version: NetBeans IDE 7.4 (Build 201310111528)
Updates: NetBeans IDE is updated to version NetBeans 7.4 Patch 2
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Mac OS X version 10.9.1 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/jeanmarc/Library/Application Support/NetBeans/7.4
Cache directory: /Users/jeanmarc/Library/Caches/NetBeans/7.4

So it is not JDK issue... or a least there is a workaround in 7.4 that makes it work properly.
Comment 3 Stanislav Aubrecht 2014-02-10 14:42:44 UTC
(In reply to jmborer from comment #2)
> Sorry, but I have to disagree, it works perfectly well with 7.4. 

No, it does not. Try floating e.g. Project window (which is put in a Dialog container). Floating a document window works fine as it resided in a Frame container.

*** This bug has been marked as a duplicate of bug 238634 ***
Comment 4 jmborer 2014-02-10 14:46:46 UTC
Hmmm. Then in 7.4 the detached output window was probably in a Frame since it works with it. Has it moved to a Dialog window in 8.0?
Comment 5 Stanislav Aubrecht 2014-02-10 14:59:52 UTC
(In reply to jmborer from comment #4)
> Hmmm. Then in 7.4 the detached output window was probably in a Frame since
> it works with it. Has it moved to a Dialog window in 8.0?

No, but you most likely rearranged your window layout so e.g. Project window ended up in editor docking spot and was treated as a document window.
Try running 7.4 with a clean user dir.
Comment 6 jmborer 2014-02-10 15:04:00 UTC
I see. So at least I have now a workaround: detach and drag any editor window into my secondary screen, then drag the "output" window into that frame and close previously opened document. Tada: output window now remains on my second screen.
Comment 7 jmborer 2014-02-10 15:05:56 UTC
BTW: do you thing JDK team will fix the issue? I reported already several very specific issues with code example and all and never ever got any response nor ticket for my bug report. Worse it did not even appear in the bug list when searching for it. I am very pis...d of.