! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
right click on desktop does not open menu; xfdesktop cannot load library on s...
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Alexander All2 2004-11-16 11:30:43 CET
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
Comment 1 Alexander All2 2004-11-16 11:35:56 CET
Version of XFCE 4.2RC1
Comment 2 Brian J. Tarricone (not reading bugmail) 2004-11-16 12:11:12 CET
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.
Comment 3 Brian J. Tarricone (not reading bugmail) 2004-11-17 09:06:19 CET
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.
Comment 4 Alexander All2 2004-11-17 11:51:21 CET
> 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.
Comment 5 Brian J. Tarricone (not reading bugmail) 2004-11-18 03:44:56 CET
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?
Comment 6 Alexander All2 2004-11-18 07:34:38 CET
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
Comment 7 Benedikt Meurer editbugs 2004-11-18 09:22:50 CET
(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.
Comment 8 Brian J. Tarricone (not reading bugmail) 2004-11-20 05:56:38 CET
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.
Comment 9 Benedikt Meurer editbugs 2004-11-20 09:19:54 CET
(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.
Comment 10 Brian J. Tarricone (not reading bugmail) 2004-11-25 08:03:17 CET
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.

Bug #501

Reported by:
Alexander All2
Reported on: 2004-11-16
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
1 user

Version

Attachments

desktop-menu-dlopen-quit.diff (1.16 KB, patch)
2004-11-17 09:06 CET , Brian J. Tarricone (not reading bugmail)
no flags

Additional information