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 223228 - Wrong column order in Variables tab
Summary: Wrong column order in Variables tab
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-04 09:03 UTC by soldatov
Modified: 2012-12-17 12:39 UTC (History)
3 users (show)

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 soldatov 2012-12-04 09:03:55 UTC
Scenario:
- Create Arguments sample
- Call context menu on project's node. Select Step into.
- Open Variables tab
- Click on Change Visible Columns button
- Select all checkboxes
- Press OK button
===>
Type   Name   Value
int    i      -16783288
int    argc   5

P.S. In Java samples first column is Name
Comment 1 henk89 2012-12-05 10:17:54 UTC
As we have not changed anything concerning the Variable table recently I suppose this is not a CND issue.
Comment 2 Jiri Kovalsky 2012-12-06 08:42:24 UTC
Product Version: NetBeans IDE Dev (Build 201212060001)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15
System: Linux version 3.0.0-12-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev
Cache directory: /home/cesilko/.cache/netbeans/dev

For the record, I cannot reproduce this on JavaSE application in today's daily build.
Comment 3 Vladimir Voskresensky 2012-12-11 07:59:57 UTC
Martin, any news? This issue cause quite a few automatic QA tests to fail within a week.

Thanks,
Vladimir.
Comment 4 Vladimir Voskresensky 2012-12-11 08:00:49 UTC
it is reproducible on C++ project
Comment 5 Martin Entlicher 2012-12-11 13:41:29 UTC
I'm able to reproduce this with C++ project.
I'll check if something changed in that area recently.
It probably has something to do with issue #204654 and issue #207418.
Comment 6 Martin Entlicher 2012-12-13 19:10:23 UTC
The disorder seems to be caused by refresh of the view, causing ETable.createDefaultColumnsFromModel() to be called.
This removes all columns and add them again, but the order gets corrupted during the removal (columnVisibleMap in OutlineTable).
Comment 7 Martin Entlicher 2012-12-14 18:51:29 UTC
It should be fixed by changeset:   243031:700653bd5786
http://hg.netbeans.org/core-main/rev/700653bd5786
Comment 8 Quality Engineering 2012-12-17 12:39:15 UTC
Integrated into 'main-golden', will be available in build *201212170919* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/700653bd5786
User: mentlicher@netbeans.org
Log: #223228: Assure that the columns are in a proper state after whole table is refreshed.