! 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 !
No Icons nor Menu with right-click on FreeBSD
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Matteo Riondato 2007-07-03 16:38:48 CEST
If I click the right button of my mouse while on the desktop, I don't get any menu.

What is more, no icon appear on the desktop. 

It looks like xfdesktop was not running, but it actually is...
Comment 1 Brian J. Tarricone (not reading bugmail) 2007-08-10 05:41:25 CEST
Gonna need a bit more info than that... try killing xfdesktop and running it from a terminal.  Any output?  Try building with --enable-debug=yes, and checking for output.
Comment 2 Chris Reinhardt 2009-03-13 03:22:01 CET
The problem has to do with loading the desktop menu module.

In FreeBSD the symbols from libxfce4menu aren't visible to the menu stub when it loads the module, so it fails trying to get the pointer to xfce_menu_init().  I was able to get the menu to work by writing wrapper functions around init and shutdown in the module, and modifying the menu stub to use those wrapper functions instead.  

I've attached the patches I used to fix the problem.  I don't know if they are suitable as a general fix or not.
Comment 3 Chris Reinhardt 2009-03-13 03:22:38 CET
Created attachment 2229 
patch to use wrapper functions.
Comment 4 Chris Reinhardt 2009-03-13 03:23:12 CET
Created attachment 2230 
patch to add wrapper functions
Comment 5 Brian J. Tarricone (not reading bugmail) 2009-03-13 05:28:02 CET
Hmm, naw, right move here is to just remove the xfce_menu_init() calls from the stub.  They're not necessary anymore.  Should work ok in svn trunk, rev 29655.

Bug #3370

Reported by:
Matteo Riondato
Reported on: 2007-07-03
Last modified on: 2009-07-14

People

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

Version

Attachments

patch to use wrapper functions. (575 bytes, patch)
2009-03-13 03:22 CET , Chris Reinhardt
no flags
patch to add wrapper functions (970 bytes, patch)
2009-03-13 03:23 CET , Chris Reinhardt
no flags

Additional information