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 198706 - ETable popup menu for hiding columns doesn't display column names
Summary: ETable popup menu for hiding columns doesn't display column names
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Outline&TreeTable (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 14:06 UTC by Jiri Sedlacek
Modified: 2011-05-28 12:17 UTC (History)
0 users

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 Jiri Sedlacek 2011-05-18 14:06:57 UTC
Used ETable.setPopupUsedFromTheCorner(true), the popup menu for showing/hiding table columns doesn't display column names. When using a dialog for showing/hiding table columns, column names are displayed correctly.

Expected behavior: both dialog and popup menu should display defined column names.

Seems to be caused by http://hg.netbeans.org/main/rev/a59d74214b60.
Comment 1 Martin Entlicher 2011-05-20 14:14:26 UTC
In debugger views both column name and column description are displayed.
The content of popup menu is identical to the dialog in debugger views.

But in the code the retrieval of column display name differs. It needs to be unified.
Comment 2 Martin Entlicher 2011-05-27 18:10:58 UTC
Fixed by changeset:   194780:628d8cec5534
http://hg.netbeans.org/main/rev/628d8cec5534

Merged into release701 branch as changeset:   199450:9e51c415e54b
Comment 3 Quality Engineering 2011-05-28 12:17:08 UTC
Integrated into 'main-golden', will be available in build *201105280401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/628d8cec5534
User: mentlicher@netbeans.org
Log: #198706 Use the same approach to find column name and description for both popup and dialog selection.