You are not logged in.
After an upgrade to 4.14 I see a very strange and puzzling behaviour described below. Did somebody encounter something similar - and if yes, how it can be solved?
I have an application shortcut which is bound to a command 'xfce4-popup-applicationsmenu'. Before an upgrade to 4.14, it worked as expected - it poped up an application menu on the same place on the screen where the application menu would have appeared had I clicked an 'Application Menu' button on a panel with the left mouse button. After an upgrade though, it usually runs a command 'xfdesktop --menu' instead. To be more precise, immediately after logging in when I use the shortcut it usually pops up an application menu. After the shortcut is used once or twice (each use is separated by an action which closes the application menu - for example by pressing 'Esc'. Also, number of times the shortcut should be used till the problem starts occurring is not deterministic and change all the time - may be once or twice, may be more), the following press does not pop up an application menu, but causes the application menu button to appear pressed, and to stay appear pressed from now on (that is, pressing 'Esc' doesn't change the button's appearance). Then all the following attempts to use the shortcut pop up the same menu which appears when a command 'xfdesktop --menu' is ran. This continues to happen until the application menu button is clicked with the left mouse button - this action pops up application menu. After application menu disappears (for example, if 'Esc' is pressed), application menu stops appearing pressed. If shortcut is pressed again on this stage, the whole cycle described above repeats itself.
The same problem happens if shortcut key bound to the command is changed, deleting/recreating the shortcut does not help.
Offline
Can we see the list of your keyboard shortcuts?
xfconf-query -c xfce4-keyboard-shortcuts -lv
Also, can you post your ~/.xsession-errors file (if your distro uses one).
And finally, try running xfsettingsd in debug mode from a terminal window:
XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon
This will start generating output. Use your system as you do and when you experience the problem again, grab the last screen or two of output and post it back here.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
There is no .xsession-errors present.
Here is a list of shortcuts:
/commands/custom/<Alt>F2 xfce4-appfinder --collapsed
/commands/custom/<Alt>F3 xfce4-appfinder
/commands/custom/<Alt>period /home/user/.bin/screenoff
/commands/custom/<Control><Alt>Delete xflock4
/commands/custom/override true
/commands/custom/<Primary><Alt>b firefox
/commands/custom/<Primary><Alt>f /home/user/.bin/krusader-my
/commands/custom/<Primary><Alt>t /usr/bin/xfce4-terminal
/commands/custom/<Primary>Escape xfdesktop --menu
/commands/custom/Print xfce4-screenshooter -f -s /home/user/a/misc/screenshots/
/commands/custom/Super_L xfce4-popup-applicationsmenu
/commands/custom/<Super>p xfce4-display-settings --minimal
/commands/custom/XF86Display xfce4-display-settings --minimal
/commands/custom/XF86Mail exo-open --launch MailReader
/commands/custom/XF86WWW exo-open --launch WebBrowser
/commands/default/<Alt>F1 xfce4-popup-applicationsmenu
/commands/default/<Alt>F2 xfce4-appfinder --collapsed
/commands/default/<Alt>F2/startup-notify true
/commands/default/<Alt>F3 xfce4-appfinder
/commands/default/<Alt>F3/startup-notify true
/commands/default/<Primary><Alt>Delete xflock4
/commands/default/<Primary><Alt>l xflock4
/commands/default/<Primary><Alt>t exo-open --launch TerminalEmulator
/commands/default/<Primary>Escape xfdesktop --menu
/commands/default/Print xfce4-screenshooter
/commands/default/<Super>p xfce4-display-settings --minimal
/commands/default/XF86Display xfce4-display-settings --minimal
/commands/default/XF86Mail exo-open --launch MailReader
/commands/default/XF86WWW exo-open --launch WebBrowser
/providers <<UNSUPPORTED>>
/xfwm4/custom/<Alt><Control>End move_window_next_workspace_key
/xfwm4/custom/<Alt><Control>Home move_window_prev_workspace_key
/xfwm4/custom/<Alt><Control>KP_1 move_window_workspace_1_key
/xfwm4/custom/<Alt><Control>KP_2 move_window_workspace_2_key
/xfwm4/custom/<Alt><Control>KP_3 move_window_workspace_3_key
/xfwm4/custom/<Alt><Control>KP_4 move_window_workspace_4_key
/xfwm4/custom/<Alt><Control>KP_5 move_window_workspace_5_key
/xfwm4/custom/<Alt><Control>KP_6 move_window_workspace_6_key
/xfwm4/custom/<Alt><Control>KP_7 move_window_workspace_7_key
/xfwm4/custom/<Alt><Control>KP_8 move_window_workspace_8_key
/xfwm4/custom/<Alt><Control>KP_9 move_window_workspace_9_key
/xfwm4/custom/<Alt>Delete del_workspace_key
/xfwm4/custom/<Alt>F10 maximize_window_key
/xfwm4/custom/<Alt>F11 fullscreen_key
/xfwm4/custom/<Alt>F12 above_key
/xfwm4/custom/<Alt>F4 close_window_key
/xfwm4/custom/<Alt>F6 stick_window_key
/xfwm4/custom/<Alt>F7 move_window_key
/xfwm4/custom/<Alt>F8 resize_window_key
/xfwm4/custom/<Alt>F9 hide_window_key
/xfwm4/custom/<Alt>Insert add_workspace_key
/xfwm4/custom/<Alt><Shift>Tab cycle_reverse_windows_key
/xfwm4/custom/<Alt>space popup_menu_key
/xfwm4/custom/<Alt>Tab cycle_windows_key
/xfwm4/custom/<Control><Alt>d show_desktop_key
/xfwm4/custom/<Control><Alt>Down down_workspace_key
/xfwm4/custom/<Control><Alt>Up up_workspace_key
/xfwm4/custom/<Control><Shift><Alt>Left move_window_left_key
/xfwm4/custom/<Control><Shift><Alt>Right move_window_right_key
/xfwm4/custom/<Control><Shift><Alt>Up move_window_up_key
/xfwm4/custom/Down down_key
/xfwm4/custom/Escape cancel_key
/xfwm4/custom/Left left_key
/xfwm4/custom/override true
/xfwm4/custom/Right right_key
/xfwm4/custom/<Shift><Alt>Page_Down lower_window_key
/xfwm4/custom/<Shift><Alt>Page_Up raise_window_key
/xfwm4/custom/<Super>Tab switch_window_key
/xfwm4/custom/Up up_key
/xfwm4/default/<Alt>Delete del_workspace_key
/xfwm4/default/<Alt>F10 maximize_window_key
/xfwm4/default/<Alt>F11 fullscreen_key
/xfwm4/default/<Alt>F12 above_key
/xfwm4/default/<Alt>F4 close_window_key
/xfwm4/default/<Alt>F6 stick_window_key
/xfwm4/default/<Alt>F7 move_window_key
/xfwm4/default/<Alt>F8 resize_window_key
/xfwm4/default/<Alt>F9 hide_window_key
/xfwm4/default/<Alt>Insert add_workspace_key
/xfwm4/default/<Alt><Shift>Tab cycle_reverse_windows_key
/xfwm4/default/<Alt>space popup_menu_key
/xfwm4/default/<Alt>Tab cycle_windows_key
/xfwm4/default/<Control>F2 workspace_2_key
/xfwm4/default/<Control>F4 workspace_4_key
/xfwm4/default/Down down_key
/xfwm4/default/Escape cancel_key
/xfwm4/default/Left left_key
/xfwm4/default/<Primary><Alt>d show_desktop_key
/xfwm4/default/<Primary><Alt>Down down_workspace_key
/xfwm4/default/<Primary><Alt>End move_window_next_workspace_key
/xfwm4/default/<Primary><Alt>Home move_window_prev_workspace_key
/xfwm4/default/<Primary><Alt>KP_1 move_window_workspace_1_key
/xfwm4/default/<Primary><Alt>KP_2 move_window_workspace_2_key
/xfwm4/default/<Primary><Alt>KP_3 move_window_workspace_3_key
/xfwm4/default/<Primary><Alt>KP_4 move_window_workspace_4_key
/xfwm4/default/<Primary><Alt>KP_5 move_window_workspace_5_key
/xfwm4/default/<Primary><Alt>KP_6 move_window_workspace_6_key
/xfwm4/default/<Primary><Alt>KP_7 move_window_workspace_7_key
/xfwm4/default/<Primary><Alt>KP_8 move_window_workspace_8_key
/xfwm4/default/<Primary><Alt>KP_9 move_window_workspace_9_key
/xfwm4/default/<Primary><Alt>Left left_workspace_key
/xfwm4/default/<Primary><Alt>Right right_workspace_key
/xfwm4/default/<Primary><Alt>Up up_workspace_key
/xfwm4/default/<Primary>F1 workspace_1_key
/xfwm4/default/<Primary>F10 workspace_10_key
/xfwm4/default/<Primary>F11 workspace_11_key
/xfwm4/default/<Primary>F12 workspace_12_key
/xfwm4/default/<Primary>F2 workspace_2_key
/xfwm4/default/<Primary>F3 workspace_3_key
/xfwm4/default/<Primary>F4 workspace_4_key
/xfwm4/default/<Primary>F5 workspace_5_key
/xfwm4/default/<Primary>F6 workspace_6_key
/xfwm4/default/<Primary>F7 workspace_7_key
/xfwm4/default/<Primary>F8 workspace_8_key
/xfwm4/default/<Primary>F9 workspace_9_key
/xfwm4/default/<Primary><Shift><Alt>Left move_window_left_key
/xfwm4/default/<Primary><Shift><Alt>Right move_window_right_key
/xfwm4/default/<Primary><Shift><Alt>Up move_window_up_key
/xfwm4/default/Right right_key
/xfwm4/default/<Shift><Alt>Page_Down lower_window_key
/xfwm4/default/<Shift><Alt>Page_Up raise_window_key
/xfwm4/default/<Super>Tab switch_window_key
/xfwm4/default/Up up_key
And here is the log until reproduction:
xfce4-settings(xsettings): _XSETTINGS_S0 registered on screen 0
xfce4-settings(xsettings): 30 settings changed (serial=0, len=1172)
xfce4-settings(xsettings): resource manager (xft) changed (len=123)
xfce4-settings(displays): Detected CRTC 63.
xfce4-settings(displays): Detected CRTC 64.
xfce4-settings(displays): Detected output 65 LVDS1.
xfce4-settings(displays): Detected output 67 HDMI1.
xfce4-settings(displays): CRTC 63 assigned to LVDS1.
xfce4-settings(displays): CRTC 64 assigned to HDMI1.
xfce4-settings(displays): CRTC 64, output list[0] -> 67.
xfce4-settings(displays): Total 1 active output(s).
xfce4-settings(displays): Normalized CRTC 64: size=1920x1200, pos=0x0.
xfce4-settings(displays): min_h = 200, min_w = 320, max_h = 8192, max_w = 8192, prev_h = 1200, prev_w = 1920, prev_hmm = 318, prev_wmm = 508, h = 1200, w = 1920, hmm = 318, wmm = 508.
xfce4-settings(displays): Configuring CRTC 63.
xfce4-settings(displays): Configuring CRTC 64.
xfce4-settings(displays): Applying changes to CRTC 64.
xfce4-settings(displays): Applying CRTC 64 Transform: x=1.000000 y=1.000000, filter=nearest.
xfce4-settings(pointers): initialized xi 2.3
xfce4-settings(pointers): [AlpsPS/2 ALPS GlidePoint] Changed device property Synaptics_Tap_Action
xfce4-settings(keyboards): initialized xkb 1.0
xfce4-settings(keyboards): set auto repeat on
xfce4-settings(keyboards): set key repeat (delay=500, rate=50)
xfce4-settings(keyboards): set numlock on
xfce4-settings(accessibility): AccessXKeys disabled
xfce4-settings(accessibility): stickykeys disabled
xfce4-settings(accessibility): slowkeys disabled
xfce4-settings(accessibility): bouncekeys disabled
xfce4-settings(accessibility): mousekeys disabled
xfce4-settings(keyboard-shortcuts): 14 shortcuts loaded
xfce4-settings(fontconfig): monitoring 81 paths
xfce4-settings(workspaces): 5 desktop names set from xfconf
xfce4-settings(keyboard-shortcuts): activated "Super_L" (command="xfce4-popup-applicationsmenu", snotify=0, stamp=16942513)
While the last line of the log says that the command is "xfce4-popup-applicationsmenu", this is the case when wrong menu was poped up. And the same line is printed in cases when correct menu is poped up, only timestamp differs (it is not included in the log above since the only difference in the output is more lines identical to the last one which differ only in stamp)
Offline
xfce4-popup-applicationsmenu is shell script that tries to run application menu and if it fails runs xfdesktop menu.
cat /usr/bin/xfce4-popup-applicationsmenu
....
# try to open panel menu, if this fails try xfdesktop
/usr/bin/xfce4-panel --plugin-event=applicationsmenu:popup:bool:$ATPOINTER || xfdesktop --menu
....
If the applications menu is not in the panel both next command fails
/usr/bin/xfce4-panel --plugin-event=applicationsmenu:popup:bool:false
/usr/bin/xfce4-panel --plugin-event=applicationsmenu:popup:bool:true
The first one is suppose to open menu at the panel and the second one at mouse pointer.
Since you have an applications menu, try running that command and see if it fails and returns some error message.
Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c
Offline
I tried to debug the problem a bit - the command (xfce4-panel --plugin-event=applicationsmenu:popup:bool:true) indeed returns error code 1, and I see that the failure is in the call to a function panel_dbus_client_plugin_event - it seems that the event on the remote side didn't succeed (function's return value is 1, while remote_succeed is 0). I am not familiar with the code, so it is a bit hard to debug the remote side (especially since the problem may be somewhere in dbus communication or somewhere deep in gtk) - is there some easier way to understand the problem? Logs don't tell anything that seems interesting: whenever the shortcut is used, a message 'no trigger event for menu popup' appears in panel's log, but it happens even when the application menu pops up as it should.
Offline
I see that the failure is in the call to a function panel_dbus_client_plugin_event
Is your dbus environment set up properly?
Which distro are you using?
Are you running a display manager and if so, which one?
What does the following return?
env | grep DBUS
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
It seems that dbus is running fine - at least the daemon is up, and I can connect to it and query successfully. I use archlinux, running slim as a display manager. DBUS env. variable is: 'DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus'
Offline
It seems that dbus is running fine - at least the daemon is up, and I can connect to it and query successfully. I use archlinux, running slim as a display manager. DBUS env. variable is: 'DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus'
Do you source the /etc/X11/xinit/xinitrc.d/50-systemd-user.sh file in your startup scripts - where it sets up the systemd dbus environment?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
It seems so: slim runs the following command after login - 'exec /bin/bash -login ~/.xinitrc %session', and ~/.xinitrc sources everything from /etc/X11/xinit/xinitrc.d, 50-systemd-user.sh among them.
Offline
Okay. I'm seeing the same thing now. I had disabled desktop icons and was then seeing the same applications menu and was confusing the two.
I get the error: "(xfce4-panel:22367): Gtk-WARNING **: 14:16:16.727: no trigger event for menu popup" when it works correctly, which is weird. When it doesn't work, there is no message displayed.
I reported a bug back in November related to a similar occurrence (see https://bugzilla.xfce.org/show_bug.cgi?id=14892). It looks like it affects this as well. Please add your information to that bug report.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.011 seconds, 10 queries executed - Memory usage: 615.17 KiB (Peak: 632.02 KiB) ]