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

Summary: ETable.setPopupUsedFromTheCorner(boolean) doesn't work as advertised
Product: platform Reporter: Jiri Sedlacek <jis>
Component: Outline&TreeTableAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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