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 18805 - [core] Keyboard-traversal problems in TableModelEditor
Summary: [core] Keyboard-traversal problems in TableModelEditor
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Tomas Pavek
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2001-12-19 10:01 UTC by Marian Mirilovic
Modified: 2008-12-22 23:54 UTC (History)
1 user (show)

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 Marian Mirilovic 2001-12-19 10:01:50 UTC
[nb_release33](20011219), [jdk1.3.1](01)

Steps to reproduce:
- invoke Table Model Property Editor dialog
- select cell "Type" , push Space
- try to expand Combobox ( Space, Alt-down arrow, down arrow)
-> it isn't possible to change Type by keyboard
Comment 1 Marian Mirilovic 2001-12-19 10:42:50 UTC
2. It is possible focus disabled buttons by Shift-Tab

Steps to reproduce:
- (initial focus on Button "Insets")
- Tab, Tab, ... < focused is "Columns"-textfield, Tab to "+"
- <space> (add column)
-> Insets, Delete, Move Up/Down buttons disabled
- Shift-Tab, Shift-Tab, Shift-Tab ,... Shift-Tab
->you can give focus to disabled buttons Insets, Delete, Move Up/Down


3. Obscure Move Up/Down

Steps to reproduce:
- select Title 1 and type "My Title 1"
	1. hit Alt-W (Move Down)
	-> some new copy of column are is created in new column position !!!!

If you click on Move Up/Down by mouse it works correctly.


4. Obscure Delete/Insets

Steps to reproduce:
- select "Title 2"
- hit Alt-l (Delete)
-> last column is deleted ( not selected - selected column is deleted
only if you click on button Delete by mouse it works correctly


5. It isn't possible close dialog by Esc ( maybe jdk issue )

	
Comment 2 _ ttran 2001-12-20 11:23:44 UTC
Tomas, TableModelEditor is more or less a form editor's thing.  Can
you please take care of this issue?  Thanks
Comment 3 Tomas Pavek 2002-01-03 14:43:54 UTC
ad 1 - the combobox does not react on keybord because it is not 
focused - the JTable does not focus it when displaying.

ad 2 - this is a Swing/AWT issue - it can be demonstrated on a simple 
test form with three buttons. This is quite minor issue...

ad 3 - this looks like JTable issue - it tries to process the Alt+W 
key, the current cell is activated (switched to the "write state"), 
and although the lines are changed, the active cell remains the same 
(so it might look like the line is copied, but it is not).

ad 4 - not the last but the selected is deleted - but the titles are 
renamed automatically, so it might look like the last one would be 
deleted; this is not a bug.

ad 5 - JTable tends to swallow Esc key (as well as JComboBox).


So I see just 4 Swing issues here... I'll try to find some 
workarounds for 1, 3 and 4.
Comment 4 Tomas Pavek 2002-01-04 18:05:24 UTC
Made some workarounds for 1, 3 and 5. Fixed in 3.3.1.

org/netbeans/beaninfo/editors/CustomTableModelEditor.java
rev 1.18.6.1
Comment 5 Marian Mirilovic 2002-01-09 13:56:09 UTC
Waw, it's really very nice. Thanx Tomas :0

verified in [nb331_dev](20020109)
Comment 6 Quality Engineering 2003-07-01 16:47:09 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.