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

Summary: The Debugger's Variables window auto-scroll to the top after switch to other windows
Product: platform Reporter: pzgyuanf <pzgyuanf>
Component: Outline&TreeTableAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal CC: henk89
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description pzgyuanf 2012-10-06 04:49:08 UTC
Steps:
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)

Expected:
keep the highlighting row and the scroll location.

Thanks,
Pprun

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).