When I click right mouse button on desktop menu is not visible This error is in xsessions-errors: ** (xfdesktop:19272): CRITICAL **: XfceDesktopMenu init failed (The XfceDesktopMenu module could not be loaded: /usr/local/lib/xfce4/modules/xfce4_desktop_menu.so: undefined symbol: quit) ** (xfdesktop:19272): WARNING **: xfdesktop: Unable to initialise menu module. Right-click menu will be unavailable. Reproducible: Always Steps to Reproduce: 1. Right mouse click on desktop 2. 3. Actual Results: nothing Expected Results: menu
Version of XFCE 4.2RC1
anybody have any idea what could be causing this? quit() is defined in xfdesktop itself; i don't see how it could be failing to resolve it, at least not on linux.
Created attachment 105 desktop-menu-dlopen-quit.diff please try this patch. apply in the xfdesktop directory using: patch -p0 < desktop-menu-dlopen-quit.diff make clean and then rebuild. kill xfdesktop and run it from a terminal; paste any output here. please make sure that not only does the menu work, but that the "quit" item at the bottom of it brings up xfce's logout dialog, and doesn't print some warnings to the terminal (if so, paste them here). thanks.
> please try this patch.... Now menu is openning on right mouse click No quit dialog is openning on quit click in this menu and this message appeares in log: (xfdesktop:615): WARNING **: XfceDesktopMenu: Unable to find 'quit' symbol in parent executable.
then the only conclusion i can reach is that whoever built your packages has a broken build environment that somehow doesn't allow binary executables to export their symbols properly. maybe it's a libtool problem; i'm not sure. could you provide some more information, like distro & version, gcc version (preferably of the gcc used to build xfce), glibc version, binutils version, gtk version, libtool version, autoconf and automake versions... benny, do you have any thoughts?
I'm using AltLinux Sysiphus distro gcc version 3.3.3 20040412 (ALT Linux, build 3.3.3-alt5) glibc-2.3.3.200406160000-alt1 binutils-2.15.92.0.2-alt3 libgtk+2-devel-2.5.4-alt1 libtool_1.5-1.5.8-alt1 autoconf_2.5-2.59-alt3 automake_1.7-1.7.9-alt1
(In reply to comment #5) > benny, do you have any thoughts? Hm, I think I saw this problem once, but unfortunately I don't remember what caused it.
benny: alternatively, i could include the quitting functionality in the menu module itself. how can i instruct the session manager to logout? last time i tried creating a SessionClient from the menu module, the app hung. or maybe it just did nothing. i don't remember.
(In reply to comment #8) > benny: alternatively, i could include the quitting functionality in the menu > module itself. how can i instruct the session manager to logout? last time i > tried creating a SessionClient from the menu module, the app hung. or maybe it > just did nothing. i don't remember. Hm, creating a SessionClient from within the menu module sounds like a bad idea to me.
i've committed the patch, since: a) it at least makes the menu itself functional b) someone on the mailing list reported that the patch actually did fix the problem for him. as for this bug, there's really nothing more i can do at this point.