-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[PRE-RELEASE] Snap: recent edge channel update (version 245) broke theming #2966
Comments
We haven't touched anything regarding theming it snaps |
That's curious. Build log: https://launchpad.net/~droidmonkey/+snap/keepassxc-develop/+build/519300 |
After some investigation it appears something changed on core18 or snapcraft/snapd side of things because many of my own snaps broke on the edge channel too, so I was too quick to blame it on keepassxc devs (sorry). Sometimes when the core18 base or a dependency package changes (is updated to fix security issues or something else) edge channels snaps are usually automatic rebuilt, so that's the reason an update was pushed automatically to the edge channel. Apparently there could be a regression inside the base snap or snapcraft, so my suggestion is to wait too see if they fix it. If not, and a new release of keepassxc is being released (2.4.1) in the meantime we could revert PR #2832 A bit disappointed, shows how much this technology (snap) is still immature and needs more work. |
I am totally disappointed in snaps, to be quite honest. I do not think flatpaks are any better, but they seem easier to build on any platform. The fact that I cannot build snaps in an Ubuntu 18.04 VM is a complete travesty. |
Flatpak isn't better at all, I failed multiple times to just ship a simple Qt app. At least with snap I can specify dependencies with just a package from a base, instead of building from source all deps of deps recursively, that's insane.
from https://snapdocs.labix.org/build-on-lxd/4157 And with multipass things are improving to build snaps on any distro that ships snapd, since it's basically spinning up a minimal VM. |
You cannot run a vm in a vm (without fancy hardware). I would need a host based Linux system. |
The documentation is a bit misleading because this actually works in any VM (inside Virtualbox for example) and is not dependent on LXD. The |
You sir have saved me a lot of hassle for future debugging! |
Is this theming issue still present? |
Yes, for me, on Ubuntu MATE 19.04. I'm on the snap edge channel, version 2.5.0, rev 301. |
Yes, still not fixed. Tried a fresh build environment since the edge channel was not updated. A bit hacky though. |
Use gtk3 file chooser dialogs, mouse coursor theme if available and force fallback icon theme, fixes issue keepassxreboot#2966
Use gtk3 file chooser dialogs, mouse coursor theme if available and force fallback icon theme, fixes issue #2966
Just wanted to thank @droidmonkey and others for your efforts in creating such a high-quality snap package. As a user of KeePassXC, I'm very happy I can now use the latest version in Ubuntu without installing a ppa. Also, in case you didn't know; you can now build snaps in virtual machines using LXD: |
Thank you for your kind words! If you didn't know, we have automated builds of the develop branch feeding the "edge" channel. You can try out new features and stay up to the minute very easily. |
I'm running keepassxc snap from the edge channel. After contributing mouse cursor fixes #2832 I've been running the edge version since without issues. Today revision 245 was pushed to the edge channel and the snap theme looks broken, not sure what has been changed.
Expected Behavior
Revert to using default Qt fusion style
Current Behavior
Fallback theme is used, see screenshot above
Possible Solution
Revert changes or investigate possible cause
Steps to Reproduce
Context
Debug Info
KeePassXC - Version 2.4.0
Revision: 29c79c9
Distribution: Snap
Qt 5.9.5
Debugging mode is disabled.
Operating system: Ubuntu Core 18
CPU architecture: x86_64
Kernel: linux 4.18.0-17-generic
Enabled extensions:
Cryptographic libraries:
libgcrypt 1.8.1
Operating system: Ubuntu 18.04
CPU architecture: x86_64
Kernel: 4.18.0-17-generic
The text was updated successfully, but these errors were encountered: