! 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 !
Context menu does not work for tachos
Status:
RESOLVED: FIXED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description Raphael Groner 2012-12-08 18:37:07 CET
I have four tachos in my panel:
acpitz-0 / temp1
coretemp-0 / Core 0, Core 1
Festplatten / ST...

When I do a left click on the plugin area, there's no context menu appearing. 
How can I modify the settings?

I set severity to critical cause this is a broken feature in the latest released version.

xfce4-sensors-plugin 1.2.5-1
linux 2012.11-1
lm_sensors 3.3.3-1
hddtemp 0.3.beta15.52-1

Linux schlebby 3.6.8-1-MANJARO #1 SMP PREEMPT Wed Nov 28 00:13:38 CET 2012 i686 GNU/Linux
(Manjaro is based on ArchLinux)
Comment 1 Raphael Groner 2012-12-08 19:13:57 CET
s/left click/right click/
Comment 2 Fabian Nowak editbugs 2014-04-29 00:04:09 CEST
Thanks, will investigate the event boxes and other stuff around. 

This bug persists longer than 1.2.5, I think. Thus, it is not severe ;)
Comment 3 Fabian Nowak editbugs 2014-04-29 00:06:27 CEST
*** Bug 9610 has been marked as a duplicate of this bug. ***
Comment 4 abandoned account 2015-02-16 18:40:38 CET
xfce4-sensors-plugin git version, tested with latest commit(currently c4f7178cdc538a8bca9bfb75dc7e511349642a0f )
Context menu doesn't appear at all on right click, thus I cannot enter Options(it's called Properties I believe).

I had something set for double click and that works. ie. double right click, runs what I've set (xfce4-panel -r), also works for double left click.
But context menu doesn't appear (on single right click)

Compiled in Manjaro as:

./autogen.sh --prefix=/usr \
  --sysconfdir=/etc \
  --libexecdir=/usr/lib \
  --localstatedir=/var \
  --datadir=/usr/share \
  --datarootdir=/usr/share \
  --disable-static \
  --with-pathhddtemp=/usr/sbin/hddtemp \
  --enable-debug
make -j1

xfce4-sensors -V
Xfce4 Sensors 1.2.6git-c4f7178

I previously used the stock Manjaro Linux version from package:
xfce4-sensors-plugin               1.2.5-2
this worked fine in terms of context menu appearing.


X.Org X Server 1.16.1
xfce4-panel 4.11.3git-UNKNOWN (Xfce 4.10)
Linux manji 3.19.0-gbfa76d49 #28 SMP Mon Feb 9 14:29:14 CET 2015 x86_64 GNU/Linux
xfce4 v4.10

unsure what more info to give
Comment 5 abandoned account 2015-02-16 19:07:40 CET
also tested with:

$ xfce4-panel -V
xfce4-panel 4.11.3git-c86d6d8 (Xfce 4.10)
Comment 6 abandoned account 2015-02-16 20:19:38 CET
I was able to redirect xfce4-session output to a file and I can now see that whenever I left or right click once this is the only output:

TRACE[sensors-plugin.c:1013] execute_command(): enters execute_command
TRACE[sensors-plugin.c:1031] execute_command(): leaves execute_command with FALSE
Comment 7 abandoned account 2015-02-16 20:26:21 CET
Created attachment 5948 
the fix (for me)

now right click opens context menu, and you cannot double right click to do what double left click does
Comment 8 Fabian Nowak editbugs 2015-02-18 19:59:09 CET
thanks for reporting and investigating; the problem was originally, that the right-click menu made the plugin hang when the tachos were selected. I will investigate further your solution and the old code, let's see...
Comment 9 Fabian Nowak editbugs 2015-02-20 20:39:49 CET
On the one hand, the patch might have made it work again. 

On the other hand, when activating the tachos, the toltip and any context menu handling is deactivated automatically in order to not destroy the plugin because of some problems with the tooltip above the tachos, which made the plugin crash.

 o in case anyone doesn't get a context menu, simply go to the panel settings, choose the tab with the plugins, go to the sensors plugin properties, and choose, e.g., textual presentation and be sure to deactivate "suppress tooltip".

Won't fix that because the bypass is easy and because it doesn't make the panel crash.
Comment 10 Fabian Nowak editbugs 2015-03-15 21:10:10 CET
The current version crashes when the tacho view is selected and one tries to open the properties dialog, presumably from the panel properties -> objecs tab.
Comment 11 Fabian Nowak editbugs 2017-03-27 23:43:38 CEST
context menu and tooltips work now with current state in Git.

Bug #9609

Reported by:
Raphael Groner
Reported on: 2012-12-08
Last modified on: 2017-03-27
Duplicates (1):
  • 9610 Crash when tachos are active and try to go into settings dialog

People

Assignee:
Fabian Nowak
CC List:
1 user

Version

Version:
unspecified

Attachments

the fix (for me) (403 bytes, patch)
2015-02-16 20:26 CET , abandoned account
no flags

Additional information