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 43018 - Tab labels should be antialiased in GTK
Summary: Tab labels should be antialiased in GTK
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: _ tboudreau
URL: http://developer.java.sun.com/develop...
Keywords: GTK, PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-05-10 16:13 UTC by Jesse Glick
Modified: 2008-12-22 18:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot #1 (5.24 KB, image/png)
2004-05-10 16:15 UTC, Jesse Glick
Details
Screenshot #2 (3.03 KB, image/png)
2004-05-10 16:15 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-05-10 16:13:53 UTC
JDK 1.5 b50, GTK. Menu items are antialiased.
Output window subtab lavels are antialiased. Yet
NB-provided tabs (inside Documents window,
Projects, etc.) are not antialiased.
Comment 1 Jesse Glick 2004-05-10 16:15:45 UTC
Created attachment 14792 [details]
Screenshot #1
Comment 2 Jesse Glick 2004-05-10 16:15:54 UTC
Created attachment 14793 [details]
Screenshot #2
Comment 3 _ tboudreau 2004-05-11 01:42:12 UTC
Interesting.  Last I talked with anyone on the Swing team, antialiasing wasn't going to be 
supported in GTK on 1.5 for performance reasons.  Guess someone changed their mind.
Comment 4 _ tboudreau 2004-05-11 09:29:37 UTC
Radim, should the PERFORMANCE keyword be here?  Turning on antialiasing to match the 
rest of the UI will *reduce* not increase performance...
Comment 5 Jesse Glick 2004-05-11 11:55:49 UTC
I guess that's Radim's point - potential performance loss. However the
total number of tab labels being displayed is pretty small so I think
it's unlikely there would be any noticeable slowdown.
Comment 6 Jesse Glick 2004-05-12 16:55:38 UTC
See Java bug summary for details. Should match desktop antialiasing
settings, apparently.
Comment 7 _ tboudreau 2004-05-12 17:49:23 UTC
Well, that's nice and straightforward.  Hopefully it will be the same call on Windows (I'm 
not holding my breath).
Comment 8 _ tboudreau 2004-06-27 01:11:00 UTC
Checking in src/org/netbeans/swing/tabcontrol/plaf/ColorUtil.java;
/cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/ColorUtil.java
,v  <--  ColorUtil.java
new revision: 1.4; previous revision: 1.3
done
Checking in
src/org/netbeans/swing/tabcontrol/plaf/WinClassicEditorTabDisplayerU
I.java;
/cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/WinClassicEdit
orTabDisplayerUI.java,v  <--  WinClassicEditorTabDisplayerUI.java
new revision: 1.4; previous revision: 1.3
done
Checking in
src/org/netbeans/swing/tabcontrol/plaf/WinClassicViewTabDisplayerUI.
java;
/cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/WinClassicView
TabDisplayerUI.java,v  <--  WinClassicViewTabDisplayerUI.java
new revision: 1.8; previous revision: 1.7
done
Comment 9 Jesse Glick 2004-06-27 02:28:19 UTC
Almost there... sliding window button labels are still not
antialiased. The rest looks good.
Comment 10 _ tboudreau 2004-06-27 03:22:29 UTC
Ah yes.

Now what I'd *really* like is a straightforward call to do this on 
windows, etc. as well.

Checking in
src/org/netbeans/swing/tabcontrol/plaf/GtkSlidingButtonUI.java;
/cvs/core/swing/tabcontrol/src/org/netbeans/swing/tabcontrol/plaf/GtkSlidingButtonUI.java,v
 <--  GtkSlidingButtonUI.java
new revision: 1.2; previous revision: 1.1
done
Comment 11 Marian Mirilovic 2004-06-30 09:11:12 UTC
verified in [nb_dev](200406291800)