-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
6u10, 7
-
generic, x86
-
generic, windows_vista
Typically, some mouse event over a column header sorts the table column (if sorting enabled). This must not happen if the event's location is in the resize region, that is if the cursor is changed to the resize cursor. Reasons:
- inconsistent with native OS behaviour (at least in windows, don't know about others)
- additionally confusing the user because she expects nothing else but resizing (seeing the visual clue for that action)
- hinders custom actions (like f.i. adjusting column widths to maximal entry width on mouse double, that's standard native behaviour - windows again
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
take your favourite sort-enable JTable example and click into the resize region
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
there are some very dirty tricks. In SwingX we are swaying if we want to apply one or other. Without this fixed, we have the option to either drop some enhanced features or apply those dirty tricks. Both nasty ..
- inconsistent with native OS behaviour (at least in windows, don't know about others)
- additionally confusing the user because she expects nothing else but resizing (seeing the visual clue for that action)
- hinders custom actions (like f.i. adjusting column widths to maximal entry width on mouse double, that's standard native behaviour - windows again
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
take your favourite sort-enable JTable example and click into the resize region
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
there are some very dirty tricks. In SwingX we are swaying if we want to apply one or other. Without this fixed, we have the option to either drop some enhanced features or apply those dirty tricks. Both nasty ..
- duplicates
-
JDK-6862170 JTableHeader: must not resize on mouse gesture in resize region
-
- Closed
-