! 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 !
black background on panel icons
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
General

Comments

Description Todd 2018-11-05 04:44:08 CET
Created attachment 8084 
icons with dark backgrounds

Xfce 4.13
Fedora 29

Some of the icons on both my panels have black backgrounds, making them very difficult to read, especially the time.  My Pulse Audio Plugin is completely invisible.

Please see the attachment
Comment 1 Todd 2018-11-05 10:49:25 CET
I went into "Tweets" and turned on "compositing".  Everywhere on both panels now has the bark background.  Turning off compositing did not put it back.  It is a real mess now.
Comment 2 Todd 2018-11-06 05:23:02 CET
After logging out and back in, it was back to comment 1
Comment 3 Todd 2018-11-13 04:32:00 CET
Tested with an unused profile from Fedora 28 and Xfce 4.12 (now Fedora 29 and Xfce 4.13).  Then I added items.  And this  problem could not be reproduced.

Please let me know what files you need for analysis.
Comment 4 Todd 2018-11-16 21:52:04 CET
ToZ over on the Xfce forum helped me come up with a workaround for this:

xfconf-query -c xfwm4 -p /general/use_compositing -s true
xfconf-query -c xfce4-panel -p /panels/panel-0/leave-opacity -s 100
xfconf-query -c xfce4-panel -p /panels/panel-1/leave-opacity -s 100

For some reason, when I tried this from the GUI, it did not work.  It made everything blurry
Comment 5 Simon Steinbeiss editbugs 2018-11-21 23:51:35 CET
Hi, could you tell me which versions of Gtk+3 and Xfce4.13 you use?
I'll try to build a docker container to reproduce this problem, but I haven't ever seen anything like it.
Comment 6 Todd 2018-11-22 20:32:48 CET
Hi Simon,

    At some point you may wish my .config/xfce4 too

-T


$ rpm -qa gtk\*
gtkmathview-0.8.0-19.fc23.x86_64
gtkmm24-2.24.5-6.fc29.x86_64
gtk2-engines-2.20.2-17.fc29.x86_64
gtkmm30-3.22.2-3.fc29.x86_64
gtkspell-2.0.16-17.fc29.x86_64
gtksourceview3-3.24.9-4.fc29.x86_64
gtk3-devel-3.24.1-1.fc29.x86_64
gtk3-3.24.1-1.fc29.x86_64
gtk-update-icon-cache-3.24.1-1.fc29.x86_64
gtk-unico-engine-1.0.3-0.12.20140109bzr152.fc29.x86_64
gtk-murrine-engine-0.98.2-15.fc29.x86_64
gtk+-1.2.10-89.fc29.x86_64
gtk2-devel-2.24.32-3.fc29.x86_64
gtk-xfce-engine-3.2.0-8.fc29.x86_64
gtkspell3-devel-3.0.10-1.fc29.x86_64
gtk-vnc2-0.9.0-2.fc29.x86_64
gtk2-2.24.32-3.fc29.x86_64
gtkspell3-3.0.10-1.fc29.x86_64


$ rpm -qa xfce4\*
xfce4-settings-4.13.5-1.fc29.x86_64
xfce4-terminal-0.8.7.4-20.fc29.x86_64
xfce4-dict-plugin-0.8.1-20.fc29.x86_64
xfce4-panel-4.13.3-20.fc29.x86_64
xfce4-session-engines-4.13.1-20.fc29.x86_64
xfce4-mailwatch-plugin-1.2.0-20.fc29.x86_64
xfce4-power-manager-1.6.1-20.fc29.x86_64
xfce4-places-plugin-1.7.0-20.fc29.x86_64
xfce4-time-out-plugin-1.0.2-20.fc29.x86_64
xfce4-whiskermenu-plugin-2.3.0-1.fc29.x86_64
xfce4-weather-plugin-0.8.10-20.fc29.x86_64
xfce4-cpugraph-plugin-1.0.5-20.fc29.x86_64
xfce4-eyes-plugin-4.5.0-20.fc29.x86_64
xfce4-taskmanager-1.2.1-20.fc29.x86_64
xfce4-battery-plugin-1.1.0-20.fc29.x86_64
xfce4-appfinder-4.13.1-1.fc29.x86_64
xfce4-systemload-plugin-1.2.1-20.fc29.x86_64
xfce4-datetime-plugin-0.7.0-20.fc29.x86_64
xfce4-notifyd-0.4.2-20.fc29.x86_64
xfce4-screenshooter-1.9.3-20.fc29.x86_64
xfce4-fsguard-plugin-1.1.0-20.fc29.x86_64
xfce4-mount-plugin-1.1.3-20.fc29.x86_64
xfce4-diskperf-plugin-2.6.1-20.fc29.x86_64
xfce4-screenshooter-plugin-1.9.3-20.fc29.x86_64
xfce4-genmon-plugin-4.0.1-20.fc29.x86_64
xfce4-netload-plugin-1.3.1-20.fc29.x86_64
xfce4-dict-0.8.1-20.fc29.x86_64
xfce4-pulseaudio-plugin-0.4.1-21.fc29.x86_64
xfce4-verve-plugin-2.0.0-20.fc29.x86_64
xfce4-notes-plugin-1.8.1-20.fc29.x86_64
xfce4-xkb-plugin-0.8.1-20.fc29.x86_64
xfce4-clipman-plugin-1.4.2-20.fc29.x86_64
xfce4-session-4.13.1-20.fc29.x86_64
xfce4-about-4.13.4-20.fc29.x86_64
Comment 7 Todd 2018-11-22 20:39:07 CET
An update just came through dnf with a bunch of Xfce stuff in it:

$ rpm -qa xfce4\*
xfce4-settings-4.13.5-1.fc29.x86_64
xfce4-terminal-0.8.7.4-20.fc29.x86_64
xfce4-dict-plugin-0.8.1-20.fc29.x86_64
xfce4-panel-4.13.3-20.fc29.x86_64
xfce4-session-engines-4.13.1-20.fc29.x86_64
xfce4-mailwatch-plugin-1.2.0-20.fc29.x86_64
xfce4-power-manager-1.6.1-20.fc29.x86_64
xfce4-places-plugin-1.7.0-20.fc29.x86_64
xfce4-time-out-plugin-1.0.2-20.fc29.x86_64
xfce4-whiskermenu-plugin-2.3.0-1.fc29.x86_64
xfce4-weather-plugin-0.8.10-20.fc29.x86_64
xfce4-cpugraph-plugin-1.0.5-20.fc29.x86_64
xfce4-eyes-plugin-4.5.0-20.fc29.x86_64
xfce4-taskmanager-1.2.1-20.fc29.x86_64
xfce4-battery-plugin-1.1.0-20.fc29.x86_64
xfce4-appfinder-4.13.1-1.fc29.x86_64
xfce4-systemload-plugin-1.2.1-20.fc29.x86_64
xfce4-datetime-plugin-0.7.0-20.fc29.x86_64
xfce4-notifyd-0.4.2-20.fc29.x86_64
xfce4-screenshooter-1.9.3-20.fc29.x86_64
xfce4-fsguard-plugin-1.1.0-20.fc29.x86_64
xfce4-mount-plugin-1.1.3-20.fc29.x86_64
xfce4-diskperf-plugin-2.6.1-20.fc29.x86_64
xfce4-screenshooter-plugin-1.9.3-20.fc29.x86_64
xfce4-genmon-plugin-4.0.1-20.fc29.x86_64
xfce4-netload-plugin-1.3.1-20.fc29.x86_64
xfce4-dict-0.8.1-20.fc29.x86_64
xfce4-pulseaudio-plugin-0.4.1-21.fc29.x86_64
xfce4-verve-plugin-2.0.0-20.fc29.x86_64
xfce4-notes-plugin-1.8.1-20.fc29.x86_64
xfce4-xkb-plugin-0.8.1-20.fc29.x86_64
xfce4-clipman-plugin-1.4.2-20.fc29.x86_64
xfce4-session-4.13.1-20.fc29.x86_64
xfce4-about-4.13.4-20.fc29.x86_64
Comment 8 Simon Steinbeiss editbugs 2018-11-22 20:50:14 CET
Ok thanks, how did the black icons happen? Did you have a custom panel color configured in a 4.12 panel and then upgraded?
And does the workaround you mentioned consistently fix the problem or do you have to set those values every time you log in?
What happens if you reset the values (enter/leave opacity) etc to the defaults (i.e. creating a new panel)?
Comment 9 Todd 2018-11-22 21:40:18 CET
I upgraded from Fedora 28 to Fedora 29.  Xfce automatically upgraded from 4.12 to 4.13.  That is when the black backgrounds I attached appeared.

The workaround it consistent.

If I reset, I get the problem back.
Comment 10 Todd 2018-11-22 21:42:09 CET
Extra info.   A unused test profile from 28 did not have the issue when I added date time to panel1.  There is something that 4.13 does not like from my old 4.12 profile.
Comment 11 Simon Steinbeiss editbugs 2018-11-23 00:50:16 CET
Yes, this seems to be "only" a migration issue.

If you would post your panel config, that would help me to reproduce the problem.
If e.g. you had some transparency set, then that's probably the source of the issue, because bg-color and transparency had to be changed in a backward-incompatible way from 4.12 to 4.13 due to Gtk+3.

You can use xfce4-panel-profiles or xfpanel-switch, as it used to be called, to create a tarball from your config.

Alternatively we can start with the XML file stored on .config/xfce4-panel-profiles/xfconf/..per-channel/xfce4-panel.xml
Comment 12 Todd 2018-11-23 02:40:10 CET
Created attachment 8123 
xfpanel-switch
Comment 13 ToZ editbugs 2018-11-23 03:59:41 CET
I believe this is a duplicate of https://bugzilla.xfce.org/show_bug.cgi?id=14577. When the compositor is disabled, transparency fails to work properly. It also occurs with a new fedora install. Reference forum thread: https://forum.xfce.org/viewtopic.php?id=12549.
Comment 14 Simon Steinbeiss editbugs 2018-11-23 21:51:57 CET
@ToZ: Not sure it's really that. The issue reported here concerns not only trayicons, but also other stuff.

The problem is slightly different. If the compositor is disabled, we need to also reset the enter/leave opacity values in the panel as Gtk+3 does something with enter/leave opacity even when compositing is disabled. (I presume this behavior was different with Gtk+2, that's why it wasn't necessary to reset those values.)

One downside of this fix will be that if you had enter/leave opacity configured, it will be re-set to 100 when you disable and then re-enable the compositor, so your actual setting will be cleared. But I guess that's better than the current behavior...

Maybe I'll find a better way to address this though.
Comment 15 Git Bot editbugs 2018-11-23 22:43:55 CET
Simon Steinbeiss referenced this bugreport in commit 60bb559af477341f53a1d508e4a77f7659f6b56d

Fix unreadable panel items without compositing (Bug #14842)

https://git.xfce.org/xfce/xfce4-panel/commit?id=60bb559af477341f53a1d508e4a77f7659f6b56d
Comment 16 Simon Steinbeiss editbugs 2018-11-23 22:44:46 CET
Ok, found a better way to fix the problem. The patch above should address the problem - feel free to test and re-open if it doesn't resolve your issue!

Bug #14842

Reported by:
Todd
Reported on: 2018-11-05
Last modified on: 2018-11-23

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Version:
4.13.0

Attachments

icons with dark backgrounds (56.35 KB, image/png)
2018-11-05 04:44 CET , Todd
no flags
xfpanel-switch (5.72 KB, application/x-bzip)
2018-11-23 02:40 CET , Todd
no flags

Additional information