Page 128 of 299 FirstFirst ... 2878118126127128129130138178228 ... LastLast
Results 1,271 to 1,280 of 2990

Thread: Mac-style Menu Bar for GTK and Java/Swing applications!

  1. #1271
    Join Date
    Jun 2006
    Location
    Millau, France
    Beans
    1,492
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by Tiede View Post
    Hey! I love your work but unfortunatey, it seem to have a few kinks...
    Gnome's Macmenu application seems to break xaralx.
    Could it be some weird conflicting dependencies?

    XaraLX crash dump:
    Code:
    sample@ubuntu:~$ xaralx 
    
    (xaralx:8564): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed
    
    (xaralx:8564): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed
    
    (xaralx:8564): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed
    *** glibc detected *** xaralx: double free or corruption (out): 0x0a8949c0 ***
    ======= Backtrace: =========
    /lib/tls/i686/cmov/libc.so.6[0xb7646d65]
    /lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb764a800]
    /usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb7864961]
    xaralx[0x8c18958]
    xaralx[0x8c18e46]
    xaralx[0x8c5c9ce]
    xaralx[0x8cfa33d]
    xaralx[0x8cf87f2]
    xaralx[0x8c9c100]
    xaralx[0x8c9d597]
    xaralx[0x8105df4]
    xaralx[0x8107569]
    xaralx[0x80629bb]
    xaralx[0x89a3863]
    xaralx[0x88e4857]
    xaralx[0x84f42f8]
    xaralx[0x8675893]
    xaralx[0x8091a0a]
    xaralx[0x806e498]
    xaralx[0x8d1c408]
    xaralx[0x8dab558]
    xaralx[0x8daaadc]
    xaralx[0x8dab6dd]
    xaralx[0x8c6170d]
    xaralx[0x8dab67d]
    xaralx[0x8c3095c]
    /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x49)[0xb790cc09]
    /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x122)[0xb78ff772]
    /usr/lib/libgobject-2.0.so.0[0xb7910323]
    /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8c7)[0xb7911847]
    /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb7911a09]
    /usr/lib/libgtk-x11-2.0.so.0(gtk_widget_activate+0x58)[0xb7e8d758]
    /usr/lib/libgtk-x11-2.0.so.0(gtk_menu_shell_activate_item+0x14a)[0xb7d77afa]
    /usr/lib/libgtk-x11-2.0.so.0[0xb7d79698]
    /usr/lib/libgtk-x11-2.0.so.0[0xb7d702c8]
    /usr/lib/libgtk-x11-2.0.so.0(_gtk_marshal_BOOLEAN__BOXED+0x5e)[0xb7d6a32e]
    /usr/lib/libgobject-2.0.so.0[0xb78fdf89]
    /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x122)[0xb78ff772]
    /usr/lib/libgobject-2.0.so.0[0xb7910973]
    /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x68f)[0xb791160f]
    /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb7911a09]
    /usr/lib/libgtk-x11-2.0.so.0[0xb7e88c08]
    /usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0x14f)[0xb7d634bf]
    /usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x307)[0xb7d646d7]
    /usr/lib/libgdk-x11-2.0.so.0[0xb7bcfb9a]
    /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x17c)[0xb785d11c]
    /usr/lib/libglib-2.0.so.0[0xb786055f]
    /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1a9)[0xb7860909]
    /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb7d64b34]
    xaralx[0x8cf7279]
    xaralx[0x8c4ba52]
    xaralx[0x8c4bb8a]
    xaralx[0x8d5a6cd]
    xaralx[0x805f43b]
    /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb75f3050]
    xaralx[0x805ee91]
    ======= Memory map: ========
    08048000-092cf000 r-xp 00000000 08:05 1735008    /usr/bin/xaralx
    092cf000-093e4000 rw-p 01287000 08:05 1735008    /usr/bin/xaralx
    093e4000-0a8cb000 rw-p 093e4000 00:00 0          [heap]
    b5a00000-b5a21000 rw-p b5a00000 00:00 0 
    b5a21000-b5b00000 ---p b5a21000 00:00 0 
    b5bbd000-b5cd5000 r-xp 00000000 08:05 1733497    /usr/lib/libxml2.so.2.6.30
    b5cd5000-b5cda000 rw-p 00118000 08:05 1733497    /usr/lib/libxml2.so.2.6.30
    b5cda000-b5cdb000 rw-p b5cda000 00:00 0 
    b5cdb000-b5d0d000 r-xp 00000000 08:05 1734213    /usr/lib/libcroco-0.6.so.3.0.1
    b5d0d000-b5d10000 rw-p 00031000 08:05 1734213    /usr/lib/libcroco-0.6.so.3.0.1
    b5d10000-b5d40000 r-xp 00000000 08:05 1733469    /usr/lib/libgsf-1.so.114.0.7
    b5d40000-b5d43000 rw-p 0002f000 08:05 1733469    /usr/lib/libgsf-1.so.114.0.7
    b5d43000-b5d44000 rw-p b5d43000 00:00 0 
    b5d44000-b5d74000 r-xp 00000000 08:05 1734630    /usr/lib/librsvg-2.so.2.18.2
    b5d74000-b5d75000 rw-p 00030000 08:05 1734630    /usr/lib/librsvg-2.so.2.18.2
    b5d75000-b5dcf000 r--p 00000000 08:05 2389165    /home/sample/.fonts/arial.ttf
    b5dcf000-b5dd3000 r-xp 00000000 08:05 1815274    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
    b5dd3000-b5dd4000 rw-p 00003000 08:05 1815274    /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
    b5dd5000-b5e60000 r--p 00000000 08:05 1945903    /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
    b5e60000-b631c000 rw-p b5e60000 00:00 0 
    b631c000-b637c000 rw-s 00000000 00:08 19824657   /SYSV00000000 (deleted)
    b637c000-b63cc000 r--p 00000000 08:05 1947699    /usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf
    b63cc000-b63ce000 r-xp 00000000 08:05 1929600    /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
    b63ce000-b63cf000 rw-p 00001000 08:05 1929600    /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
    b63cf000-b63d5000 r--p 00000000 08:05 2404Abandon (core dumped)
    sample@ubuntu:~$
    Steps to repeat: with macmenu installed,
    fire up xaralx.
    Select an option that requires a dialog box (File->Page Options; File->Print Options; Utilites->Options)
    Strangely, the "import", "export", and "open file" dialogs work fine...
    Observation: XaraLX closes without warning.

    I want to blame libpango for it, but obviously I don't know the inner workings of Gnome...
    If it's not libpango, it might be libgtk2.0-0, but trying to downgrade it back to 'gutsy' messes a lot of things that have nothing to do with the macmenu at all... like beep-media-player, for example...
    Anyone knows what libraries are affected by macmenu that could have this adverse effect?
    No, I don't know what libs could be related to this.
    But you can disable macmenu for this app using the GTK_MENUBAR_NO_MAC environment variable.

  2. #1272
    Join Date
    Feb 2005
    Location
    Beautiful Orlando
    Beans
    356
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Thanks for the quick reply, ayoli.
    Unfortunately, using that does not undo the damage...
    I may need to uninstall macmenu completely and deal with the broken packages myself afterwards.
    What I did:
    created a file named .gnomerc in my home folder.
    edited the file with the text
    Code:
    export GTK_MENUBAR_NO_MAC=1
    logged out and back in gnome.
    result:No change, xaralx still crashes.
    I'm wondering whether i am blaming the wrong app, but the problem is that was the only thing I added and/or updated before the app started acting weird... Should I file a bug against xaralx, macmenu, both?

    ***EDIT***
    The problem aforementioned is entirely unrelated to macmenus, and was a mistake on my part. Thanks ayoli for helping me figure it out. Besides, an entry about my problem is posted elsewhere on the forums...
    Last edited by Tiede; December 23rd, 2007 at 07:53 PM. Reason: wrong diagnosis
    The oldest n00b in the 1337 world...
    I'm all for thinner screens... but how will the tiny people from CRTs fit in them?
    My current desktop for 2009

  3. #1273
    Join Date
    Jun 2006
    Location
    Millau, France
    Beans
    1,492
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Quote Originally Posted by Tiede View Post
    Thanks for the quick reply, ayoli.
    Unfortunately, using that does not undo the damage...
    I may need to uninstall macmenu completely and deal with the broken packages myself afterwards.
    What I did:
    created a file named .gnomerc in my home folder.
    edited the file with the text
    Code:
    export GTK_MENUBAR_NO_MAC=1
    logged out and back in gnome.
    result:No change, xaralx still crashes.
    I'm wondering whether i am blaming the wrong app, but the problem is that was the only thing I added and/or updated before the app started acting weird... Should I file a bug against xaralx, macmenu, both?
    Using a patched gtk with GTK_MENUBAR_NO_MAC=1 is like using a non patched gtk so, the bug must come from the app I mean xaralx).

  4. #1274
    Join Date
    Jul 2005
    Location
    Coventry
    Beans
    91
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Good news, a testing process is being done as part of the Google Highly Open Participation Contest.

    http://code.google.com/p/google-high...edBy%20Summary
    The more Microsoft products you buy,the higher your bill gets

  5. #1275
    Join Date
    Dec 2007
    Beans
    290

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    @mangar

    Sorry, I can't modify the wiki. I am not a ubuntu user and I don't have a launchpad account.

  6. #1276
    Join Date
    May 2007
    Location
    Germany
    Beans
    29
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    AAHHH!!!

    Warning!
    I used the howto in the wiki to install the .debs and it messed my system up!!

    Before installing the .debs make sure that you have activated the backports in synaptic! Because you need libpango1.0-0 version 1.18.3.

  7. #1277
    Join Date
    Dec 2007
    Location
    Washington
    Beans
    18

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Hi folks!

    I'm doing the testing on the Global Menu Bar for the Google Highly Open Participation Contest.

    Rather than sort through all 100+ pages of this thread, I thought I'd ask what some common problems/bugs people have seen with the Menu Bar so I can try and replicate em'.

    I already have a short list of my own:

    • The Mac Menu Bar and the User Switch applet do not agree with each other
    • The far right side of the Menu is statically attached to the right side of the Panel
    • The height of the menu is static, so when the Panel is too large it leaves space around the menu buttons (A problem shown by Fits' Law)
    • Menu does not show at all when the panel is on the right or left side of the screen.
    • The right side of the menu distorts when being moved
    • Changing the background of the panel has no effect on the menu.


    Also, I just followed the instructions (click here) to install. Is this the latest version, or have any patches been created?

    with a little work, this could be a very solid and useful piece of software. I hope I can help!

  8. #1278
    Join Date
    Dec 2007
    Beans
    290

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    Hi everyone,

    I located a few bugs and made
    some fixes for gnome-macmenu-applet with scrolling:

    * Fixed the random seg faults when removing the applet from panel. (hopefully)
    +when quiting, disconnect signals(desktop signals and socket signals) before destroying private data structures.

    * Fixed the dull app title label(last time it always display GNOME)
    * Move the menubar a little bit higher, so that clicking the top of the screen will also emit the menus.

    The patched source and a source rpm is provided.
    Attached Files Attached Files
    Last edited by rainwoodman; December 23rd, 2007 at 04:47 AM. Reason: Updated patch

  9. #1279
    Join Date
    Apr 2005
    Beans
    Hidden!

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    wiki edited, thanks rainwoodman!
    we really need some sort of svn/ git/ whatever...

    preliminary code review:
    1. hard coded application name exceptions are bad..
    2. MacMenu --> GlobalMenu.
    3. some functions are too big.

  10. #1280
    Join Date
    Dec 2007
    Beans
    290

    Re: Mac-style Menu Bar for GTK and Java/Swing applications!

    @mangar
    Yes. you are right, a svn will be very helpful.

    I am going to learn some XML programming and see if I can remove the hard code part.

    I know nothing about XFCE developing, so the XFCE part of the code perhaps have already been messed up.

    Another big problem is gtk_socket_steal is inherently unreliable and is deprecated, according to the gtk documentation. A fix for it requires modifying the gtk-menubar patch, making it to expose the menubar through a hidden GtkPlug object, and to store plug's window id somewhere where gnome-macmenu-applet can access(perhaps by calling a dbus method exposed by the applet?). I can't find a easy way to debug gtk2, so this fix will be impossible by now.

    I wonder if a rewriting of gnome-macmenu-applet(rename to gnome-globalmenu-applet, wipe out the XFCE code, XMLize the name translation, leave space for GtkPlug) is necessary.

    Also, it is very annoying that I can't read the stderr and stdout of the applet. Even if I start gnome-panel from a terminal, it outputs nothing. Do you/anybody else have some idea to reach the streams?

Page 128 of 299 FirstFirst ... 2878118126127128129130138178228 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •