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 214005 - Scrolling the Projects window jumps back
Summary: Scrolling the Projects window jumps back
Status: RESOLVED DUPLICATE of bug 219709
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Stanislav Aubrecht
Keywords: RANDOM
Depends on:
Reported: 2012-06-11 18:01 UTC by bingalls
Modified: 2012-10-31 12:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

profile dump (68.46 KB, application/octet-stream)
2012-06-22 21:08 UTC, bingalls
log during bug (758.12 KB, application/octet-stream)
2012-06-22 21:09 UTC, bingalls

Note You need to log in before you can comment on or make changes to this bug.
Description bingalls 2012-06-11 18:01:48 UTC
After using PHP IDE with a directory tree of files that exceed height of the Project Window, scrolling that window jumps back to the last position.

Most subfolders are closed; it makes no difference, whether scrolling the directory happens with keyboard, mouse, or mouse-wheel, and in both directions.

This is not easy to reproduce, and happens after a few hours of editing various files in the project.

As a work-around, it is possible to close the Projects Window, and use the Files Window, instead.
Another work-around is to use the same environment for v7.1.2, which lacks this v7.2beta problem.
Comment 1 Marian Mirilovic 2012-06-12 06:33:17 UTC
What JDK are you using ? What is the Operating System/Window Manager ... ? Please provide more information and reopen. Thanks in advance.
Comment 2 bingalls 2012-06-12 15:26:13 UTC
I run Oracle JDK 1.7.0_04-b20, 64bit on Ubuntu 12.04 running the latest Gnome Desktop.
Remember, I have no problem with Netbeans v7.1.2, only v7.2beta.
Also, I have only the editor & project windows open. The other windows are closed, not minimized.
Sometimes I have the Navigator Window as an alternate tab to the Project Window.
The footer windows come & go, sometimes closed, sometimes minimized.
HTH, keep up the good work!
Comment 3 Jaroslav Tulach 2012-06-14 13:15:29 UTC
Please generate the state of the UI components via Ctrl-Shift-F1 into messages.log and share that.

Also try to turn on self profiling and record what happens in the system when the window jumps. See:

Reopen then, please.
Comment 4 bingalls 2012-06-22 21:08:03 UTC
Created attachment 121237 [details]
profile dump
Comment 5 bingalls 2012-06-22 21:09:31 UTC
Created attachment 121238 [details]
log during bug
Comment 6 bingalls 2012-06-22 21:11:45 UTC
Note that I have 2 large directories that are symlinks to other directories within the project.
Comment 7 Jaroslav Tulach 2012-06-22 21:21:20 UTC
A call to 
javax.swing.plaf.basic.BasicScrollBarUI.layoutHScrollbar()	0.1238294	10,3 ms (0,1%)	10,3 ms
comes from a validation of components:
javax.swing.ViewportLayout.layoutContainer()	0.1238294	10,3 ms (0,1%)	10,3 ms
Comment 8 Stanislav Aubrecht 2012-06-24 09:35:01 UTC
See also this bug on Mac OS X:
Comment 9 Marian Mirilovic 2012-06-25 08:20:39 UTC
This is the stopper for NB 7.2, please evaluate and resolve ASAP.
Comment 10 Jaroslav Tulach 2012-06-25 09:37:24 UTC
Why it can be stopper? Can anyone in Prague reproduce it?
Comment 11 Marian Mirilovic 2012-06-25 09:51:26 UTC
stopper based on QC for 7.2 : P2 reported before cut-off, not waived yet - must be resolved into 7.2
Comment 12 Jaroslav Tulach 2012-06-25 09:59:34 UTC
I am not sure when QC was, but this bug was not P2 at QC very likely. Anyway I see no reason it should be P2.
Comment 13 Marian Mirilovic 2012-06-25 10:43:37 UTC
Comment 14 Jaroslav Tulach 2012-08-21 07:46:03 UTC
Swing related issue.
Comment 15 Antonin Nebuzelsky 2012-09-14 16:01:54 UTC
-> standa
Comment 16 Stanislav Aubrecht 2012-10-31 12:51:49 UTC

*** This bug has been marked as a duplicate of bug 219709 ***