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 27567 - 3 and more level popup pushing with debug timeouts fail
Summary: 3 and more level popup pushing with debug timeouts fail
Status: CLOSED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-25 11:52 UTC by Jiri Skrivanek
Modified: 2011-02-17 09:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
my testing class (2.32 KB, text/plain)
2002-10-25 16:49 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2002-09-25 11:52:37 UTC
It is because
WindowWaiter.AfterWindowTimeout=3000. Jemmy waits
3s on each popup level and that's why 10000
timeout expires.
Solutions:

1) add JMenuOperator.PushMenuTimeout=60000 to
debug.timeouts
2) enlarge JMenuOperator.PushMenuTimeout in
JMenuOperator as suggested in issue 27160.

I prefer 2).
Comment 1 Alexandre Iline 2002-09-26 06:36:23 UTC
27160 will be fixed.

Strange thing about this issue is that 
WindowWaiter.AfterWindowTimeout default value is 0.

Where is it changed and what is the reason for that?

Comment 2 Jiri Skrivanek 2002-09-26 06:54:57 UTC
3000 comes from debug.timeouts.
Comment 3 Alexandre Iline 2002-10-22 00:31:30 UTC
Fixed by 27160 fix.
Comment 4 Jiri Skrivanek 2002-10-24 09:46:13 UTC
Verified in 2.0.5.
Comment 5 dmladek 2002-10-25 16:47:40 UTC
It doesn't seem it is fixed yet.
Just now I updated all jemmy, jelly sources anb rebuild them.

MainFrame.getMainFrame().pushMenuNoExact("Window|Dock View
Into|Explorer|Center");

doesn't work:-(Frankly speaking it happend just once from 10 attempts:-((

if you're interested in my code, I'm attaching it too
Comment 6 dmladek 2002-10-25 16:49:37 UTC
Created attachment 7779 [details]
my testing class
Comment 7 dmladek 2002-10-25 16:54:43 UTC
(maybe I wasn't clear: It can work only once from  10 attempts)
Comment 8 Jiri Skrivanek 2002-10-29 12:58:27 UTC
Works for me. It is really fixed.
Comment 9 dmladek 2002-10-29 14:15:12 UTC
Jirka is right. I'm sorry for confusing you. I've  forgot to delete 
jemmy/jelly jars which were installed as a "side effect" as a part of
jemmysupport module (I think).
So instead using fresh sources I was using old jars:-(