Acknowledgement sent
to Zlatko Calusic <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Xfce Maintainers <[email protected]>.
(Mon, 22 Sep 2014 21:00:06 GMT) (full text, mbox, link).
Subject: xfce4-power-manager-plugins: plugin icon is missing
Date: Mon, 22 Sep 2014 22:51:20 +0200
Package: xfce4-power-manager-plugins
Version: 1.4.0-2
Severity: normal
I like new xfpm plugin very much, there's just one small problem with
it. On the desktop, where I have an UPS connected via USB cable,
there's no icon in the xfce panel (previously, there was an icon in
the tray). But, on the laptop (equipped with a battery), I see the
icon.
Just to be clear, I'm not talking about trayicon, I know it's gone,
I'm talking about the xfpm plugin icon.
Screenshot: http://i39.servimg.com/u/f39/13/01/91/22/xfpm10.png
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.17.0-rc6+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xfce4-power-manager-plugins depends on:
ii libatk1.0-0 2.12.0-1
ii libc6 2.19-11
ii libcairo2 1.12.16-5
ii libdbus-1-3 1.8.8-1
ii libdbus-glib-1-2 0.102-1
ii libfontconfig1 2.11.0-6.1
ii libfreetype6 2.5.2-2
ii libgdk-pixbuf2.0-0 2.30.8-1
ii libglib2.0-0 2.41.5-2
ii libgtk2.0-0 2.24.24-1
ii libpango-1.0-0 1.36.7-1
ii libpangocairo-1.0-0 1.36.7-1
ii libpangoft2-1.0-0 1.36.7-1
ii libupower-glib3 0.99.1-3
ii libx11-6 2:1.6.2-3
ii libxfce4ui-1-0 4.10.0-6
ii libxfce4util6 4.10.1-2
ii libxfconf-0-2 4.10.0-3
ii libxrandr2 2:1.4.2-1
ii xfce4-panel 4.10.1-1
ii xfce4-power-manager 1.4.0-2
xfce4-power-manager-plugins recommends no packages.
xfce4-power-manager-plugins suggests no packages.
-- no debconf information
Acknowledgement sent
to Yves-Alexis Perez <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <[email protected]>.
(Mon, 22 Sep 2014 21:21:05 GMT) (full text, mbox, link).
On lun., 2014-09-22 at 22:51 +0200, Zlatko Calusic wrote:
> Package: xfce4-power-manager-plugins
> Version: 1.4.0-2
> Severity: normal
>
> I like new xfpm plugin very much, there's just one small problem with
> it. On the desktop, where I have an UPS connected via USB cable,
> there's no icon in the xfce panel (previously, there was an icon in
> the tray). But, on the laptop (equipped with a battery), I see the
> icon.
>
> Just to be clear, I'm not talking about trayicon, I know it's gone,
> I'm talking about the xfpm plugin icon.
>
> Screenshot: http://i39.servimg.com/u/f39/13/01/91/22/xfpm10.png
Can you strace the plugin and check the file it tries to open? It should
try to use the various ups files from xfce4-power-manager-data, but that
can also depend on the currently used icon theme.
Regards,
--
Yves-Alexis
Acknowledgement sent
to Zlatko Calusic <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <[email protected]>.
(Mon, 22 Sep 2014 22:09:08 GMT) (full text, mbox, link).
Subject: Re: [Pkg-xfce-devel] Bug#762500: xfce4-power-manager-plugins:
plugin icon is missing
Date: Tue, 23 Sep 2014 00:00:30 +0200
On 22.09.2014 23:19, Yves-Alexis Perez wrote:
> On lun., 2014-09-22 at 22:51 +0200, Zlatko Calusic wrote:
>> Package: xfce4-power-manager-plugins
>> Version: 1.4.0-2
>> Severity: normal
>>
>> I like new xfpm plugin very much, there's just one small problem with
>> it. On the desktop, where I have an UPS connected via USB cable,
>> there's no icon in the xfce panel (previously, there was an icon in
>> the tray). But, on the laptop (equipped with a battery), I see the
>> icon.
>>
>> Just to be clear, I'm not talking about trayicon, I know it's gone,
>> I'm talking about the xfpm plugin icon.
>>
>> Screenshot: http://i39.servimg.com/u/f39/13/01/91/22/xfpm10.png
>
> Can you strace the plugin and check the file it tries to open? It should
> try to use the various ups files from xfce4-power-manager-data, but that
> can also depend on the currently used icon theme.
>
> Regards,
>
I replaced panel's wrapper binary with script that executes strace -fe
open on the real wrapper binary, and then added the plugin to the panel.
I'm afraid not much additional info in the trace file. Unless I missed
something, it looks like the plugin never attempts to open any image
file. At least you can see what icon themes I have installed (adwaita,
gnome, hicolor).
http://pastebin.com/6MM6CkEB
This issue looks specific to the fact that I have UPS connected on this
particular computer, not battery. I see that xfce4-power-manager-data
package has specific icons for UPS' and they're properly installed,
somehow they are invisible in panel. :P
--
Zlatko
Acknowledgement sent
to Yves-Alexis Perez <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <[email protected]>.
(Tue, 23 Sep 2014 07:21:14 GMT) (full text, mbox, link).
On mar., 2014-09-23 at 00:00 +0200, Zlatko Calusic wrote:
> On 22.09.2014 23:19, Yves-Alexis Perez wrote:
> > On lun., 2014-09-22 at 22:51 +0200, Zlatko Calusic wrote:
> >> Package: xfce4-power-manager-plugins
> >> Version: 1.4.0-2
> >> Severity: normal
> >>
> >> I like new xfpm plugin very much, there's just one small problem with
> >> it. On the desktop, where I have an UPS connected via USB cable,
> >> there's no icon in the xfce panel (previously, there was an icon in
> >> the tray). But, on the laptop (equipped with a battery), I see the
> >> icon.
> >>
> >> Just to be clear, I'm not talking about trayicon, I know it's gone,
> >> I'm talking about the xfpm plugin icon.
> >>
> >> Screenshot: http://i39.servimg.com/u/f39/13/01/91/22/xfpm10.png
> >
> > Can you strace the plugin and check the file it tries to open? It should
> > try to use the various ups files from xfce4-power-manager-data, but that
> > can also depend on the currently used icon theme.
> >
> > Regards,
> >
>
> I replaced panel's wrapper binary with script that executes strace -fe
> open on the real wrapper binary, and then added the plugin to the panel.
> I'm afraid not much additional info in the trace file. Unless I missed
> something, it looks like the plugin never attempts to open any image
> file. At least you can see what icon themes I have installed (adwaita,
> gnome, hicolor).
>
> http://pastebin.com/6MM6CkEB
>
> This issue looks specific to the fact that I have UPS connected on this
> particular computer, not battery. I see that xfce4-power-manager-data
> package has specific icons for UPS' and they're properly installed,
> somehow they are invisible in panel. :P
>
It might be worth running xfpm from command line, using debug:
xfce4-power-manager -q # stop current daemon
xfce4-power-manager --debug # run new daemon with debug mode
And report your findings. Unfortunately I don't have an UPS so I can't
really debug here.
Regards,
--
Yves-Alexis
Acknowledgement sent
to Zlatko Calusic <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <[email protected]>.
(Tue, 23 Sep 2014 17:00:11 GMT) (full text, mbox, link).
Subject: Re: [Pkg-xfce-devel] Bug#762500: xfce4-power-manager-plugins:
plugin icon is missing
Date: Tue, 23 Sep 2014 18:58:19 +0200
On 23.09.2014 09:20, Yves-Alexis Perez wrote:
> It might be worth running xfpm from command line, using debug:
>
> xfce4-power-manager -q # stop current daemon
> xfce4-power-manager --debug # run new daemon with debug mode
>
> And report your findings. Unfortunately I don't have an UPS so I can't
> really debug here.
>
Got it!
Somehow you always manage to help me to help you :), really nice to work with you.
I'm not even posting the whole debug output, because I have a pretty good idea where the problem lies, I hope you can take it from there.
Since there's a difference in behaviour between battery and UPS equipped computers, I extracted debug output from both, and with a bit of filtering did a context diff. And soon it's obvious what's goin' on.
Desktop:
-xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/ups_hiddev0
-xfpm_power_add_device(): 'ups' device added
-xfpm_power_add_device(): Battery device type 'ups' detected at: /org/freedesktop/UPower/devices/ups_hiddev0
Laptop:
+xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/line_power_AC
+xfpm_power_add_device(): 'line-power' device added
+xfpm_power_get_power_devices(): Power device detected at : /org/freedesktop/UPower/devices/battery_BAT0
+xfpm_power_add_device(): 'battery' device added
+xfpm_power_add_device(): Battery device type 'battery' detected at: /org/freedesktop/UPower/devices/battery_BAT0
So far so good... But later on...
-xfpm_battery_refresh_icon(): Battery icon xfpm-ups-charged
+xfpm_battery_refresh_icon(): Battery icon xfpm-primary-charged
So, laptop is searching for something called xfpm-ups-charged, and with a little help of locate(1), I can see lots of such named icons. But, locating xfpm-ups-charged returns nil. That's because appropriate icons are actually called:
/usr/share/icons/hicolor/32x32/status/xfpm-ups-100.png
/usr/share/icons/hicolor/48x48/status/xfpm-ups-100.png
/usr/share/icons/hicolor/scalable/status/xfpm-ups-100.svg
To test it, I did 3 symbolic links (ln -s xfpm-ups-100.foo xfpm-ups-charged.foo), rebuilt icon-cache, reloaded plugin and voila, the icon is there in all its beauty. ;)
So, either icons should be renamed or the plugin should search for appropriately named icons.
Regards,
--
Zlatko
Reply sent
to Yves-Alexis Perez <[email protected]>:
You have taken responsibility.
(Sun, 08 Mar 2015 21:54:09 GMT) (full text, mbox, link).
Notification sent
to Zlatko Calusic <[email protected]>:
Bug acknowledged by developer.
(Sun, 08 Mar 2015 21:54:09 GMT) (full text, mbox, link).
Subject: Bug#762500: fixed in xfce4-power-manager 1.4.3-1
Date: Sun, 08 Mar 2015 21:52:27 +0000
Source: xfce4-power-manager
Source-Version: 1.4.3-1
We believe that the bug you reported is fixed in the latest version of
xfce4-power-manager, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Yves-Alexis Perez <[email protected]> (supplier of updated xfce4-power-manager package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 08 Mar 2015 21:57:47 +0100
Source: xfce4-power-manager
Binary: xfce4-power-manager xfce4-power-manager-data xfce4-power-manager-plugins
Architecture: source amd64 all
Version: 1.4.3-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Xfce Maintainers <[email protected]>
Changed-By: Yves-Alexis Perez <[email protected]>
Description:
xfce4-power-manager - power manager for Xfce desktop
xfce4-power-manager-data - power manager for Xfce desktop, arch-indep files
xfce4-power-manager-plugins - power manager plugins for Xfce panel
Closes: 762500779778
Changes:
xfce4-power-manager (1.4.3-1) experimental; urgency=medium
.
* New upstream release.
- add symlinks for UPS icons. closes: #762500
* debian/patches:
- 0001-Use-translated-device-type-for-unknown-devices-bug-1 dropped,
included upstream.
* debian/control:
- drop libsystemd-daemon-dev build-dep, obsolete. closes: #779778
Checksums-Sha1:
4c029353cc7f73ef2e6ba01eb897ea8a73aeacdd 2213 xfce4-power-manager_1.4.3-1.dsc
7bf53c14c64aa9632db8dbc1f96d8de3f83f597d 1138831 xfce4-power-manager_1.4.3.orig.tar.bz2
a1799c7f60d3fb18c437df161219681dd3eec98f 6660 xfce4-power-manager_1.4.3-1.debian.tar.xz
fa9cfea839371331af9a62a84028487281a446f8 203392 xfce4-power-manager_1.4.3-1_amd64.deb
85c9989c50c112a6f2db8b026e2017da8f9428db 575060 xfce4-power-manager-data_1.4.3-1_all.deb
fbab2c7f7fe66067ce761fb9d59de7998a0c2194 148582 xfce4-power-manager-plugins_1.4.3-1_amd64.deb
Checksums-Sha256:
19a181e55c9d561633a405a971afdb342aed6e118a3e3294fc2fb5eec7475fbf 2213 xfce4-power-manager_1.4.3-1.dsc
018e11dd315745f582d70108b6071d37fb94854fde70961e17325bc19c4e2011 1138831 xfce4-power-manager_1.4.3.orig.tar.bz2
c0b2b2005499ad465bd85736a42e6bc8a2acc2c5fb71cb1379ebf4c683a34dc8 6660 xfce4-power-manager_1.4.3-1.debian.tar.xz
4fb3c9dd0dc0f6c6f28b20cf0d66f90d078cbe99a1a30b6008282aee6dc44b55 203392 xfce4-power-manager_1.4.3-1_amd64.deb
c2f25b50471b8adbfb11402986e537b6e385a877724c1fb8c39985c58a3084ef 575060 xfce4-power-manager-data_1.4.3-1_all.deb
6fcfc97c0eb960fb7e257e3d8bcad282def29ddcb5bad5f73cd412a8f941e53d 148582 xfce4-power-manager-plugins_1.4.3-1_amd64.deb
Files:
195ce51528d28b5379b4664b323a02f8 2213 xfce optional xfce4-power-manager_1.4.3-1.dsc
caa17bfd96c0879e7bcc7432896fad52 1138831 xfce optional xfce4-power-manager_1.4.3.orig.tar.bz2
8232ffa89e337e329f6d30157fee8324 6660 xfce optional xfce4-power-manager_1.4.3-1.debian.tar.xz
285e68cb889bd20402272d059f83211e 203392 xfce optional xfce4-power-manager_1.4.3-1_amd64.deb
b616107cd407d9768054e586038b236e 575060 xfce optional xfce4-power-manager-data_1.4.3-1_all.deb
edc4cbf822e3e2cc62782fe785b5999d 148582 xfce optional xfce4-power-manager-plugins_1.4.3-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCgAGBQJU/LiiAAoJEG3bU/KmdcClwNoH/jDibN8mXbH4M3S0Y6Lh3i6f
F7LygMqnhwVFYw+LHI6SYqvhTIXja7Liean6+J+TmFOjGr4qfZbr/0raTEZ+q5UK
h4h2nhXurAeKrf1se/HDahR17f9YZZm2+JwZlafcPm3jQ0DQSmIS7mEcBhFUFKPs
QTQbpXuJfmrHXITh2UN66wlpnxvf7Wjk3KHNr4vN+vq+Yk+cHQX6Fs2UBvpVXVrx
roiQ0Xim7jv0WXxzy5485rQoEt/9hqwH7zhjAX9C1akmXK33hxe2Y5/GpeoGFXnJ
GWr9C5BXdeFwrzfiBIdyA0+/1ilM+ycjezFidy/TAO6hBQm31cZ5c9KCeKCOWhM=
=2mZO
-----END PGP SIGNATURE-----
Acknowledgement sent
to Zlatko Calusic <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <[email protected]>.
(Sat, 09 May 2015 12:33:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Yves-Alexis Perez <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Xfce Maintainers <[email protected]>.
(Sat, 09 May 2015 13:15:04 GMT) (full text, mbox, link).
Control: reopen -1
On sam., 2015-05-09 at 14:24 +0200, Zlatko Calusic wrote:
> I'm afraid this bug is still present in xfce4-power-manager 1.4.4-3
>
Indeed, it seems the symlink never made it to the tarball…
Regards,
--
Yves-Alexis
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.