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 145034 - [65cat] debug window always opens focused
Summary: [65cat] debug window always opens focused
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker with 1 vote (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-25 17:05 UTC by gholmer
Modified: 2010-04-29 09:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
"Local Variables" not in focus (103.50 KB, image/jpeg)
2008-10-21 13:15 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2008-08-25 17:05:15 UTC
[ BUILD # : 200808241401 ]
[ JDK VERSION : 1.6.0_06 ]

The new "debug" window (with threading info) opens focused whenever
the debugger is started. This is distracting and annoying. 99% of the
time what the user wants to see is "Local Variables", or in any case
what he had open last time.
Comment 1 Martin Entlicher 2008-08-26 14:38:35 UTC
Debugging window should not be opened with focus request.
Comment 2 Martin Entlicher 2008-08-26 15:44:21 UTC
Fixed in changeset:   98173:e1b868d1f258
http://hg.netbeans.org/main/rev/e1b868d1f258
Comment 3 Quality Engineering 2008-08-28 06:41:23 UTC
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/e1b868d1f258
User: mentlicher@netbeans.org
Log: #145034 - Do not activate Debugging window, just make it visible.
Comment 4 ulfzibis 2008-10-21 13:14:28 UTC
"Local Variables" is not in focus after debugger start, if located in navigator's tab group.
See attachment...
Comment 5 ulfzibis 2008-10-21 13:15:22 UTC
Created attachment 72386 [details]
"Local Variables" not in focus
Comment 6 Martin Entlicher 2008-10-21 14:03:22 UTC
Debugger windows were not written to activate themselves when they are opened. If all is in the bottom area, that's
fine, since usually the Output becomes the active one.

You're just requesting more complex behavior - when a debugger-related component is opened next to non-debugger
component, the debugger-related one should be activated. This is more an enhancement.

Debug window, which is opened in Projects, already has this logic. Thus it can be extended for all debugger windows.
Comment 7 ulfzibis 2008-10-21 15:54:40 UTC
It's not the problem, which area becomes activated/focused, it's about if one of the _new opened_ debugger tabs become
visible into front after start of debugger.
If any other window will opened manually, it also would be an error, if the regarding tab wouldn't become visible into
front.

Submitter said:
99% of the time what the user wants to see is "Local Variables", or in any case what he had open last time.

This was fixed in 98173:e1b868d1f258, but only works (as I understand), if "Local Variables" is located in bottom area.

IMHO this should also work, if "Local Variables" is located elsewhere, here: left-bottom area.
Comment 8 Martin Entlicher 2009-11-09 07:38:08 UTC
Fixed in changeset:   152635:35be9814e0ea as proposed - when a debugger-related component is opened, it's made visible.
http://hg.netbeans.org/main/rev/35be9814e0ea
Comment 9 Quality Engineering 2010-04-29 09:43:17 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.