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 166253 - Debugger views sorting not persistent, but columns remain marked as "sorted by"
Summary: Debugger views sorting not persistent, but columns remain marked as "sorted by"
Status: RESOLVED DUPLICATE of bug 148389
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-29 13:12 UTC by Vojtech Sigler
Modified: 2009-05-29 21:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (30.52 KB, image/png)
2009-05-29 13:13 UTC, Vojtech Sigler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vojtech Sigler 2009-05-29 13:12:02 UTC
Product Version: NetBeans IDE 6.7 RC1 (Build 200905282243)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb)

Also confirmed in dev build 200905290201.

In most debugger views (Watches, Variables, Sessions, Breakpoints, Threads, not Loaded Classes and not verifiable in
views with just one column) when I click on a column title to sort the table by that column, it sorts the table and the
title becomes bold (+ an arrow is shown). When switch to a different view and then back, the table is no longer sorted
by that column, but the column is still bold. This could also be an issue of OutlineView or something else.

Steps to reproduce:

1) Debug a project
2) Open Variables view 
3) Click on Name (turns bold and an arrow is shown)
4) Switch to e.g. Output View and back to Variables
5) sorting is back to default, click on Type (turns bold and an arrow is shown)
6) Switch to e.g. Output View and back to Variables
7) sorting is back to default, click on Value (turns bold and an arrow is shown)
8) Switch to e.g. Output View and back to Variables
9) now all columns are bold with an arrow indicating desc/asc order, but the table is in the default sort order

Expected behavior 1: The views persist sorting, when I change from and back to a view and click on a different row
title, only that one will be bold (+ showing an arrow)

Expected behavior 2: The views don't persist sorting, when I change from and back to a view, the sorting is reset to
default and no column title is highlighted in bold and showing an arrow
Comment 1 Vojtech Sigler 2009-05-29 13:13:00 UTC
Created attachment 82971 [details]
Screenshot
Comment 2 Martin Entlicher 2009-05-29 21:34:31 UTC
After I have start to persist sorting, bug in Outline was exposed.

*** This issue has been marked as a duplicate of 148389 ***