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 24735 - TreeTable events handling problem during GUI testing
Summary: TreeTable events handling problem during GUI testing
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: akemr
URL:
Keywords: T9Y
Depends on:
Blocks: 24519
  Show dependency tree
 
Reported: 2002-06-13 10:43 UTC by Jiri Skrivanek
Modified: 2008-12-22 18:59 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 Jiri Skrivanek 2002-06-13 10:43:17 UTC
Cell in a TreeTable doesn't become editable when
click on it by our UI testing tool. What we
exactly do:

- find TreeTable instance
- send following events to the instance
	- MOUSE_ENTERED
	- MOUSE_PRESSED
	- MOUSE_RELEASED
	- MOUSE_CLICKED
- after that cell is selected but not editable

The difference from the real mouse input is that
MOUSE_CLICKED event is consumed by TreeTableView.
When I didn't send MOUSE_CLICKED by our tool, it
worked.
So, I think the problem is in TreeTable class.
There should not be called processMouseEvente) in
method mouseClicked().
Comment 1 Jan Becicka 2002-06-13 12:22:22 UTC
Jirka found some workaround for issue 24519. Lowering priority.
Comment 2 Jiri Skrivanek 2002-06-18 09:54:30 UTC
To reproduce:

- run following by internal executor (mount nb_all/jemmy/src before)

        String label = "Import Management Tool";
        JDialogOperator dialog = new JDialogOperator(label);
        JTableOperator table = new JTableOperator(dialog);
        table.clickOnCell(2, 3);

- open an import management tool dialog for a class with unresolved
identifiers
- it will click on third row and fourth column but it doesn't become
editable

Comment 3 akemr 2002-06-18 13:10:03 UTC
Thanks for reproducing example.

Fixed in trunk.
Comment 4 Jiri Skrivanek 2002-06-19 08:52:44 UTC
Verified in 200206190100.