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 186494 - misformated text in tab names of output windows
Summary: misformated text in tab names of output windows
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P1 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-21 11:24 UTC by Tomas Danek
Modified: 2010-11-12 11:51 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (19.16 KB, image/png)
2010-05-21 11:24 UTC, Tomas Danek
Details
simple swing application to reproduce the jdk bug (2.86 KB, application/octet-stream)
2010-05-25 11:25 UTC, Stanislav Aubrecht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Danek 2010-05-21 11:24:20 UTC
Created attachment 99304 [details]
screenshot

Product Version: NetBeans IDE 6.9 RC1 (Build 201005202201)
Java: 1.6.0_20; Java HotSpot(TM) 64-Bit Server VM 16.3-b01-279
System: Mac OS X version 10.6.3 running on x86_64; MacRoman; en_US (nb)
Userdir: /Users/tomas/.netbeans/6.9rc1
-------------
after updating java on mac os, text in output tab "tab names" is misformated,  see screenshot
Comment 1 Tomas Danek 2010-05-21 11:32:44 UTC
can be reproduced with e.g. empty j2se project called "a" and "b" (the problem is not in long name)
Comment 2 Petr Jiricka 2010-05-24 08:42:46 UTC
I see the same problem.
Comment 3 Stanislav Aubrecht 2010-05-25 11:25:50 UTC
Created attachment 99428 [details]
simple swing application to reproduce the jdk bug
Comment 4 Stanislav Aubrecht 2010-05-25 11:26:53 UTC
this is a bug in apple's jdk implementation. when tab title is using html tags and a custom component is set to render tab title the html text is still being displayed.
Comment 5 Stanislav Aubrecht 2010-05-26 13:09:03 UTC
fixed in core-main 3a7d4b252013 by turning html off when running under Apple's JDK 1.6.0_20 and Aqua l&f
Comment 6 Stanislav Aubrecht 2010-05-26 13:42:30 UTC
do we want to backport this fix to release69 clone?
Comment 7 Tomas Danek 2010-05-26 13:49:37 UTC
I am for, once i verify it in trunk.
Comment 8 Tomas Danek 2010-05-27 08:42:02 UTC
hmm, still not in trunk, but i could not find this changeset also in NB-Core-build on deadlock?!
Comment 9 Stanislav Aubrecht 2010-05-27 08:54:15 UTC
sorry, i forgot to push that changeset
Comment 10 Tomas Danek 2010-05-27 09:28:21 UTC
no problem:) will verify in next core-main build
Comment 11 Antonin Nebuzelsky 2010-05-27 11:37:32 UTC
Needs to be verified and backported today. Thanks.
Comment 12 Stanislav Aubrecht 2010-05-27 12:20:54 UTC
dafe, can you pls review this fix? thanks
Comment 13 Tomas Danek 2010-05-27 12:49:26 UTC
cannot reproduce in 

Product Version: NetBeans IDE Dev (Build NB-Core-Build-4681-on-100527)
Java: 1.6.0_20; Java HotSpot(TM) 64-Bit Server VM 16.3-b01-279
System: Mac OS X version 10.6.3 running on x86_64; MacRoman; en_US (nb)
Userdir: /Users/Tomas/.netbeans/dev
Comment 14 David Simonek 2010-05-27 14:30:22 UTC
Simple and short fix, no risks - reviewed.
Comment 15 Stanislav Aubrecht 2010-05-27 14:44:38 UTC
fixed in release69 41920bf36aee
Comment 16 Tomas Danek 2010-05-28 06:52:39 UTC
verified in custom build from release69.
Comment 17 Quality Engineering 2010-05-28 08:05:58 UTC
Integrated into 'main-golden', will be available in build *201005280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3a7d4b252013
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #186494 - workaround for Apple's JDK bug - don't use html in output tab titles
Comment 18 Tomas Danek 2010-11-10 10:57:26 UTC
have to reopen. Does not work in 7.0 beta build. Problem is that there was java update on OS X, therefor 

if( version.startsWith("1.6.0_20") && isAquaLaF() ) 

in this does not catch current conditions.
Comment 19 Tomas Danek 2010-11-10 11:21:10 UTC
ok, making p1 again to make this into beta, fix should be safe.
Comment 20 Stanislav Aubrecht 2010-11-10 11:24:14 UTC
core-main a9f77303c132
Comment 21 Marian Mirilovic 2010-11-10 11:28:19 UTC
Ok, proceed with fix integration into NB 7.0 Beta, thanks in advance.
Comment 22 Stanislav Aubrecht 2010-11-10 12:32:08 UTC
transplanted to release70_beta branch as b357c723989d
Comment 23 Quality Engineering 2010-11-11 06:11:49 UTC
Integrated into 'main-golden', will be available in build *201011110000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a9f77303c132
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #186494 - HTML tab names are still broken in Apple's JDK update 22
Comment 24 Tomas Danek 2010-11-12 11:51:59 UTC
thanks, verifed in Product Version: NetBeans IDE 7.0 Beta (Build 201011120000)
Java: 1.6.0_22; Java HotSpot(TM) 64-Bit Server VM 17.1-b03-307
System: Mac OS X version 10.6.4 running on x86_64; MacRoman; en_US (nb)
Userdir: /Users/tomas/.netbeans/7.0beta