Project
IntelliJ IDEA
Priority
Normal
Type
Cosmetics
Fix versions
No Fix versions
State
Verified
Assignee
Oleg Shpynov
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Alexander Chernikov
    5 years ago (03 Nov 2006 21:22)
  • Updated by   Alexander Chernikov
    15 months ago (29 Oct 2010 19:58)
  • Jira: IDEADEV-11619
    (history, comments)
 
IDEA-35170 GTK look and feel: a number of effects could be cosmetics problems
11
Issue is visible to: All Users
  The issue is visible to the selected user group only
2 Attachments — Show all images
idea-gtk1.png   (157 KB) idea-gtk2.png   (71 KB)
GTK look and feel is available on unix (ubuntu 6.06). The following specialities look like bugs of IDEA:
  • Menu items with submenus have no corresponding triangle sign, so user does not see have they submenus or not.
  • Toolbar areas, splitters of tool windows are dark-grey. Editor with all closed tabs has the same color. So, splitters like one between Project window and Editor pane have no appearance, only changing of mouse pointer shape tells user that splitter is below.
  • Trees are shown on white background, text in trees has ligth-grey background.
  • Some not editable comboboxes (see one for choosing look and feel in Settings / Appearance) have backgound color the same as containing panel, so combobox is "invisible".
  • "Floating" dialogs like "Go to class", "Go to / navigation bar" have transparent content panel.
Comments (15)
 
History
 
Linked Issues (?)
 
Jesse Kuhnert
  Jesse Kuhnert
16 Jan 2007 08:16
5 years ago
I've seen similar issues. The most noticeable / obvious have been in the basic top level menus. Visually you can tell that they are not being rendered with GTK. When opening the menus most option text isn't rendered at all. (ie it's mostly a big empty area filled with whatever color the menu is supposed to be - sort of a brown color for me with ubuntu 6.x edgy eft)

This is really the only reason I haven't used intellij yet. I know it's a small thing in the grand scheme of things, but if I'm going to spend what is the majority of my life (currently) looking at something I'm not going to be very forgiving.

I have a separate ubuntu box around for server type stuff, if it helps I can probably run a little vnc server or something if that is the only barrier.
Jesse Kuhnert
  Jesse Kuhnert
16 Jan 2007 08:21
5 years ago
ohh....Hadn't noticed before. I guess we can thank the geniuses at Sun for this one again. Not your fault, but still enough of a reason that I wouldn't use it.. :/

(happens immediately when clicking on the top-left "File" menu )
[ 89738] ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=javax.swing.SystemEventQueueUtilities$ComponentWorkRequest@6b5488,notifier=null,catchExceptions=false,when=1168921223563] on sun.awt.X11.XToolkit@81c868
java.lang.NullPointerException
java.lang.NullPointerException
 at com.sun.java.swing.plaf.gtk.GTKIconFactory$MenuArrowIcon.paintIcon(GTKIconFactory.java:348)
 at sun.swing.plaf.synth.SynthIcon.paintIcon(SynthIcon.java:87)
 at com.intellij.ui.plaf.beg.IdeaMenuUI.paint(IdeaMenuUI.java:186)
 at com.intellij.ui.plaf.beg.IdeaMenuUI.update(IdeaMenuUI.java:26)
 at javax.swing.JComponent.paintComponent(JComponent.java:758)
 at javax.swing.JComponent.paint(JComponent.java:1022)
 at javax.swing.JComponent.paintChildren(JComponent.java:859)
 at javax.swing.JComponent.paint(JComponent.java:1031)
 at javax.swing.JComponent.paintChildren(JComponent.java:859)
 at javax.swing.JComponent.paint(JComponent.java:1031)
 at javax.swing.JComponent.paintChildren(JComponent.java:859)
 at javax.swing.JComponent.paint(JComponent.java:1031)
 at javax.swing.JLayeredPane.paint(JLayeredPane.java:564)
 at javax.swing.JComponent.paintChildren(JComponent.java:859)
 at javax.swing.JComponent.paintToOffscreen(JComponent.java:5111)
 at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1382)
 at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1313)
 at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:301)
 at javax.swing.RepaintManager.paint(RepaintManager.java:1128)
 at javax.swing.JComponent.paint(JComponent.java:1008)
 at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
 at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
 at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
 at java.awt.Container.paint(Container.java:1797)
 at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:734)
 at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
 at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
 at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
 at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:8)
 at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:72)
 at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:73)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
[ 89816] ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 6.0.4 Build #6148
[ 89816] ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.6.0_01-ea
[ 89816] ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Server VM
[ 89817] ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
[ 89817] ERROR - com.intellij.ide.IdeEventQueue - OS: Linux
Jesse Kuhnert
  Jesse Kuhnert
12 Apr 2007 00:37
4 years ago
Pretty pretty please fix it ? It's ~soo~ close to being working already. It's just these menus with icons that don't work right now. (well that's all I can see at least)

As of java -version:

java version "1.6.0_02-ea"
Java(TM) SE Runtime Environment (build 1.6.0_02-ea-b01)
Java HotSpot(TM) Server VM (build 1.6.0_02-ea-b01, mixed mode)
Jed Wesley-Smith
  Jed Wesley-Smith
26 Apr 2007 06:29
4 years ago
Build #6180. I see a few problems, unfortunately they have a pretty big impact. The Menus and Project structure use a horrible non anti-aliased font. Some menus, such as Version Control don't render anything until there is a mouseover.

Otherwise, the bits that work look fantastic. By far the best L&F for GTK. Nothing else has the super smooth anti-aliased fonts so that it gets to the level of polish of Eclipse.
Ahmed Shakil
  Ahmed Shakil
04 May 2007 23:12
4 years ago
I am using Debian Etch and Idea build #6180. And this problem is really horrible. I am gladt to find that its already a logged bug. I am forced to use GTK look and feel since all the other L&Fs are horribly slow. I cannot even type or select text or even change tabs but with a lot of sluggishness.

Please fix this bug.
Haris
  Haris
29 Aug 2007 22:41
4 years ago
Please fix the issue as soon as possible. Much appreciated!

Thanks,
  • Haris
Alexander Chernikov
  Alexander Chernikov
10 Sep 2007 18:02
4 years ago
Finally I've run IDEA with JDK 6 and realized why this issue is so popular.
Guys, this one is created about cosmetics problems observed with JDK 5.
Critical error with JDK 6 is now reported in IDEA-40834.
Regards.
Alexander Chernikov
  Alexander Chernikov
12 Oct 2007 19:16
4 years ago
IDEA-40834 is fixed in 7347.
Alexander Chernikov
  Alexander Chernikov
12 Oct 2007 19:20
4 years ago
7347, JDK 1.6: Points 2, 5 or original description are avoided, points 1, 3, 4 still occurs.
Gustavo Hexsel
  Gustavo Hexsel
23 Jan 2008 22:07
4 years ago
Also reproducible on JRockit 6 on Ubuntu 8.04 Beta. Most issues seem not to happen on a dark gtk theme, except the top-level menus are invisible unless you click on them. The menus appear (albeit on bad colours) when you click or select them, so it could be the choice of colours. Also, no exceptions occur, but I get a bunch of GTK warnings:

(<unknown>:6324): Gtk-WARNING **: Attempting to add a widget with type GtkButton to a GtkComboBoxEntry (need an instance of GtkEntry or of a subclass)

(<unknown>:6324): Gtk-CRITICAL **: gtk_widget_realize: assertion `GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget)' failed

(<unknown>:6324): Gtk-CRITICAL **: gtk_paint_box: assertion `style->depth == gdk_drawable_get_depth (window)' failed

(the last one occurs a few dozen times)
Frank
  Frank
01 Jul 2009 08:53
2 years ago
Still reproduceable with java 1.6.14 on idea 7 & 8 when using gtk SSlickness theme.
Will this bug some day be fixed? Many people say that using gtk look and feel on linux makes idea faster. And this issues is over 3 years old.
And it is nicer integrated in yout desktop look and feel.
Other java application like netbeans or tv browser show everything thing when using gtk look and feel (see attached screenshots)
Frank
  Frank
01 Jul 2009 08:54
2 years ago
Idea menus
Frank
  Frank
01 Jul 2009 08:57
2 years ago
Idea and other java apps
Oleg Shpynov
  Oleg Shpynov
28 Oct 2010 11:59
15 months ago
All of the described problems are already fixed. Fix is already available in IDEA 10 EAP builds
Related Changes
Resolved Date
15 months ago (28 Oct 2010 11:59)
State
OpenObsolete
Alexander Chernikov
  Alexander Chernikov
29 Oct 2010 19:58
15 months ago
98.248: fix confirmed.
My cases are fixed, will create new issues if necessary.
Related Changes
State
ObsoleteVerified
Assignee
Oleg Shpynov (oleg_s)Oleg Shpynov
Subsystem
<lost change>No subsystem