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 198671 - ETable.setPopupUsedFromTheCorner(boolean) doesn't work as advertised
Summary: ETable.setPopupUsedFromTheCorner(boolean) doesn't work as advertised
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-17 12:05 UTC by Jiri Sedlacek
Modified: 2011-05-21 08:49 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-17 12:05:00 UTC
API JavaDoc says "The column selection corner can use either dialog or popup menu". But even if set to 'true', clicking the corner button still opens a dialog instead of requested popup menu. It turns out that the popup menu is only displayed for right mouse click.

Expected behavior: calling ETable.setPopupUsedFromTheCorner(true) should ensure that the column selection will always be displayed as popup menu.
Comment 1 Martin Entlicher 2011-05-17 14:44:40 UTC
For some strange reason the dialog/popup invocation was changed by http://hg.netbeans.org/main/rev/a59d74214b60
Comment 2 Martin Entlicher 2011-05-20 14:40:35 UTC
Fixed by changeset:   194350:1ddde2853a03
http://hg.netbeans.org/main/rev/1ddde2853a03

And merged into 7.0.1:
http://hg.netbeans.org/releases/rev/66bf17b46a8c
Comment 3 Quality Engineering 2011-05-21 08:49:26 UTC
Integrated into 'main-golden', will be available in build *201105210400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1ddde2853a03
User: mentlicher@netbeans.org
Log: #198671 The column selection dialog/popup menu invocation is corrected and made more transparent. Right mouse button always displays popup menu and left mouse button behavior is determined by ETable.isPopupUsedFromTheCorner().