moodpo / java-swing-ayatana

Automatically exported from code.google.com/p/java-swing-ayatana
0 stars 0 forks source link

Empty menu item while using IntelliJ Idea #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Empty menu item while using IntelliJIdea and AndroidStudio (Screenshot attached)

Used java-swing-ayatana from ppa: jayatana_2.0-1_amd64

Env:
Ubuntu 13.10 x64

$ java -version
Picked up JAVA_TOOL_OPTIONS: -agentlib:jayatanaag
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

Original issue reported on code.google.com by bade...@gmail.com on 30 Jan 2014 at 6:12

Attachments:

GoogleCodeExporter commented 9 years ago
Let me check....

Original comment by danjaredg on 30 Jan 2014 at 7:52

GoogleCodeExporter commented 9 years ago
Turns out the menu if there is, only IntelliJIdea creates a menu with a height 
of 0px, unlabeled and disabled. Know the reason of this, and regardless of 
their functionality.

I'll include a rule to exclude this class in the code to version 2.1, I'm still 
reviewing other failures. When completed I will be posting the update.

The menu empty class is: com.intellij.openapi.actionSystem.impl.StubItem
The trace of help menu is:

*com.intellij.openapi.actionSystem.impl.StubItem[,0,0,0x0,invalid,disabled,align
mentX=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuIt
emBorder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon
=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[t
op=2,left=2,bottom=2,right=2],paintBorder=true,paintFocus=false,pressedIcon=,rol
loverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=]*
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=392,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Find 
Action...]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=Laz
yIcon@ActionManagerImpl (path: AllIcons.Actions.Help, action class: class 
com.intellij.ide.actions.HelpTopicsAction),disabledIcon=com.intellij.openapi.uti
l.IconLoader$MyImageIcon@1ebe3b91,disabledSelectedIcon=,margin=javax.swing.plaf.
InsetsUIResource[top=2,left=2,bottom=2,right=2],paintBorder=false,paintFocus=fal
se,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,select
edIcon=,text=Help Topics]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Tip of 
the Day]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Productiv
ity Guide]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Contact 
Support Team]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Submit 
Feedback]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Configure
 Debug Log Settings]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Show Log 
in Files]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Online 
Documentation]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=What's 
New in IntelliJ IDEA]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Default 
Keymap Reference]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=JetBrains
 TV]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Check 
for Update...]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=About]
com.intellij.openapi.actionSystem.impl.StubItem[,0,0,0x0,invalid,disabled,alignm
entX=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuIte
mBorder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=
,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[to
p=2,left=2,bottom=2,right=2],paintBorder=true,paintFocus=false,pressedIcon=,roll
overEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=392,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Find 
Action...]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=Laz
yIcon@ActionManagerImpl (path: AllIcons.Actions.Help, action class: class 
com.intellij.ide.actions.HelpTopicsAction),disabledIcon=com.intellij.openapi.uti
l.IconLoader$MyImageIcon@1ebe3b91,disabledSelectedIcon=,margin=javax.swing.plaf.
InsetsUIResource[top=2,left=2,bottom=2,right=2],paintBorder=false,paintFocus=fal
se,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,select
edIcon=,text=Help Topics]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Tip of 
the Day]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Productiv
ity Guide]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Contact 
Support Team]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Submit 
Feedback]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Configure
 Debug Log Settings]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Show Log 
in Files]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Online 
Documentation]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=What's 
New in IntelliJ IDEA]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Default 
Keymap Reference]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=JetBrains
 TV]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Check 
for Update...]
com.intellij.openapi.actionSystem.impl.ActionMenuItem[,0,0,0x0,invalid,alignment
X=0.0,alignmentY=0.0,border=com.intellij.ide.ui.laf.darcula.ui.DarculaMenuItemBo
rder@212e6192,flags=264,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,di
sabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2
,left=2,bottom=2,right=2],paintBorder=false,paintFocus=false,pressedIcon=,rollov
erEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=About]

Original comment by danjaredg on 31 Jan 2014 at 12:13

GoogleCodeExporter commented 9 years ago
fixed on 2.1

Original comment by danjaredg on 3 Feb 2014 at 7:26

GoogleCodeExporter commented 9 years ago
Thanks! http://goo.gl/5DBn9S

Original comment by bade...@gmail.com on 3 Feb 2014 at 8:51