GTK Look and Feel bugs
last update 25.08.2006, 10:05 by hIPnOIZZ
Java version: 1.6.0-rc-b97
GTK version: 2.8 (package version 2.8.6-0ubuntu2.1 on Ubuntu 5.10)
If not specified, Human theme is used (Clearlooks GTK engine).
Tabbed pane
-
left edge of first tab is rendered wrong when tab is selected fixed
-
unnecessery line/pixel drawed in bottom left corner
-
tab height wrong
-
when tab has focus mouse wheel should select previous/next tab
-
tab borders rendered incorrectly (compare left borders of second tab)
-
some GTK themes (e.g. Debian Red) render text on active tab in different way (bold, other color etc.), this case isn't handled by GTK LAF
-
unnecessary line drawed under tabs (Grand Canyon theme) - border issues again?
Buttons
-
algorithm for creating disabled icons doesn't match native (note here - it looks that native algorithm is engine dependent)
List
-
default row height wrong
-
background of selected and unfocused item wrong (both lists are unfocused here)
-
clicking under last item in JList shouldn't change selection (it select last item now). BTW clicking under last item in Windows LAF should clear selection (but not focus), damn! Fix it! Now! ;-)
-
selected and focused item rendering wrong - solid instead gradient (both lists are captured when focused)
-
in GTK list focus isn't painted
-
selected item background rendering wrong - take a look at rounded corners in Gnome app on left (LighthouseBlue theme)
Menu
-
selected menu background should be rounded only on top corners (it looks that in GTK bottom border isn't painted...)
-
menu separator shouldn't be whole menu wide
-
top and bottom margins of separator in GTK menu are bigger that in GTK LAF
-
generic item height is little too big
Toolbar
-
JButton (JToggleButton) on toolbar has wrong width fixed
-
JButton (JToggleButton) border overwrites toolbar border
-
JButton (JToogleButton) doesn't react to mouse over event, it was working in previous Mustang builds IIRC fixed
-
JToggleButton shouldn't have borders
-
since default toolbar icons size in Gnome can be changed by user it would be good to add API for getting preferred icon size. Same for similar things like if toolbar should be detachable or not and button icon/text visibility and layout
Slider
-
usually GTK engines use same color for both parts of slider, but Clearlooks is different here
-
inconsistent thumb size and slider size, switching to theme X from various themes gives various results (eg. DebianRed -> Crux -> Clearlooks)
-
slider thumb too big (Crux theme) it is example of bug described above
-
slider height wrong (Industrial theme) it is example of bug described above
Table
-
default row height is wrong (note: SwingSet2 JTable example set custom row height)
-
JTable header cells are rendered like buttons, this isn't necessary a case in GTK themes
-
sorted column background in GTK table is rendered different way
-
sort indicator (arrow painted on header cell) should be right aligned
-
default JTable renderer should use different background color for odd/even rows
-
maybe JTable in GTK LAF shouldn't have vertical and horizontal lines, and intercell spacing should be 0 by default
-
selected and unfocused row background rendered wrong
-
selected and focused row background rendered incorrectly (solid vs gradient, just like in JList case)
-
in GTK table (multicolumn list) focus isn't painted. BTW is it possible to make focus whole row wide in JTable?
Scroll bar
-
arrow buttons not rounded
-
there is some gotcha in rendering top/bottom border of thumb in most top/bottom position (similar for horizontal scrollbars)
Split pane
-
when continuous layout is off there is no visual indicator of dragged divider (not sure if GTK split pane have such property like continuous layout...)
File chooser
-
no comment needed ;-) (ehh... native GTK file chooser sux anyway...)
Tree
-
default row height wrong
-
selected and focused row background rendered incorrectly (note here: similar fixes are needed for JTable and JList renderers) fixed
-
triangles do not animate when clicked
-
in GTK tree focus isn't painted
-
font color is wrong when unfocused (Glider theme)
Radio and check button
-
height of these components is too big, it's perfectly visible when mouse is over components (Clearlooks theme, compare SwingSet2 and some Gnome app). Couldn't get screenshot...
-
probably Matisse (GroupLayout) issue - focus of radio/check button is painted only partially
Internal frame
Spinner
-
unnecessary gap between text field and arrow buttons (visible when Clearlooks is selected, when Human theme is used, there is no gap...) fixed
-
text field should be rounded only on left edge fixed
-
unconsistent border switching for themes with different borders for focused/unfocused state (I suppose that this is some bigger focus related bug, see previous entry)
Text field
-
textfield border should be drawed in different way when focused (same for text field in spinner and editable combobox) (this is partially fixed, but border switching is inconsistent)
Text panes
-
default font size too small. BTW same issue is in Windows LAF (tested on Windows 2003 Server)
Combo box
-
when combobox has focus up/down key should cycle through items without expanding item list
-
uneditable GTK combobox is rendered in completely different way
-
text field border in editable combobox should be rounded only on left edge, (right edge for arrow button)
-
item list rendering wrong (uneditable combobox)
-
item list rendering wrong (editable combobox)
Tooltips
-
background color and margins are incorrect fixed
Tree table
-
Gnome 2.12 brings TreeTable-like component. Maybe it is time to incorporate such component in JFC, SwingX has decent implementation (not and issue, really, but...)