Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Button Text Not Displaying

Help
owlbrudder
2011-05-22
2013-04-11
  • owlbrudder
    owlbrudder
    2011-05-22

    Some of the buttons are not displaying their text. This image shows the buttons at the bottom of the 'Edit Long Node' dialog.

    This is just one example of many. Is there a setting to tweak, or a work-around?

    Running FreeMind 0.9.0 on Fedora Core 14 Linux.

    Cheers,
    Doug

     
  • owlbrudder
    owlbrudder
    2011-05-22

    By the way, this was with the 'Edit Long Node' dialog stretched horizontally to occupy full screen width. The buttons did not scale up with the dialog - not that I expected them to <grin>

     
  • Hi,

    please provide the usual information as mentioned in "FreeMind for Linux",

    TIA, Chris

     
  • owlbrudder
    owlbrudder
    2011-05-22

    Sorry - didn't spot that bit. Here it is:

    [doug@cardraeh ~]$ DEBUG=1 freemind
    Checking Java Version...
    STDOUT: User patterns file /home/doug/.freemind/patterns.xml not found.
    STDOUT: User patterns file /home/doug/.freemind/patterns.xml not found.23/05/2011 9:40:21 AM freemind.main.Resources logException
    SEVERE: An exception occured: 
    java.lang.ClassNotFoundException: plugins.script.ScriptingRegistration
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at freemind.modes.mindmapmode.hooks.MindMapHookFactory.getRegistrations(MindMapHookFactory.java:334)
        at freemind.modes.mindmapmode.MindMapController.startupController(MindMapController.java:625)
        at freemind.controller.Controller.afterMapModuleChange(Controller.java:547)
        at freemind.controller.MapModuleManager$MapModuleChangeObserverCompound.afterMapModuleChange(MapModuleManager.java:101)
        at freemind.controller.MapModuleManager.setMapModule(MapModuleManager.java:323)
        at freemind.controller.MapModuleManager.newMapModule(MapModuleManager.java:191)
        at freemind.modes.ControllerAdapter.newMap(ControllerAdapter.java:335)
        at freemind.modes.ControllerAdapter.load(ControllerAdapter.java:364)
        at freemind.modes.mindmapmode.MindMapMode.restore(MindMapMode.java:83)
        at freemind.controller.LastOpenedList.open(LastOpenedList.java:106)
        at freemind.main.FreeMind.loadMaps(FreeMind.java:1011)
        at freemind.main.FreeMind.main(FreeMind.java:744)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at freemind.main.FreeMindStarter.main(FreeMindStarter.java:63)
    [doug@cardraeh ~]$ 
    [doug@cardraeh ~]$ /usr/bin/java -version
    java version "1.6.0_20"
    OpenJDK Runtime Environment (IcedTea6 1.9.7) (fedora-52.1.9.7.fc14-x86_64)
    OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
    [doug@cardraeh ~]$ 
    [doug@cardraeh ~]$ rpm -qa | grep -i j
    djvulibre-3.5.22-1.fc14.x86_64
    junit-3.8.2-6.4.fc12.x86_64
    evince-djvu-2.32.0-4.fc14.x86_64
    pygobject2-2.21.5-3.fc14.x86_64
    subversion-javahl-1.6.16-1.fc14.x86_64
    mysql-connector-java-5.1.15-1.fc14.x86_64
    netbeans-java-6.9-2.fc14.noarch
    jack-audio-connection-kit-example-clients-1.9.7-2.fc14.x86_64
    gobject-introspection-devel-0.9.3-1.fc14.x86_64
    ant-javamail-1.7.1-13.fc13.x86_64
    dejavu-fonts-common-2.32-1.fc14.noarch
    xerces-j2-2.9.0-5.fc14.noarch
    jpackage-utils-1.7.5-3.11.fc14.noarch
    joda-time-1.6.2-2.tzdata2010l.fc14.noarch
    tomcat6-jsp-2.1-api-6.0.26-16.fc14.noarch
    tomcat5-jasper-eclipse-5.5.27-7.4.fc12.noarch
    sinjdoc-0.5-9.fc12.x86_64
    django-tagging-0.3-3.fc14.20080217svnr154.noarch
    antlr3-java-3.2-11.fc14.noarch
    djvulibre-libs-3.5.22-1.fc14.x86_64
    dejavu-serif-fonts-2.32-1.fc14.noarch
    jakarta-commons-dbcp-1.2.1-13.7.fc12.noarch
    geronimo-jta-1.1.1-6.fc14.noarch
    jgoodies-looks-2.2.1-3.fc12.noarch
    icu4j-eclipse-4.2.1-1.fc14.x86_64
    tomcat5-jasper-5.5.27-7.4.fc12.noarch
    ant-apache-log4j-1.7.1-13.fc13.x86_64
    javahelp2-2.0.05-8.fc12.noarch
    sound-juicer-2.32.0-2.fc14.x86_64
    libjpeg-turbo-utils-1.1.0-2.fc14.x86_64
    dejavu-lgc-sans-mono-fonts-2.32-1.fc14.noarch
    jetty-6.1.24-1.fc14.noarch
    ws-jaxme-0.5.1-4.4.fc12.noarch
    tzdata-java-2011d-3.fc14.noarch
    mjpegtools-1.9.0-2.fc14.x86_64
    gobject-introspection-0.9.3-1.fc14.x86_64
    Django-1.2.5-1.fc14.noarch
    jakarta-commons-modeler-2.0.1-5.fc14.noarch
    jakarta-commons-cli-1.1-5.fc12.x86_64
    ini4j-0.4.1-2.fc12.noarch
    writer2latex-javadoc-1.0.2-3.fc14.noarch
    jython-2.2.1-4.7.fc14.noarch
    eclipse-mylyn-java-3.4.0-4.fc14.noarch
    libreadline-java-0.8.0-26.fc13.x86_64
    classpathx-jaf-1.0-15.1.fc12.x86_64
    pygobject2-doc-2.21.5-3.fc14.x86_64
    java-1.5.0-gcj-1.5.0.0-34.fc14.x86_64
    python-simplejson-2.1.3-1.fc14.x86_64
    xalan-j2-2.7.1-1.fc14.noarch
    libprojectM-2.0.1-11.fc14.x86_64
    jdom-1.1.1-1.fc13.x86_64
    json-glib-0.10.4-3.fc14.x86_64
    ant-junit-1.7.1-13.fc13.x86_64
    java-1.6.0-openjdk-1.6.0.0-52.1.9.7.fc14.x86_64
    netbeans-javaparser-6.9-1.fc14.noarch
    libjpeg-turbo-devel-1.1.0-2.fc14.x86_64
    jsch-0.1.41-4.fc13.noarch
    java-1.6.0-openjdk-devel-1.6.0.0-52.1.9.7.fc14.x86_64
    jasper-libs-1.900.1-16.fc14.i686
    avahi-gobject-0.6.27-2.fc14.x86_64
    objectweb-asm-3.2-2.fc14.noarch
    lohit-gujarati-fonts-2.4.4-3.fc14.noarch
    junit4-4.8.2-1.fc14.noarch
    eclipse-jdt-3.6.1-6.2.fc14.x86_64
    svnkit-javadoc-1.3.3-5.fc14.noarch
    libgcj-4.5.1-4.fc14.x86_64
    javanotes-5.1-3.fc12.noarch
    log4j-1.2.16-3.fc14.noarch
    wsdl4j-1.5.2-7.6.fc12.x86_64
    slf4j-1.5.11-1.fc14.noarch
    ant-jdepend-1.7.1-13.fc13.x86_64
    libjpeg-turbo-1.1.0-2.fc14.x86_64
    jdepend-2.9.1-2.fc13.noarch
    jgoodies-forms-1.2.0-3.fc12.noarch
    mjpegtools-libs-1.9.0-2.fc14.x86_64
    jack-audio-connection-kit-1.9.7-2.fc14.i686
    jline-0.9.94-0.6.fc14.noarch
    jzlib-1.0.7-7.4.fc14.noarch
    jna-3.2.7-10.fc14.x86_64
    jibx-1.2.2-7.fc14.noarch
    jemmy-2.3.0.0-4.fc12.noarch
    libjpeg-turbo-1.1.0-2.fc14.i686
    jakarta-commons-pool-1.3-13.fc13.x86_64
    openjpeg-libs-1.3-10.fc14.x86_64
    lpg-java-compat-1.1.0-5.fc14.1.noarch
    yajl-1.0.7-3.fc13.x86_64
    ant-jsch-1.7.1-13.fc13.x86_64
    postgresql-jdbc-8.4.701-4.fc14.x86_64
    pdfjam-2.07-1.fc14.noarch
    cjet-0.8.9-9.fc12.x86_64
    jvyamlb-0.2.5-4.fc13.noarch
    jakarta-commons-httpclient-3.1-1.fc14.noarch
    joystick-1.2.15-25.fc12.x86_64
    tomcat5-jsp-2.0-api-5.5.27-7.4.fc12.noarch
    jomolhari-fonts-0.003-9.fc14.noarch
    sqljet-1.0.3-1.fc14.noarch
    anjuta-2.32.1.1-1.fc14.x86_64
    koji-1.6.0-1.fc14.noarch
    jcodings-1.0.2-2.fc13.noarch
    qedje-0.4.0-8.fc14.x86_64
    openjade-1.3.2-36.fc13.x86_64
    sat4j-2.2.0-1.fc14.noarch
    freemind-javadoc-0.9.0-1.fc14.noarch
    pygobject2-codegen-2.21.5-3.fc14.x86_64
    gnome-js-common-0.1.2-3.fc14.noarch
    java-1.6.0-openjdk-javadoc-1.6.0.0-52.1.9.7.fc14.x86_64
    lohit-punjabi-fonts-2.4.4-1.fc14.noarch
    mx4j-3.0.1-9.11.fc13.noarch
    jakarta-commons-collections-3.2.1-3.fc12.x86_64
    dejavu-sans-mono-fonts-2.32-1.fc14.noarch
    eject-2.1.5-20.fc14.x86_64
    java_cup-0.11a-4.fc13.noarch
    jakarta-oro-2.0.8-6.3.fc12.x86_64
    dejavu-sans-fonts-2.32-1.fc14.noarch
    java-1.6.0-openjdk-plugin-1.6.0.0-52.1.9.7.fc14.x86_64
    jasper-libs-1.900.1-16.fc14.x86_64
    js-1.70-12.fc14.x86_64
    jwhois-4.0-24.fc14.x86_64
    jack-audio-connection-kit-1.9.7-2.fc14.x86_64
    hpijs-3.10.9-14.fc14.x86_64
    pygobject2-devel-2.21.5-3.fc14.x86_64
    cjkuni-uming-fonts-0.2.20080216.1-47.fc14.noarch
    eclipse-jgit-0.10.1-1.fc14.noarch
    [doug@cardraeh ~]$ 
    [doug@cardraeh ~]$ rpm -qa | grep freemind
    freemind-0.9.0-1.fc14.noarch
    freemind-javadoc-0.9.0-1.fc14.noarch
    [doug@cardraeh ~]$ 
    [doug@cardraeh ~]$ env | grep -i j
    LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-6QV0b68J1z,guid=9674048583a70339d02c63750000004e
    [doug@cardraeh ~]$
    

    Cheers, Doug

     
  • Hi,

    thanks, but no idea so far.
    @Eric: do you have any hint?

    Regards, Chris

    PS: You could tell us, whether or not the same happens with  jedit.

     
  • owlbrudder
    owlbrudder
    2011-05-23

    Hi Chris.

    I have installed jedit to test this, so have not used it to any extent. However, all the dialogs that I have tried work correctly: see this example image https://docs.google.com/leaf?id=0B7ed9W7zAS2XMGI1MGI0NTAtMzFkNy00OGEzLWExNTgtMTk3ODgxYWFiZjAx&hl=en_US&authkey=CIiy_rcD. I note the button style used by jedit has a different appearance from the dialogs in FreeMind. The jedit buttons use a much more rectangular form. I'm not sure if this has any bearing on the problem. Is there a difference in behaviour because FreeMind is using a different theme/library/whatever? I am not a java programmer, so cannot really add much to the discussion.

    Cheers, Doug

     
  • Eric L.
    Eric L.
    2011-05-24

    Hello,

    I don't like a few things:

    1. the script doesn't spit debug informations e.g. about the Java it's actually using, which 0.9.0 should do. Sounds like a packaging issue and possibly not related to your issue.

    2. Also the error message java.lang.ClassNotFoundException: plugins.script.ScriptingRegistration doesn't sound too good, I would also here suspect a packaging issue (Groovy not properly linked!?).

    3. But, in your specific case, I would tend to think that http://freemind.sourceforge.net/wiki/index.php/FreeMind_on_Linux#FreeMind_seems_broken_and_I_have_the_Gtk_Look.26Feel is your problem.

    Hope this helps, if it doesn't, you might want to contact the packager,
    Eric

     
  • owlbrudder
    owlbrudder
    2011-05-24

    Hi Eric.

    Thanks for the solution. I changed my look-and-feel to 'Nothing' and now I see all the text in the buttons. The look-and-feel had been set to 'Default'.

    I find that Default, Nimbus, GTK and GTK+ all have bad display behaviour. Metal, Windows, Motif, Nothing and CDE/Motif all appear to behave perfectly.

    Thanks to all for your prompt and helpful support.

    Kind regards, Doug

     
  • owlbrudder
    owlbrudder
    2011-05-24

    Further to my earlier post, I subsequently found that 'Tools/Preferences/Keystrokes' had a similar problem. In all Appearance styles except Motif and CDE/Motif, the label for the 'Copy' keystroke displays as 'Co…'. I have changed my appearance to Motif, to cope with this, even though it is really, really UGLY "8-/.

    I am running the Gnome desktop. I will switch to KDE when I get a chance and try the styles again, to see if it is a Gnome/KDE issue. I will post my results here.

    The cause is a mystery still, but you have shown me an acceptable work-around and I am grateful for your help.

    Cheers, Doug

     
  • owlbrudder
    owlbrudder
    2011-05-25

    I decided to test this straight away, before I started 'real' work.

    Under KDE, all themes displayed the dialog buttons correctly, however Default, Metal, Windows and Nothing all displayed the 'Copy' prompt as 'Co…': all others displayed this correctly. From this, it appears that, on my system, FreeMind works more seamlessly under the KDE desktop, as long as you choose your theme from GTK, GTK+, Motif, CDE/Motif or Nimbus. YMMV.

    In general, I found on my system that font rendering under KDE does not appear as solid as under Gnome, but there is probably a KDE setting I can adjust to improve this. I do not use the KDE desktop, so this problem is not an issue for me.

    I will continue to use FreeMind with the Motif theme under the Gnome desktop, as this suits me best.

    Hope this is interesting to someone.
    Doug

     
  • Hello Doug, from the log that you have posted of "java -version", you are using OpenJDK as your JRE (Java Runtime Environment). I propose you install Oracle JRE (previously Sun JRE), and see whether the support for various look-and-feels is better. You may still run into problems with GTK look-and-feel, but other look-and-feels should work fine.

    The relevant part of the log that you have posted:

    $ /usr/bin/java -version
    java version "1.6.0_20"
    OpenJDK Runtime Environment (IcedTea6 1.9.7) (fedora-52.1.9.7.fc14-x86_64)
    OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

    Some web articles:

    Oracle Sun JDK vs OpenJDK, 29 May 2010
    http://explodingjava.blogspot.com/2010/05/oracle-sun-jdk-vs-openjdk-and-jsf.html

    Using Sun Java instead of OpenJDK, 22 May 2011 - for Fedora
    http://fedoraunity.org/Members/zcat/using-sun-java-instead-of-openjdk

    -Dan

     
  • owlbrudder
    owlbrudder
    2011-05-25

    Hi Dan

    I followed the instructions for the Fedora install (I am on FC14) and logged out/in. It works! Using the Default, GTK and Metal themes, still under the Gnome desktop, the incorrect display of the 'Copy' prompt described above has been corrected and the buttons are displaying their texts correctly. I have not tried the other themes, but expect they will be right also.

    This solves all my issues and I would never have found those links by Googling. Thanks very much for the heads up.

    Kind regards,
    Doug

     
  • owlbrudder
    owlbrudder
    2011-05-25

    Nice one, Dan. I will leave my images up on Google permanently, so the links on this thread work for anyone who follows in our footsteps.

    Cheers,
    Doug