Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-11-13 03:37:32

ToddAndMargo
Member
Registered: 2008-04-13
Posts: 26

Black backgrounds in panels

Hi All,

Fedroa 29
Xfce 4.13

black background on panel icons
https://bugzilla.xfce.org/show_bug.cgi?id=14842

From the bug report, here is a picture of what it looks like:
https://bugzilla.xfce.org/attachment.cgi?id=8084

I 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.

What files are involved, so I can fix them?

Many thanks,
-T

Offline

#2 2018-11-13 11:32:31

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,860

Re: Black backgrounds in panels

Could be a theme or a graphics card issue.

Which GTK (Appearance) theme are you using?

xfconf-query -c xsettings -p /Net/ThemeName

Give the latest version of the Greybird theme a try.

Also try with the default bulit-in Adwaita theme:

xfconf-query -c xsettings -p /Net/ThemeName -s ""

...in both cases, restart the panel after the change:

xfce4-panel -r

Which video card and driver do you have installed and are you using?

lspci -v | grep -A12 VGA

Offline

#3 2018-11-13 13:38:37

ToddAndMargo
Member
Registered: 2008-04-13
Posts: 26

Re: Black backgrounds in panels

both profiles are using Adwaita

no symptom change under GreyBird or any of the others

hardware is the same on both profiles

$ lspci -v | grep -A12 VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics P630 (rev 04) (prog-if 00 [VGA controller])
    Subsystem: Super Micro Computer Inc Device 089f
    Flags: bus master, fast devsel, latency 0, IRQ 131
    Memory at db000000 (64-bit, non-prefetchable) [size=16M]
    Memory at 50000000 (64-bit, prefetchable) [size=256M]
    I/O ports at f000 [size=64]
    [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: i915
    Kernel modules: i915

00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31) (prog-if 30 [XHCI])
    Subsystem: Super Micro Computer Inc Device 089f


Something is wrong in the profile of my user account.  I need my configuration of panel 0 and panel 1 or I would just start over with a a new profile.

Offline

#4 2018-11-13 21:17:50

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,860

Re: Black backgrounds in panels

Do you have any content in ~/.config/gtk-3.0/gtk.css ?

Offline

#5 2018-11-13 23:11:23

ToddAndMargo
Member
Registered: 2008-04-13
Posts: 26

Re: Black backgrounds in panels

Actually, no.

The failing profile:

# ls -al .config/gtk-3.0
total 12
drwxr-xr-x.  2 todd users 4096 Apr 22  2018 .
drwxr-xr-x. 69 todd users 4096 Nov 13 15:01 ..
-rwxr-xr-x.  1 todd users  682 Apr 22  2018 bookmarks

The new profile:
# ls -al /home/bozo/.config/gtk-3.0
total 8
drwx------. 2 bozo users 4096 Nov 12 18:22 .
drwxr-xr-x. 9 bozo users 4096 Nov 12 18:22 ..

Offline

#6 2018-11-14 01:00:01

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,860

Re: Black backgrounds in panels

Can you post back:

xfconf-query -c xfwm4 -lv

Maybe its a compositing issue. Do you have the compositor enabled (Settings Manager > Window Manager Tweaks > Compositing)?

Offline

#7 2018-11-14 02:47:10

ToddAndMargo
Member
Registered: 2008-04-13
Posts: 26

Re: Black backgrounds in panels

$ xfconf-query -c xfwm4 -lv
/general/activate_action                 bring
/general/borderless_maximize             true
/general/box_move                        false
/general/box_resize                      false
/general/button_layout                   OTS|HMC
/general/button_offset                   0
/general/button_spacing                  0
/general/click_to_focus                  true
/general/cycle_apps_only                 false
/general/cycle_draw_frame                true
/general/cycle_hidden                    true
/general/cycle_minimum                   true
/general/cycle_preview                   true
/general/cycle_raise                     false
/general/cycle_tabwin_mode               0
/general/cycle_workspaces                false
/general/double_click_action             maximize
/general/double_click_distance           5
/general/double_click_time               250
/general/easy_click                      Alt
/general/focus_delay                     250
/general/focus_hint                      true
/general/focus_new                       true
/general/frame_opacity                   100
/general/full_width_title                true
/general/horiz_scroll_opacity            false
/general/inactive_opacity                100
/general/maximized_offset                0
/general/mousewheel_rollup               true
/general/move_opacity                    100
/general/placement_mode                  center
/general/placement_ratio                 20
/general/popup_opacity                   100
/general/prevent_focus_stealing          false
/general/raise_delay                     250
/general/raise_on_click                  true
/general/raise_on_focus                  false
/general/raise_with_any_button           true
/general/repeat_urgent_blink             false
/general/resize_opacity                  100
/general/restore_on_move                 true
/general/scroll_workspaces               true
/general/shadow_delta_height             0
/general/shadow_delta_width              0
/general/shadow_delta_x                  0
/general/shadow_delta_y                  -3
/general/shadow_opacity                  50
/general/show_app_icon                   false
/general/show_dock_shadow                true
/general/show_frame_shadow               false
/general/show_popup_shadow               false
/general/show_popup_shadow               false
/general/snap_resist                     false
/general/snap_to_border                  true
/general/snap_to_windows                 0
/general/snap_width                      10
/general/sync_to_vblank                  false
/general/theme                           Default
/general/tile_on_move                    false
/general/title_alignment                 center
/general/title_font                      Sans Bold 9
/general/title_horizontal_offset         0
/general/titleless_maximize              false
/general/title_shadow_active             false
/general/title_shadow_inactive           false
/general/title_vertical_offset_active    0
/general/title_vertical_offset_inactive  0
/general/toggle_workspaces               false
/general/unredirect_overlays             true
/general/urgent_blink                    false
/general/use_compositing                 false
/general/workspace_count                 1
/general/workspace_names                 <<UNSUPPORTED>>
/general/wrap_cycle                      true
/general/wrap_layout                     true
/general/wrap_resistance                 16
/general/wrap_windows                    true
/general/wrap_workspaces                 true
/general/zoom_desktop                    true

Offline

#8 2018-11-14 05:42:47

ToddAndMargo
Member
Registered: 2008-04-13
Posts: 26

Re: Black backgrounds in panels

ToZ wrote:

Can you post back:

xfconf-query -c xfwm4 -lv

Maybe its a compositing issue. Do you have the compositor enabled (Settings Manager > Window Manager Tweaks > Compositing)?

No.  I tried that and everything got a black background

Offline

#9 2018-11-14 06:56:01

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,019

Re: Black backgrounds in panels

Are you, by chance, using a third-party compositor, such as Compton?

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#10 2018-11-14 07:19:31

ToddAndMargo
Member
Registered: 2008-04-13
Posts: 26

Re: Black backgrounds in panels

MountainDewManiac wrote:

Are you, by chance, using a third-party compositor, such as Compton?

Regards,
MDM

No, just stock Xfce.  It was originally installed from an Xfce Live USB.  Fedora 27 I do believe.

I have two machines doing this by the way.

Offline

#11 2018-11-14 08:59:01

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,019

Re: Black backgrounds in panels

Okay. Some distros are being packaged with multiple ones these days, so I wondered if you might have been using one of the other options, perhaps without being aware of it.

Regards,
MDM


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#12 2018-11-14 11:21:32

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,860

Re: Black backgrounds in panels

ToddAndMargo wrote:

/general/use_compositing                 false

The compositor is disabled on your system. See this bug report for more information on the issue. Summary: there was a change in gtk3 that no longer re-paints the background of systray applications. More info in the bug report.

No.  I tried that and everything got a black background

What do you mean by this? Try enabling compositing and restarting the computer.

Offline

#13 2018-11-15 16:17:27

ToddAndMargo
Member
Registered: 2008-04-13
Posts: 26

Re: Black backgrounds in panels

ToZ wrote:
ToddAndMargo wrote:

/general/use_compositing                 false

The compositor is disabled on your system. See this bug report for more information on the issue. Summary: there was a change in gtk3 that no longer re-paints the background of systray applications. More info in the bug report.

No.  I tried that and everything got a black background

What do you mean by this? Try enabling compositing and restarting the computer.

See the screenshot:
https://ibb.co/iMyHAL

Both panels do this.  I need to see the panels.  The panels do go normal, if I mouse over them, but his is really annoying when I need to check the time.  I also use the panels a lot to switch between programs.

Last edited by ToddAndMargo (2018-11-15 18:06:12)

Offline

#14 2018-11-15 19:20:19

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,860

Re: Black backgrounds in panels

ToddAndMargo wrote:

See the screenshot:
https://ibb.co/iMyHAL

Both panels do this.  I need to see the panels.  The panels do go normal, if I mouse over them, but his is really annoying when I need to check the time.  I also use the panels a lot to switch between programs.

This looks is something different. Look at the panel's Opacity settings on the Appearance tab. Set them both to 100.

What are you using as a compositor? Your last output indicated that it was not the built-in one provided by xfwm4. Is it turned on in this screenshot?

Offline

#15 2018-11-16 17:44:53

ToddAndMargo
Member
Registered: 2008-04-13
Posts: 26

Re: Black backgrounds in panels

This looks is something different. Look at the panel's Opacity settings on the Appearance tab. Set them both to 100.

They were

What are you using as a compositor? Your last output indicated that it was not the built-in one provided by xfwm4. Is it turned on in this screenshot?

I am not following.  I am using whatever I had on Fedora 28, Xfce 4.12 that upgraded to Fedora 29 , Xfce 4.13.  How do I install a compositor?  Which one do you recommend?

Offline

#16 2018-11-16 17:49:22

mint4all
Member
From: America
Registered: 2018-08-21
Posts: 71

Re: Black backgrounds in panels

Greetings!

I apologize for not contributing sooner ... However, i noticed in OP #7 that

/general/snap_to_windows                 0
/general/snap_width                      10
/general/sync_to_vblank                  false
/general/theme                           Default
/general/tile_on_move                    false
/general/title_alignment                 center
/general/title_font                      Sans Bold 9

the window manager's theme is set to "Default". I just checked on 3 of my systems (two with xfce 4.12. & one with xfce 4.13), and the window manager's xfwm4.css (@ ~/.config/xfce4/xfconf/xfce-perchannel-css/) is properly set to *my* choice of theme, not "Default". Note: those are not Fedora-builds.

Perhaps that's because i routinely update the window-manager's "style"-setting (Menu > Settings > Window Manager > Style {tab}) whenever I tweak my "Appearance" theme & icons. After looking over the "Default" theme @ /usr/shere/themes, except for its window-frame bitmaps, this is essentially a theme devoid of any settings governing the WM's compositing-settings. So where else would the WM inherit its requisite settings from? Might this possibly contribute to the panel-visibility problem?

Cheers, m4a

Last edited by mint4all (2018-11-16 17:50:52)


Linux Mint 18.3-xfce & Linux Mint 19-xfce  -- Dell Precision T1500 Desktops -- Toshiba Satellite Laptop -- Family & Community Support re. Linux

Offline

#17 2018-11-16 19:10:59

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,860

Re: Black backgrounds in panels

ToddAndMargo wrote:

This looks is something different. Look at the panel's Opacity settings on the Appearance tab. Set them both to 100.

They were

What are you using as a compositor? Your last output indicated that it was not the built-in one provided by xfwm4. Is it turned on in this screenshot?

I am not following.  I am using whatever I had on Fedora 28, Xfce 4.12 that upgraded to Fedora 29 , Xfce 4.13.  How do I install a compositor?  Which one do you recommend?

Regarding the faded panel, the last image that you posted showing the faded panel means that you are using a compositor. However, your last "xfconf-query -c xfwm4 -lv" output showed that the built-in one is not being used.

Can you post back the following:

  1. The results of:

    ps -ef | grep $USER
  2. The results of:

    xfconf-query -c xfwm4 -p /general/use_compositing
  3. The results of:

    xfconf-query -c xfce4-panel -lv | grep opacity
  4. One more image of the faded panel.

Post all results from the same system. Let's confirm the settings and see if another compositor is running.

Offline

#18 2018-11-16 19:23:42

ToddAndMargo
Member
Registered: 2008-04-13
Posts: 26

Re: Black backgrounds in panels

$ ps -ef | grep $USER
todd     22673     1  0 09:40 ?        00:00:00 /usr/lib/systemd/systemd --user
todd     22686 22673  0 09:40 ?        00:00:00 (sd-pam)
todd     22726 22608  0 09:40 ?        00:00:00 /bin/sh /etc/xdg/xfce4/xinitrc -- vt
todd     22767 22673  0 09:40 ?        00:00:06 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
todd     22867 22673  0 09:40 ?        00:00:00 /usr/libexec/imsettings-daemon
todd     22877 22673  0 09:40 ?        00:00:00 /usr/libexec/gvfsd
todd     22970 22726  0 09:40 ?        00:00:00 /usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c "startxfce4"
todd     23002 22726  0 09:40 ?        00:00:00 xfce4-session
todd     23004 22673  0 09:40 ?        00:00:00 /usr/libexec/at-spi-bus-launcher
todd     23010 23004  0 09:40 ?        00:00:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
todd     23014 22673  0 09:40 ?        00:00:01 /usr/libexec/at-spi2-registryd --use-gnome-session
todd     23017 22673  0 09:40 ?        00:00:00 /usr/lib64/xfce4/xfconf/xfconfd
todd     23026     1  0 09:40 ?        00:00:00 /usr/bin/gpg-agent --sh --daemon --write-env-file /home/todd/.cache/gpg-agent-info
todd     23028     1  0 09:40 ?        00:00:04 xfwm4
todd     23033     1  0 09:40 ?        00:00:00 xfsettingsd
todd     23035     1  0 09:40 ?        00:00:06 xfce4-panel
todd     23042     1  0 09:40 ?        00:00:00 Thunar --daemon
todd     23048     1  0 09:40 ?        00:00:01 xfdesktop
todd     23054 23002  0 09:40 ?        00:00:00 nm-applet
todd     23068 23002  0 09:40 ?        00:00:01 xfce4-notes
todd     23072 23035  0 09:40 ?        00:00:00 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libsystray.so 4 12582919 systray Notification Area Area where notification icons appear
todd     23074 23035  0 09:40 ?        00:00:05 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libpulseaudio-plugin.so 26 12582920 pulseaudio PulseAudio Plugin Adjust the audio volume of the PulseAudio sound system
todd     23076 23002  0 09:40 ?        00:00:25 /usr/bin/osmo
todd     23095 23002  0 09:40 ?        00:00:00 /usr/bin/python3 /usr/bin/dnfdragora-updater
todd     23116 23002  0 09:40 ?        00:00:00 /usr/bin/python3 /usr/bin/seapplet
todd     23153 23002  0 09:40 ?        00:00:00 /usr/libexec/geoclue-2.0/demos/agent
todd     23176 22673  0 09:40 ?        00:00:00 /usr/libexec/dconf-service
todd     23179 22673  0 09:40 ?        00:00:00 /usr/lib64/xfce4/notifyd/xfce4-notifyd
todd     23196 23002  0 09:40 ?        00:00:00 abrt-applet
todd     23200 23002  0 09:40 ?        00:00:03 xscreensaver -no-splash
todd     23202     1  0 09:40 ?        00:00:10 /home/todd/.dropbox-dist/dropbox-lnx.x86_64-61.4.95/dropbox
todd     23214 23002  0 09:40 ?        00:00:00 /usr/libexec/xfce-polkit
todd     23260     1  0 09:40 ?        00:00:00 xfce4-power-manager
todd     23270 22673  0 09:40 ?        00:00:01 /usr/bin/pulseaudio --daemonize=no
todd     23321 23035  0 09:40 ?        00:00:07 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libdatetime.so 29 12582929 datetime DateTime Date and Time plugin with a simple calendar
todd     23323 23035  0 09:40 ?        00:00:00 /usr/lib64/xfce4/panel/wrapper-2.0 /usr/lib64/xfce4/panel/plugins/libactions.so 19 12582930 actions Action Buttons Log out, lock or other system actions
todd     23348 22673  0 09:40 ?        00:00:00 /usr/libexec/gvfs-udisks2-volume-monitor
todd     23369     1  0 09:40 ?        00:00:49 /usr/libexec/webkit2gtk-4.0/WebKitWebProcess 2 16
todd     23372     1  0 09:40 ?        00:00:00 /usr/libexec/webkit2gtk-4.0/WebKitNetworkProcess 3 16
todd     23382 22877  0 09:40 ?        00:00:00 /usr/libexec/gvfsd-trash --spawner :1.5 /org/gtk/gvfs/exec_spaw/0
todd     23446 22673  0 09:40 ?        00:00:00 /usr/libexec/gvfsd-metadata
todd     25266 23035  2 09:41 ?        00:02:17 /usr/lib64/firefox/firefox
todd     25387 25266  0 09:41 ?        00:00:10 /usr/lib64/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 197096 -schedulerPrefs 0001,2 -parentBuildID 20181106091720 -greomni /usr/lib64/firefox/omni.ja -appomni /usr/lib64/firefox/browser/omni.ja -appdir /usr/lib64/firefox/browser 25266 true tab
todd     25439 25266  0 09:41 ?        00:00:42 /usr/lib64/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 81 -prefMapSize 197096 -schedulerPrefs 0001,2 -parentBuildID 20181106091720 -greomni /usr/lib64/firefox/omni.ja -appomni /usr/lib64/firefox/browser/omni.ja -appdir /usr/lib64/firefox/browser 25266 true tab
todd     25461 22673  0 09:41 ?        00:00:00 /usr/libexec/gconfd-2
todd     25619 25266  0 09:41 ?        00:00:39 /usr/lib64/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 4813 -prefMapSize 197096 -schedulerPrefs 0001,2 -parentBuildID 20181106091720 -greomni /usr/lib64/firefox/omni.ja -appomni /usr/lib64/firefox/browser/omni.ja -appdir /usr/lib64/firefox/browser 25266 true tab
todd     26011 23035 15 09:48 ?        00:14:13 /usr/lib64/thunderbird/thunderbird
todd     26712 25266  0 10:00 ?        00:00:09 /usr/lib64/firefox/firefox -contentproc -childID 12 -isForBrowser -prefsLen 7121 -prefMapSize 197096 -schedulerPrefs 0001,2 -parentBuildID 20181106091720 -greomni /usr/lib64/firefox/omni.ja -appomni /usr/lib64/firefox/browser/omni.ja -appdir /usr/lib64/firefox/browser 25266 true tab
todd     26961 25266  0 10:12 ?        00:00:01 /usr/lib64/firefox/firefox -contentproc -childID 13 -isForBrowser -prefsLen 7120 -prefMapSize 197096 -schedulerPrefs 0001,2 -parentBuildID 20181106091720 -greomni /usr/lib64/firefox/omni.ja -appomni /usr/lib64/firefox/browser/omni.ja -appdir /usr/lib64/firefox/browser 25266 true tab
todd     27900     1  1 11:19 ?        00:00:00 /usr/bin/xfce4-terminal
todd     27904 27900  0 11:19 pts/0    00:00:00 bash
todd     27958 27904  0 11:20 pts/0    00:00:00 ps -ef
todd     27959 27904  0 11:20 pts/0    00:00:00 grep --color=auto todd
$ xfconf-query -c xfwm4 -p /general/use_compositing
false
$ xfconf-query -c xfce4-panel -lv | grep opacity
/panels/panel-0/enter-opacity                 100
/panels/panel-0/leave-opacity                 20
/panels/panel-1/enter-opacity                 100
/panels/panel-1/leave-opacity                 20

faded panel (no symptom change)
https://bugzilla.xfce.org/attachment.cgi?id=8084

ToZ: added code tags

Last edited by ToZ (2018-11-16 20:16:31)

Offline

#19 2018-11-16 20:15:20

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 4,860

Re: Black backgrounds in panels

This image is different from your last one and the built-in compositor (Settings Manager > Window Manager Tweaks > Compositor > Enable display compositing) is disabled.

Run the following commands:

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

Log out and back in again and post back the results of the following commands and another image:

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

Note: please use code tags to enclose output so it is easier to read. I'll fix the one above.

Offline

#20 2018-11-16 20:47:52

ToddAndMargo
Member
Registered: 2008-04-13
Posts: 26

Re: Black backgrounds in panels

ToZ wrote:

This image is different from your last one and the built-in compositor (Settings Manager > Window Manager Tweaks > Compositor > Enable display compositing) is disabled.

Run the following commands:

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

Log out and back in again and post back the results of the following commands and another image:

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

Note: please use code tags to enclose output so it is easier to read. I'll fix the one above.

The problem cleared up without having to log out and back in .  I did anyway and it stayed cleared up.  Thank you!!!

$ xfconf-query -c xfwm4 -p /general/use_compositing
true

$ xfconf-query -c xfce4-panel -p /panels/panel-0/leave-opacity
100

$ xfconf-query -c xfce4-panel -p /panels/panel-1/leave-opacity
100

Offline

Board footer

Powered by FluxBB