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.
Created attachment 124342 [details] Spaces in project view. Sometimes, usually after code reformatting via Alt+Shift+F, in project view i see big empty spaces, which looks like invisible project elements. Problem reproduces on WIndows 7 x64 and Windows 8 x64 Release Preview, with JDK 1.7.0_07 and 1.7.0_04. After collapsing and expanding some nodes in project view spaces is removed. See attachment.
*** Bug 218742 has been marked as a duplicate of this bug. ***
I've moved all tree events to EDT, hopefully it'll help. core-main 42c0df6eb40f
Have you ever observed such misbehaviour? There is VisualizerNode.QUEUE that is supposed to guarantee that all events from (Visualizer)Nodes are delivered in EDT. Simple assert EventQueue.isDispatchThread() might be more valuable...
(In reply to comment #3) > Have you ever observed such misbehaviour? There is VisualizerNode.QUEUE that is > supposed to guarantee that all events from (Visualizer)Nodes are delivered in > EDT. > No, it's just a wild shot. > Simple assert EventQueue.isDispatchThread() might be more valuable... That would be lost in release builds anyway.
Integrated into 'main-golden', will be available in build *201210010929* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/42c0df6eb40f User: S. Aubrecht <saubrecht@netbeans.org> Log: #218335 - attempt to fix broken tree layout
Bug is still exist in dev build Product Version: NetBeans IDE Dev (Build 201210070002) Updates: Updates available Java: 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01 System: Windows 8 version 6.2 running on amd64; Cp1251; en_US (nb) User directory: C:\Users\anton\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\anton\AppData\Local\NetBeans\Cache\dev Also if i click on the empty space, NullReferenceException was occured. See report http://statistics.netbeans.org/analytics/detail.do?id=193286
(In reply to comment #6) > Bug is still exist in dev build Do you connect to running IDE using Remote Desktop by any chance?
Last time i've seen this bug after end RDP session (i connect to my notebook via RDP, do some work, and after i start work directly, i seen this bug). (In reply to comment #7) > (In reply to comment #6) > > Bug is still exist in dev build > Do you connect to running IDE using Remote Desktop by any chance?
Then it's probably similar to issue #208060 RDP changes some desktop property which updates UI for the whole component hierarchy. If the tree layout is being recalculated at that moment there might be some problems as renderers and other stuff may get reset. I suggest decreasing priority to P4 unless someone can reproduce without accessing the IDE through remote desktop in Windows.
I had it happen to me today on Windows 7, and I was not connecting remotely. In fact, it happened just after I modified one of my Maven-based projects' pom.xml. At the same time, the project configuration combo box on the toolbar also started misbehaving. And I do seem to recall that this was also the case when it happened before. Screenshot to follow.
Created attachment 125703 [details] Misbehaving "set project configuration" combo box
(In reply to comment #10) > I had it happen to me today on Windows 7, and I was not connecting remotely. In > fact, it happened just after I modified one of my Maven-based projects' > pom.xml. > > At the same time, the project configuration combo box on the toolbar also > started misbehaving. And I do seem to recall that this was also the case when > it happened before. Screenshot to follow. Did you change your screen resolution or color depth or desktop size or anything like at that time?
No, I didn't make any display changes.
(In reply to comment #10) > I had it happen to me today on Windows 7, and I was not connecting remotely. In > fact, it happened just after I modified one of my Maven-based projects' > pom.xml. > > At the same time, the project configuration combo box on the toolbar also > started misbehaving. And I do seem to recall that this was also the case when > it happened before. Screenshot to follow. If project combo box is broken then it's most likely because some desktop property has changed, as in issue #208060 No idea what it could be though...
Integrated into 'main-golden', will be available in build *201210130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ac488bb0d9c6 User: S. Aubrecht <saubrecht@netbeans.org> Log: reverting fix for #218335 as it isn't working
I am not sure what is the connection of broken combo to spaces in project view. Can anyone explain that to me?