spheras / desktopfolder

Bring your Desktop Back to Life
GNU General Public License v3.0
200 stars 40 forks source link

Wallpaper not visible #297

Open Lampwick opened 4 years ago

Lampwick commented 4 years ago

I'm using Arch with Gnome. I installed desktop folder from the AUR. When I start it the wallpaper is not visible, its's covered by a black backdrop.

XaeroVincent commented 4 years ago

Same here. Black background.

I use desktopfolder as a replacement for the missing desktop icons in Gnome and it works better than the desktop icon extension.

spheras commented 4 years ago

thanks for reporting. It seems a CSS style problem. Unfortunately, I can't test against Arch easily. Maybe someone interested in this issue could check the following:

When the desktop window (there is a transparent - black in your case- window) is created, the background color is set dynamically to the css class df_transparent, which sets the background to transparent in the Application.css:

@define-color colorBackgroundTRANSPARENT rgba(0, 0, 0, 0);

.df_folder.window-frame.df_transparent, .df_folder.window-frame.df_transparent:backdrop {
    border-color: @colorBackgroundTRANSPARENT;
}
.df_folder.background.df_transparent, .df_folder.background.df_transparent:backdrop {
    background-color: @colorBackgroundTRANSPARENT;
}
.df_folder.df_transparent .titlebar, .df_folder.df_transparent .titlebar:backdrop{
    background-color: @colorBackgroundTRANSPARENT;
    border-color: @colorBackgroundTRANSPARENT;
}

It seems, for some reason, the alpha is not set, and the final color is opaque black. I would start running the GTK Inspector, and seeing and changing the background color, or these classes. You need to play a bit with css and see what is causing the problem.

yura2883 commented 4 years ago

I have the same bug after update to Fedora 32 (Gnome 3.36)

kerroncheddie commented 4 years ago

Same on debian sid; gnome-flashback, however its working fine on debian stable; gnome-flashback.

spheras commented 4 years ago

I've just merged an small fix about this issue from @mmoneib. He has only checked in Fedora 32, but maybe the fix is also valid for Arch. I will try to deliver a new version asap.