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 157209 - Maximised window unmaximises on desktop change
Summary: Maximised window unmaximises on desktop change
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-21 11:43 UTC by chrisbloe
Modified: 2009-01-23 13:01 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 chrisbloe 2009-01-21 11:43:41 UTC
To recreate:
1) Maximise the main window and leave it open (i.e. not minimise it).
2) Change desktop then go back to the desktop with Netbeans on it.
3) The window has been unmaximised.

This only happens if the window is still open, and is unaffected by other windows being open.

This does not happen all the time, only after Netbeans has been open for a while. If I leave it alone for 5 min, it
seems to sort itself out. It only seems to affect Netbeans which is why I'm bugging this here.

I am running Metacity. What other information could I provide?
Comment 1 Petr Dvorak 2009-01-21 13:45:34 UTC
Well, I am running NB on Linux daily (with Metacity) but I didn't meet this.

> What other information could I provide?

1. Post the information from Help>About here, so that we can see an exact OS, JDK and NB version.
2. Do you use compiz? There are some settings for Window Management.
3. Do another Java application suffer with this issue? Try notepad demo (Ubuntu command):

sudo apt-get install sun-java6-demo; java -jar /usr/lib/jvm/java-6-sun/demo/jfc/Notepad/Notepad.jar
Comment 2 chrisbloe 2009-01-21 14:29:39 UTC
Thanks for the quick reply.
I have Compiz installed but I don't use it.

I tried running the command but got the following error. Sorry in advance for my ignorance. Either way, NB isn't doing
it now so I'll try running another application next time it happens.

java -jar /usr/lib/jvm/java-6-sun/demo/jfc/Notepad/Notepad.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:620)...

Help -> About:

Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Linux version 2.6.27-9-generic running on i386; UTF-8; en_GB (nb)
Userdir: /home/damien/.netbeans/6.5
Comment 3 Peter Pis 2009-01-23 07:56:31 UTC
Reassigning to platform.
Comment 4 chrisbloe 2009-01-23 09:01:30 UTC
It happened yesterday. I had OpenOffice open but that wasn't affected - not sure if that falls under the Java
application category.

Are there any log files I could submit?