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 22483 - Robot Dispatching Model destroys W2k
Summary: Robot Dispatching Model destroys W2k
Status: CLOSED INVALID
Alias: None
Product: qa
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-16 10:32 UTC by Martin Schovanek
Modified: 2011-02-17 09:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Destroyer.java (735 bytes, text/plain)
2002-04-16 10:34 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2002-04-16 10:32:07 UTC
[Nb Build 200204150100, jdk1.4.0-b92]

Run the Destoryer.java (attachement). It only call
and close
popup menu on the Filesystems node using Robot
Dispatching Model.

It causes you cannot start most W2k aplications.
Comment 1 Martin Schovanek 2002-04-16 10:34:41 UTC
Created attachment 5423 [details]
Destroyer.java
Comment 2 Alexandre Iline 2002-06-13 04:48:28 UTC
Problem is caused by this line:
        pmo.pressKey(KeyEvent.VK_ESCAPE);

PopupMenuOperator was created when robot mode was 
on, so it uses robot for reproducing.

So, robot presses right mouse button somewhere, and 
do not releases it.

Since robot uses system events, windows remember 
that right button was pushed.

I assure you, is any reproducing tool using system 
events will cause the same problem.

BTW, it's enough to just exit from NB, and 
everything returns back to normal.

Speaking theoretically, robot may cases even disk 
formatting by opening DOS prompt and typing 
"format c:" :)

Comment 3 Martin Schovanek 2003-07-16 15:43:04 UTC
VERIFIED