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

Checkboxes and Radio buttons invisible #2

Open
kbknapp opened this issue Feb 17, 2020 · 6 comments
Open

Checkboxes and Radio buttons invisible #2

kbknapp opened this issue Feb 17, 2020 · 6 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@kbknapp
Copy link

kbknapp commented Feb 17, 2020

Using Regolith 1.3 I cannot see checkboxes or radio buttons. If I click where the checkbox should be, they work. They're just invisible.

I changed the theme via gnome-tweaks and the radio boxes show up.

Here is the default Cahuella:

cahuella

And there same image with Yaru:

yaru

Edit: The above images are from CherryTree Notes

@kbknapp
Copy link
Author

kbknapp commented Feb 17, 2020

Also, a co-worker has noticed the same thing on his machine. He was using PrusaSlicer when he noticed it.

@kgilmer kgilmer self-assigned this Feb 22, 2020
@kgilmer kgilmer added the bug Something isn't working label Feb 22, 2020
@kgilmer
Copy link
Member

kgilmer commented Feb 28, 2020

A spent a bit of time reviewing and tweaking theme values that appear to impact checkbox/radiobuttons. I was unable to make Cherrytree's widgets render properly. I notice there are many problems to the GTK theming, not just checkboxes. I went back to the gtk3-widget-factory tool and notice that these widgets are rendered correctly. Additionally I notice that in other gtk/gnome apps such as gedit, checkboxes are rendered correctly.

At this time I'm not able to root cause this bug. I will leave it open but demote it from R1.3.1 due to no clear path to resolution.

As a short term fix for the apps that are not working properly with Cahuella, I suggest switching to another gtk theme such as Nordic, Arc, or Adwaita.

@donce
Copy link

donce commented Jun 27, 2020

I'm not able to open one application I was able to open before (Pomodoneapp) due to seemingly similar errors:

/usr/share/themes/Cahuella/gtk-2.0/main.rc:145: Unable to locate image file in pixmap_path: "assets/checkbox-unchecked.png"
... 
/usr/share/themes/Cahuella/gtk-2.0/main.rc:145: Unable to locate image file in pixmap_path: "assets/checkbox-unchecked.png"
/usr/share/themes/Cahuella/gtk-2.0/main.rc:147: Overlay image options specified without filename
/usr/share/themes/Cahuella/gtk-2.0/main.rc:153: Unable to locate image file in pixmap_path: "assets/checkbox-unchecked-hover.png"
/usr/share/themes/Cahuella/gtk-2.0/main.rc:155: Overlay image options specified without filename
/usr/share/themes/Cahuella/gtk-2.0/main.rc:161: Unable to locate image file in pixmap_path: "assets/checkbox-unchecked-active.png"
/usr/share/themes/Cahuella/gtk-2.0/main.rc:163: Overlay image options specified without filename
/usr/share/themes/Cahuella/gtk-2.0/main.rc:169: Unable to locate image file in pixmap_path: "assets/checkbox-unchecked.png"
/usr/share/themes/Cahuella/gtk-2.0/main.rc:171: Overlay image options specified without filename
/usr/share/themes/Cahuella/gtk-2.0/main.rc:177: Unable to locate image file in pixmap_path: "assets/checkbox-unchecked-insensitive.png"
/usr/share/themes/Cahuella/gtk-2.0/main.rc:179: Overlay image options specified without filename
...
Gtk-Message: 15:27:27.818: Failed to load module "canberra-gtk-module"

It's a long list of same errors for other files. Looking at the first one - it's a broken symlink, because it links to non-existent file: https://github.com/regolith-linux/Cahuella/blob/master/lib/Nordic/gtk-2.0/assets/checkbox-unchecked.png

So maybe it just needs symlinks fixed?

@kgilmer
Copy link
Member

kgilmer commented Jun 28, 2020

That's a great lead, thanks @donce . It makes sense that the issue would be w/ gtk-2.0 theme files, not 3.0. For Cahella, I copied the gtk-2.0 theme files from the Nordic theme. So, perhaps when I did that copy the symlinks were broken and I did not realize it.

@kgilmer kgilmer removed their assignment Jun 28, 2020
@kgilmer kgilmer added the help wanted Extra attention is needed label Jun 28, 2020
@donce
Copy link

donce commented Aug 23, 2020

I think the problem might be much wider - there are lots of icons and graphics missing all other the system applications, like Files (a bunch if icons missing), Snap Store, which is barely usable but not sure if it's the same issue:

store

@kgilmer
Copy link
Member

kgilmer commented Aug 25, 2020

Thanks for the details @donce ! Yes, I suspect there are issues with the symlinks that occur during packaging of the files into the debian archive. I am searching for a simple, modern gtk theme that has debian build files. So far I haven't found one. Until I can find something that lets me generate a gtk theme debian package from source I will not be able to address this issue.

POP!_OS has a promising theme package that uses Meson, includes debian packaging scripts, and is modern, however it fails when I try to build it: pop-os/gtk-theme#468

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants