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 236376 - Stopping on a breakpoint in JavaFX event handler freezes a desktop
Summary: Stopping on a breakpoint in JavaFX event handler freezes a desktop
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.3.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-25 15:08 UTC by trespasserw
Modified: 2014-02-18 03:16 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 trespasserw 2013-09-25 15:08:15 UTC
While debugging a sample Ensemble application (from http://www.oracle.com/technetwork/java/javafx/samples/) the whole desktop freezes when hitting a breakpoint at ensemble.controls.SearchBox:245.

To reproduce: start the app, type something in a search box at the top, and choose any result.

Looks like JavaFX variant of http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6714678.
Comment 1 Roman Svitanic 2013-09-25 16:11:04 UTC
Could you please specify NetBeans and JDK version? Debugging works for me in dev builds, I am able to set and hit the breakpoint on mentioned place and continue as well. Thanks.

Please note when testing on dev builds: https://netbeans.org/bugzilla/show_bug.cgi?id=236120.
Comment 2 trespasserw 2013-09-25 16:28:51 UTC
Product Version: NetBeans IDE 7.3.1 (Build 201306052037)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43

Ubuntu 13.04, Unity desktop.
Comment 3 trespasserw 2013-09-25 17:02:38 UTC
Same problem in 7.4 RC1. Please note that the issue is (most probably) specific to X Window.
Comment 4 Roman Svitanic 2013-09-26 08:43:44 UTC
On Ubuntu 12.04 LTS I was able to partially reproduce the issue: I hit the breakpoint at ensemble.controls.SearchBox:245, search popup has remained focused on the top, over IDE window. I couldn't use buttons to control the debugger, but still it was possible to use keyboard alternatives (F5, F7, F8, ...).

Tested configuration:
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Linux version 3.5.0-40-generic running on amd64; UTF-8; en_US (nb)

This does not seem to NetBeans issue, but JDK/JavaFX. I am reassigning to debugger for evaluation and/or confirmation whether it is NB issue or not. If the problem is outside our scope, please reassign/close. Thanks.
Comment 5 trespasserw 2013-09-27 15:15:51 UTC
It's definitely a JavaFX issue - I just thought coming from NB team will give the issue more credibility.

I've filed https://javafx-jira.kenai.com/browse/RT-33222.
Comment 6 Martin Entlicher 2014-02-16 20:38:20 UTC
Fixed by changeset:   272284:f7f2c5d5edc0
http://hg.netbeans.org/core-main/rev/f7f2c5d5edc0
Comment 7 Quality Engineering 2014-02-18 03:16:16 UTC
Integrated into 'main-silver', will be available in build *201402180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f7f2c5d5edc0
User: mentlicher@netbeans.org
Log: #236376: Release focus grab of JavaFX applications when suspended by debugger.