PapirusDevelopmentTeam / papirus-icon-theme

Pixel perfect icon theme for Linux
https://git.io/papirus-icon-theme
GNU General Public License v3.0
6.65k stars 423 forks source link

No icon in taskbar for Xfce-Power-Manager 4.16.0 #2484

Open philmmanjaro opened 3 years ago

philmmanjaro commented 3 years ago

Power-Manager changed the way on how to use icons for it's taskbar plugin. See also here: https://gitlab.xfce.org/xfce/xfce4-power-manager/-/commit/c5755b024e067eaa39e7c7cfc8c189e9a983ed7d

image

varlesh commented 3 years ago

It's strange, because icons battery-level-*-symbolic available

varlesh commented 3 years ago

https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/blob/master/Papirus/symbolic/status/battery-level-10-charging-symbolic.svg

varlesh commented 3 years ago

@philmmanjaro Or now used non-symbolic icons? How it's looking with default XFCE icon theme?

varlesh commented 3 years ago

https://gitlab.xfce.org/xfce/xfce4-power-manager/-/issues/104

rauldipeas commented 3 years ago

I have the same issue on Debian testing with XFCE 4.16.

varlesh commented 3 years ago

@rauldipeas Please report about this on gitlab xfce. Also maybe need testing with other themes too

philmmanjaro commented 3 years ago

I think XFCE is using upower now. For example my output would be:

[phil@development x86_64]$ upower -d
Device: /org/freedesktop/UPower/devices/mouse_hidpp_battery_0
  native-path:          hidpp_battery_0
  model:                MX Vertical Advanced Ergonomic Mouse
  serial:               407b-24-8b-d8-7b
  power supply:         no
  updated:              Sa 02 Jan 2021 11:44:56 CET (88 seconds ago)
  has history:          yes
  has statistics:       yes
  mouse
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    battery-level:       normal
    percentage:          55% (should be ignored)
    icon-name:          'battery-low-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         no
  updated:              Sa 02 Jan 2021 10:32:49 CET (4415 seconds ago)
  has history:          no
  has statistics:       no
  unknown
    warning-level:       none
    icon-name:          'battery-missing-symbolic'

Daemon:
  daemon-version:  0.99.11
  on-battery:      no
  lid-is-closed:   no
  lid-is-present:  no
  critical-action: PowerOff

So the second device for DisplayDevice calls the following icon: battery-missing-symbolic. That would explain why it is shown. So mouse_hidpp_battery_0 is totally ignored.

zorzibaffo commented 3 years ago

Got the same issue after an upgrade from Debian Buster xfce to Debian Bullseye. No icon for xfce power management.

The problem seems to vanish with a clean install, or by starting from a clean profile (with a new user). Anyone confirms ?