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 21769 - ComponentOperator.clickForPopup() should call makeComponentVisible()
Summary: ComponentOperator.clickForPopup() should call makeComponentVisible()
Status: CLOSED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P4 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-21 10:40 UTC by Jiri Skrivanek
Modified: 2011-02-17 09:32 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 Skrivanek 2002-03-21 10:40:35 UTC
It can happen that a window holding a component on which we want to invoke popup
menu is hidden behind another window. In such case test fails.
I suggest to call makeComponentVisible() first:

553: public void clickForPopup(int x, int y, int mouseButton) {
	makeComponentVisible();	
	clickMouse(x, y, 1, mouseButton, 0, true);
     }
Comment 1 Alexandre Iline 2002-03-26 07:22:42 UTC
diff -r1.2 ComponentOperator.java
553a554
> 	makeComponentVisible();

Comment 2 Jiri Skrivanek 2002-03-26 08:13:05 UTC
Verified.