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
Evince has a totally invisible gui with the snap theme #325
Comments
Hi, i have the same problem with gnome-calculator installed from snap. |
Same issue here, and apparently many gnome default applications such as printing, system monitor are also affected. Totally transparent window frame. Was this issue ever present in the ppa installations? |
Can't confirm the issue on system monitor. Could you guys check if those applications are a snap? |
I have the problem with evince too, and it's an apt installation and there is no problem with gnome-calculator if it's installed by apt |
Looks like there will be permission issues with default snap install, as it will install the package into a sandbox. Somehow UPDATE: never mind, seems like what i did actually got communitheme removed, and everything starts to show in a different GUI theme Another UPDATE: However, this issue is still present with my system monitor |
So, there are 2 things here:
|
For evince (and other deb applications protected by apparmor), the fix is submitted as https://salsa.debian.org/apparmor-team/apparmor/merge_requests/5. Snap will need a little bit of discussions (later today) |
Posted a patch + discussion for snaps on https://forum.snapcraft.io/t/snap-using-themes-in-other-snaps/4946 |
Some of my snap apps (calculator, for example) appears invisible. But others (KeePassXX, for example) appears with a different theme (adwaita, I think). Do you why the difference? Can both problems be resolved by the same patch? |
The ones that don't appear transparently but with adwaita are buggy (ironic, isn't it? ;)). They need to use the gsettings plug and snapcraft-desktop-helper parts to read what current theme is set in the session. |
Ok, I think I get the idea. |
My libreoffice.snap has the same issue but instead of invisible background I get black background with icons almost translucent and some above others |
@nicocarbone: that's a question for the snapd team itself. I think they won't be supported until snapd treats theme in a special way. I encourage you to bring those use cases to https://forum.snapcraft.io/ to discuss with them (the communitheme one won't be an issue soon as we'll ship this big snap, but for other cases, that will still be an issue) |
Any ETA with the evice/apparmor bug? I understand that snap theming may take a while longer, but the apparmor fix seems straightforward. |
Another question, sorry if this is too off-topic: is there any plan to create a flatpack for the theme? I understand that flatpack may not be officially supported, but given that flathub already has an interface in place for themes, it may be worth the effort. |
I pinged the apparmor (debian and ubuntu) maintainer again today for my fix. I can't give an ETA for him though :p On the flatpak question, no plan from me (I won't really have time for this), but anyone who wants to flatpak the theme and push it to flathub are welcome to work on this, ofc. |
The fix living in the proposed channel works fine. Thanks! :) |
and it's now released (for the evince part). The snap part will come once the new snaps using GNOME 3.28 for 18.04 using my gtk-common-theme snap is release. |
As the evince part is closed and a more precise duplicate is opened, I'm now closing this one. |
@octopus-prime yes you need to install |
|
Reboot? |
It's fixed. Check the other thread |
Works now. Thank you! |
@Feichtmeier which other thread? I went in the both that is referring this issue and it didn't worked. |
Solved by: |
Since changing from the ppa to the snap, evince has a transparent GUI, as seen in the screenshot.
Also, when starting evince from the terminal, I get a permission denied error:
Theme parsing error: gtk.css:1:0: Failed to import: Error al abrir el archivo /snap/communitheme/current/share/themes/Communitheme/gtk-3.0/gtk.css: Permiso denegado
The text was updated successfully, but these errors were encountered: