Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wpgtk not applying theme on GNOME 3.36? #203

Open
zegheim opened this issue Jul 18, 2020 · 14 comments
Open

wpgtk not applying theme on GNOME 3.36? #203

zegheim opened this issue Jul 18, 2020 · 14 comments
Labels

Comments

@zegheim
Copy link
Contributor

zegheim commented Jul 18, 2020

I'm currently using Pop!_OS 20.04 on GNOME 3.36. I used pywal and its derivatives (e.g. pywalfox pywal-telegram, etc.) to theme my terminal and other windows, and found out about wpgtk to help theme everything else.

However something seems to have gone wrong: this is the palette generated by wpgtk using the colorz backend:

image

but setting it results in an almost white-ish color for everything (see above and below):

image

What seems to be the problem here? I was expecting something more like what firefox looks like right now:

image

@deviantfero
Copy link
Owner

have you set your theme to FlatColor?

@zegheim
Copy link
Contributor Author

zegheim commented Jul 20, 2020

I just did and while most windows are colored correctly like so:

image

the colors seem to mess up when I click on "Displays" on the GNOME settings GUI for some reason:

image

which remains that way even if I were to switch back to the previous tab:

image

@deviantfero
Copy link
Owner

try out the new 6.2.2 release, it should fix this issues hopefully, just try to apply a theme again

@zegheim
Copy link
Contributor Author

zegheim commented Jul 21, 2020

Hi, unfortunately I'm still hitting the same issue on 6.2.2. Are there any diagnostic logs wpgtk produces that could potentially help debug this?

@deviantfero
Copy link
Owner

deviantfero commented Jul 21, 2020 via email

@zegheim
Copy link
Contributor Author

zegheim commented Jul 22, 2020

Hi, I'm not sure exactly what you're looking for so I've tried playing around with the wpgtk GUI and these are the messages shown:

~ 
➜ wpg
[i] theme_picker  current wallpaper: kasumi.jpg
[i] image         Using image kasumi.jpg.
[i] theme         Set theme to _home_zegheim__config_wpg_wallpapers_kasumi_jpg_dark_colorz__1.1.0.json.
[i] colors        Found cached colorscheme.
[i] export        Exported json.
[i] image         Using image kasumi.jpg.
[i] theme         Set theme to _home_zegheim__config_wpg_wallpapers_kasumi_jpg_dark_colorz__1.1.0.json.
[i] colors        Found cached colorscheme.
[i] sequences     Set terminal colors.
[i] export        Exported all files.
[i] export        Exported all user files.
[e] color         icons - base file does not exist
[i] reload        reloaded FlatColor from settings.ini using xsettingsd
[i] wallpaper     Set the new wallpaper.

where _home_zegheim__config_wpg_wallpapers_kasumi_jpg_dark_colorz__1.1.0.json contains the following:

.config/wpg/schemes
➜ cat _home_zegheim__config_wpg_wallpapers_kasumi_jpg_dark_colorz__1.1.0.json
{
    "wallpaper": "/home/zegheim/.config/wpg/wallpapers/kasumi.jpg",
    "alpha": "100",

    "special": {
        "background": "#221b1a",
        "foreground": "#fffffd",
        "cursor": "#fffffd"
    },
    "colors": {
        "color0": "#221b1a",
        "color1": "#ac1518",
        "color2": "#c7beb4",
        "color3": "#c7a597",
        "color4": "#ac5c5d",
        "color5": "#ac8985",
        "color6": "#a8a3a0",
        "color7": "#c7c6c5",
        "color8": "#3e312f",
        "color9": "#ec0e13",
        "color10": "#fff8d1",
        "color11": "#ffcdad",
        "color12": "#f06668",
        "color13": "#f3a299",
        "color14": "#efceba",
        "color15": "#fffffd"
    }
}

@deviantfero
Copy link
Owner

Hi, I've updated wpgtk try the new version 6.2.3, uninstall xsettingsd it does not play nice with Unity, the issue should be fixed

@zegheim
Copy link
Contributor Author

zegheim commented Jul 27, 2020

Hi, so sorry for the trouble - I've updated to the latest version and uninstalled xsettingsd but still no dice unfortunately.

I am using FlatColor theme which I downloaded from your other repo (as suggested in one of the closed issues) - could you confirm that this is correct? Is it also worth it to clear all cache and do a clean installation of wpg? Many thanks.

@deviantfero
Copy link
Owner

after doing that I'd recommend ending the session and logging back in with FlatColor as your gtk theme, re-set the theme if that's not working, if not you could try opening tweaks from console and pasting any weird output you see here, don't worry I'd really like to solve this as there are many people using gnome besides you, maybe they've ran into this issue and just gave up or something, so it's good that you brought it up

@zegheim
Copy link
Contributor Author

zegheim commented Jul 28, 2020

Posting some logs I got from uninstalling wpgtk, removing ~/.config/wpg, logging out and back in, reinstalling wpgtk, and then running wpg and setting the wallpaper / some config using the GUI:

➜ wpg
ERROR:root:not a valid config file
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

e:root:icons - base file does not exist
w:root:No settings daemon found, just refreshing FlatColor theme from gsettings
e:root:icons - base file does not exist
w:root:No settings daemon found, just refreshing FlatColor theme from gsettings
e:root:icons - base file does not exist
w:root:No settings daemon found, just refreshing FlatColor theme from gsettings
e:root:icons - base file does not exist
w:root:No settings daemon found, just refreshing FlatColor theme from gsettings
e:root:icons - base file does not exist
w:root:No settings daemon found, just refreshing FlatColor theme from gsettings

This doesn't do anything - the Displays tab is still showing really weird colors:

image

Will update this post when I finish running tweaks.

EDIT: By tweaks do you mean gnome-tweaks? I ran gnome-tweaks -v -d to see if there's any interesting output but doesn't seem much:

Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor
Change: org.gnome.desktop.interface gtk-theme -> FlatColor

@808-cowbell
Copy link

Can reproduce on a Pop live USB using wal as the backend. It also seems as though new windows opened after wpg refreshes the GTK theme default back to Adwaita. I didn't have any interesting terminal output.
Screenshot from 2020-07-28 13-25-22

@deviantfero
Copy link
Owner

deviantfero commented Jul 28, 2020 via email

@deviantfero
Copy link
Owner

Still need to work on this

@zimri-leisher
Copy link

Encountering a similar issue, on Pop OS also. My guess is that it has to do with the monitor identifiers showing up on the top of the screen when you click on Displays. The colors show up fine:
image
And then after clicking on displays section:
image

It goes away if I 1) click on another section and then 2) close and reopen Settings.
Is there another way to get the monitor identifiers to show? I bet that could help narrow it down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants