Bug 695025 - genmon not shown in panel after adding it
Summary: genmon not shown in panel after adding it
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xfce4-genmon-plugin
Version: 15
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Christoph Wickert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-09 20:40 UTC by rvcsaba
Modified: 2011-06-24 03:33 UTC (History)
1 user (show)

Fixed In Version: xfce4-genmon-plugin-3.3.0-3.fc15
Clone Of:
Environment:
Last Closed: 2011-06-24 03:33:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Incorrect, hide genmon plugin (60.89 KB, image/png)
2011-04-09 20:40 UTC, rvcsaba
no flags Details
correct, show genmon plugin (96.98 KB, image/png)
2011-04-09 20:43 UTC, rvcsaba
no flags Details
genmon rc file (110 bytes, text/plain)
2011-04-09 20:44 UTC, rvcsaba
no flags Details
xfce4-panel.xml file (7.89 KB, application/xml)
2011-04-09 20:45 UTC, rvcsaba
no flags Details
Incorrect places menu coordinate (308.83 KB, image/png)
2011-04-09 22:42 UTC, rvcsaba
no flags Details
Hide genmon, please see places menu coordinate (191.89 KB, image/png)
2011-04-09 23:05 UTC, rvcsaba
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Xfce 7527 0 None None None Never

Description rvcsaba 2011-04-09 20:40:39 UTC
Created attachment 490999 [details]
Incorrect, hide genmon plugin

Description of problem:

xfce4-genmon-plugin don't show. If I right click, and select properties - don't change any property -, close configuration window, genmon plugin is show.


Version-Release number of selected component (if applicable):

xfce4-genmon-plugin-3.3.0-2.fc15.x86_64


How reproducible:

always reproducible


Actual results:

genmon plugin hide


Expected results:

show genmon plugin

Comment 1 rvcsaba 2011-04-09 20:43:07 UTC
Created attachment 491000 [details]
correct, show genmon plugin

Comment 2 rvcsaba 2011-04-09 20:44:21 UTC
Created attachment 491001 [details]
genmon rc file

Comment 3 rvcsaba 2011-04-09 20:45:52 UTC
Created attachment 491002 [details]
xfce4-panel.xml file

Comment 4 Christoph Wickert 2011-04-09 21:58:51 UTC
(In reply to comment #0)
> xfce4-genmon-plugin don't show. If I right click, and select properties - don't
> change any property -, close configuration window, genmon plugin is show.

You mean it doesn't show after you add it to the panel? Is it shown on login  when you have added and configured it?

> Version-Release number of selected component (if applicable):
> 
> xfce4-genmon-plugin-3.3.0-2.fc15.x86_64

Are you sure about the version number? This has not even been pushed to the mirrors. If it's really -2, did you have the same problem with -1, too?

Comment 5 rvcsaba 2011-04-09 22:41:30 UTC
I used F14, and work genmon correctly. (Sorry, I don't speak english. :( )

I upgrade to F15 with preupgrade. All Xfce plugin work, but if I login to Xfce session, genmon is hide. If I open genmon properties window, and close it, genmon is show. I logout and login, genmon is hide.

If I open genmon properties window, and close, genmon is show, and I click places applet icon, the places window show incorrect coordinates. Please see my next attachement.

Yes, the version number is correct, because I upgrade genmon plugin from Koji build server. 3.3.0-1 version is same problem.

(This is a xfce-panel bug?)

Comment 6 rvcsaba 2011-04-09 22:42:56 UTC
Created attachment 491014 [details]
Incorrect places menu coordinate

Comment 7 rvcsaba 2011-04-09 23:05:39 UTC
Created attachment 491016 [details]
Hide genmon, please see places menu coordinate

Please compare this image and the previous attachement. Xfce panel ignore - can't see - genmon plugin?

Please see my genmon rc and xfce4-panel.xml files. These files OK?

Comment 8 rvcsaba 2011-04-11 09:47:06 UTC
I remove genmon from panel, and place new genmon applet, configure it, logout, login. Problem is same. :(

Comment 9 Christoph Wickert 2011-04-22 11:58:26 UTC
I think this is https://bugzilla.xfce.org/show_bug.cgi?id=7527

Comment 11 rvcsaba 2011-06-13 10:04:03 UTC
C o m m e n t   2   in Xfce bugzilla, not here. :)

Comment 12 rvcsaba 2011-06-13 10:11:28 UTC
Is this OK?

https://bugzilla.xfce.org/attachment.cgi?id=3685&action=diff

Comment 13 rvcsaba 2011-06-13 11:35:20 UTC
xfce4-genmon-plugin-3.3.0-3.fc15 solved this problem, thank you! :)

Comment 14 Christoph Wickert 2011-06-13 11:53:45 UTC
I cannot really reproduce the problem, when I add the plugin I see "(genmon)" in the panel. I guess this has something to do whit localization, when the string is empty, nothing is shown. With the patch it is now "genmon)XXX" so we can be sure something is shown regardless of the language

Comment 15 Fedora Update System 2011-06-13 11:55:10 UTC
xfce4-genmon-plugin-3.3.0-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/xfce4-genmon-plugin-3.3.0-3.fc15

Comment 16 rvcsaba 2011-06-13 12:28:08 UTC
(In reply to comment #14)
> I cannot really reproduce the problem, when I add the plugin I see "(genmon)"
> in the panel. I guess this has something to do whit localization, when the
> string is empty, nothing is shown. With the patch it is now "genmon)XXX" so we
> can be sure something is shown regardless of the language

This plugin running a custom shell script, and write string stdout to panel. 3.3.0-2 version hide this stdout, but if you visit the genmon properties menu, show it.

3.3.0-3 version work correctly, if I login, my script output is show. I use genmon-plugin show mpd status. Title, artist, etc.

My script:

#!/bin/bash

length=${1:-40}         # maximum 80
str=`mpc --format '[[%artist% - ]%title%]' current`
if [ -z "$str" ]
    then
        str=`mpc --format '%file%' current`
        str="${str##*/}"
fi
str=`sed 's/volume:.*repeat:.*random:.*single:.*//' <<<"$str"`
p=$[${#str}-length>0?${#str}-length:0]
str="${str:p}                                                                                "
echo "<txt>${str::length}</txt>"
echo "<tool>`mpc`</tool>"
exit 0

Genmon-plugin call my script every 4 seconds:

genmon 47

47: string length.

Comment 17 Fedora Update System 2011-06-15 05:56:55 UTC
Package xfce4-genmon-plugin-3.3.0-3.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xfce4-genmon-plugin-3.3.0-3.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/xfce4-genmon-plugin-3.3.0-3.fc15
then log in and leave karma (feedback).

Comment 18 Fedora Update System 2011-06-24 03:33:32 UTC
xfce4-genmon-plugin-3.3.0-3.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.