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 112589 - Debugging JFileChooser file filters freezes Desktop
Summary: Debugging JFileChooser file filters freezes Desktop
Status: CLOSED DUPLICATE of bug 93076
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Linux
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-11 19:35 UTC by rost
Modified: 2010-04-29 09:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
test case for this bug (1.47 KB, application/octet-stream)
2007-08-11 19:36 UTC, rost
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rost 2007-08-11 19:35:13 UTC
If you want to debug the file filter changing of a JFileChooser the whole desktop (tested both with KDE and GNOME) 
freezes. The only recovery is to switch to a text console and kill NetBeans or the debugged process. This way 
debugging file filter changes is just impossible!
I will attach a test case with more instructions to reproduce the bug.
Comment 1 rost 2007-08-11 19:36:19 UTC
Created attachment 46479 [details]
test case for this bug
Comment 2 rost 2007-08-11 19:44:05 UTC
OK, here are the instructions:
- open the attached test case
- set a breakpoint at line 31 (the System.out.println() statement)
- debug the test case
- when the debugger is running switch the file filter to "XML files"
- notice that from now on the desktop does no longer accepts any input from mouse or keyboard (this is the ugly bug)

Interestingly it is still possible to switch away from the desktop with the Ctrl+Alt+Fx hot keys and kill NetBeans...
Comment 3 Martin Entlicher 2007-08-13 09:53:43 UTC
This is a known limitation of debugging on X-windows.
See: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6517045

*** This issue has been marked as a duplicate of 93076 ***
Comment 4 Martin Entlicher 2007-08-13 11:33:11 UTC
I've updated debugging FAQs, see the solution provided at http://wiki.netbeans.org/wiki/view/FaqDebuggingAWTXWindows
Comment 5 Quality Engineering 2010-04-29 09:34:45 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.