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 219633 - The Debugger's Variables window auto-scroll to the top after switch to other windows
Summary: The Debugger's Variables window auto-scroll to the top after switch to other ...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
Depends on:
Reported: 2012-10-06 04:49 UTC by pzgyuanf
Modified: 2012-10-23 12:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description pzgyuanf 2012-10-06 04:49:08 UTC
1. debug a sample to open the Variables window
2. scroll down a bit and highlighting a row by click
2. switch to other window, say 'Call Stack'
3. switch back to the 'Variables' window
4. the Variable window scroll back to the top of the window (then the focus-- the highlighting row was lost)

keep the highlighting row and the scroll location.


Product Version = NetBeans IDE 7.3 Beta (Build 201210011125)
Operating System = Linux version 3.2.0-3-amd64 running on amd64
Java; VM; Vendor = 1.7.0_07
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.3-b01
Comment 1 henk89 2012-10-23 12:42:59 UTC
The issue is also reproduced in the Java environment.

By the way, we have not got a possibility to save and restore the highlighting and scrolling state of a TreeModel's node (e.g., there is the function isExpanded in the interface TreeExpansionModel, which allows providing the expansion state).