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 204621 - Minimized windows do not resize in JDK 7
Summary: Minimized windows do not resize in JDK 7
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 12:09 UTC by comul
Modified: 2012-10-02 09:28 UTC (History)
1 user (show)

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 comul 2011-11-03 12:09:24 UTC
The test case below executed with JDK 1.6 update 26, 27 and 29, JDK 1.7 and update 1 on GNOME desktop.

"uname -a" output: Linux cmlinuxdesk 2.6.35.14-100.fc14.i686.PAE #1 SMP Fri Oct 21 18:56:36 UTC 2011 i686 i686 i386 GNU/Linux

Test case:

1. Edit etc/nectbeans.conf file and change netbeans_jdkhome line for NetBeans JDK 7 (e.g. netbans_jdkhome="/opt/jdk1.7.0_01")
2. Open NetBeans 7.0.1
3. Minimize any window (e.g. Output, Tasks or Navigator)
4. Open minimized window then try to resize
5. Resize cursor doesn't appear, so can't resize window
6. Close Netbeans and edit etc/netbeans.conf file and change it so NetBeans can run with JDK 6 (in my platform netbeans_jdkhome="/opt/jdk1.6.0_29")
7. Open Netbeans
8. Try execute 3 and 4
9. Voila! it works.
Comment 1 Stanislav Aubrecht 2011-11-14 11:02:50 UTC
i have reproduced the problem also on ms windows. when mouse cursor hovers over a minimized window, the window slides in and then it isn't possible to resize it.
however if i click the minimized window first then resizing works fine. isn't that the same issue in your case as well?
Comment 2 Stanislav Aubrecht 2011-11-14 13:41:34 UTC
i've changed the logic to hide minimized window when mouse is clicked. please reopen if still reproducible in recent builds.

core-main 1c35ea82a185
Comment 3 comul 2011-11-14 23:27:52 UTC
Resizing doesn't work in my case by cursor hover or click, resizing cursor doesn't appear as well.
Comment 4 Stanislav Aubrecht 2011-11-15 10:29:19 UTC
(In reply to comment #3)
> Resizing doesn't work in my case by cursor hover or click, resizing cursor
> doesn't appear as well.

ok, it's a different issue then
Comment 5 Quality Engineering 2011-11-16 15:47:07 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/1c35ea82a185
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #204621 - cannot resize minimized windows
Comment 6 Stanislav Aubrecht 2012-04-13 10:26:03 UTC
Cannot reproduce in

Product Version: NetBeans IDE 7.1.1 (Build 201203012225)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Linux version 3.0.0-17-generic running on i386; UTF-8; en_US (nb)

Please reopen if still reproducible in recent builds with the latest update of JDK 1.7, thanks.
Comment 7 comul 2012-04-16 06:20:35 UTC
Bug still alive in NetBeans 7.1.1 and jdk1.7_03
By the way I use GNOME 2.32 and kernel was updated to 2.6.35.14-106.fc14.i686.PAE
Comment 8 Stanislav Aubrecht 2012-10-02 09:28:30 UTC
Works fine in

Product Version: NetBeans IDE Dev (Build 20121002-ffd4798934df)
Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01
System: Linux version 3.2.0-23-generic-pae running on i386; UTF-8; en_US (nb)