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 249782 - Breakpoints window does not re-minimise
Summary: Breakpoints window does not re-minimise
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.0.2
Hardware: PC Mac OS X
: P3 normal with 1 vote (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-13 09:38 UTC by .wojtek
Modified: 2015-07-20 13:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshots of bug (531.01 KB, image/png)
2015-05-06 07:02 UTC, stuart_d
Details

Note You need to log in before you can comment on or make changes to this bug.
Description .wojtek 2015-01-13 09:38:00 UTC
While starting debugging session Breakpoint window always switch to maximized view, which is a bit annoying. There was a comment (https://netbeans.org/bugzilla/show_bug.cgi?id=154411#c1) indicating that this is desired action, but it's annoying. I wouldn't mind that it would turn into float (like output/debugger windows, when they are already opened but minimized) but maximizing it forces user to close it / minimize it every time session is started (to save space).
Comment 1 Jiri Kovalsky 2015-02-11 15:09:44 UTC
What exactly do you mean by your "breakpoint window switched to maximized view" statement Wojciech? Breakpoints view should by default be docked in Output window hence it should copy its dimensions. Any screenshot? Thanks!
Comment 2 stuart_d 2015-05-06 06:54:26 UTC
Simple reproduction steps

1. In debugging, open breakpoints window docked
1. Open breakpoints window in non-debug view
2. Minimise it 
3. Start debugging
Comment 3 stuart_d 2015-05-06 07:02:03 UTC
Created attachment 153533 [details]
screenshots of bug
Comment 4 stuart_d 2015-05-06 07:03:30 UTC
Ignore my first comment. Didn't mean to send it. 
See the screenshots I attached instead
Comment 5 stuart_d 2015-05-06 07:05:18 UTC
It is basically the same as the Output-window bug here, except different window:
https://netbeans.org/bugzilla/show_bug.cgi?id=159356
Comment 6 Martin Entlicher 2015-05-06 13:23:41 UTC
Reproduced. Thanks for the steps.
Comment 7 Martin Entlicher 2015-05-06 16:20:32 UTC
Fixed by changeset:   287539:22d8f94e3313
http://hg.netbeans.org/core-main/rev/22d8f94e3313
Comment 8 Quality Engineering 2015-05-08 03:02:32 UTC
Integrated into 'main-silver', will be available in build *201505080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/22d8f94e3313
User: mentlicher@netbeans.org
Log: #249782: Remember the initial minimized state of debugger components and restore the minimized state after the debugger session finishes.
Comment 9 Jiri Kovalsky 2015-07-17 16:28:39 UTC
Product Version: NetBeans IDE Dev (Build 201507170001)
Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03
Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16
System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb)

I am sorry but I still cannot get "Breakpoints" view remember its minimised state from the previous debugging session. Hence reopening.
Comment 10 Martin Entlicher 2015-07-20 13:30:31 UTC
Jirko, this is not intended to work in the opposite way.
When you open a debugger-related window while there's no debugger session, it remains opened after a debugging session is started. (E.g. when you open Loaded Classes window and then start a new debug session, it remains open, even though this window is not opened in that debugging session by default.) The same approach is there with minimized windows. When a debugger session is started, we do not minimize windows, that are already opened. IMHO this is the expected behavior.

In this issue the bug was that a debugger-related window remained opened even after the debugging session was finished. And this was fixed, at least it behaves correctly for me now.