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

Anki does not pick up gtk theme #126630

Open
legendofa opened this issue Jun 11, 2021 · 4 comments
Open

Anki does not pick up gtk theme #126630

legendofa opened this issue Jun 11, 2021 · 4 comments
Labels
0.kind: bug Something is broken

Comments

@legendofa
Copy link

Describe the bug
A system-wide gtk theme is installed in enviroment.systemPackages and visible in other applications.
Anki does not pick up this theme. Tried https://faqs.ankiweb.net/anki-not-picking-up-gtk-theme-on-gnome.html with no success (for Gnome not other WMs anyway).

To Reproduce
Steps to reproduce the behavior:

  1. Install Anki
  2. Install system-wide gtk theme

Expected behavior
Theme is applied.

Notify maintainers

@Profpatsch
@oxij

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 5.11.22, NixOS, 20.09.4316.85ed11208f8 (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.11`
 - channels(julian): `""`
 - channels(root): `"nixos-20.09.4316.85ed11208f8"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
@legendofa legendofa added the 0.kind: bug Something is broken label Jun 11, 2021
@legendofa
Copy link
Author

I switched the package to this one to update the version 2.1.15 -> 2.1.44: https://github.com/NixOS/nixpkgs/blob/nixos-21.05/pkgs/games/anki/bin.nix#L31

The problem persits.

@stale
Copy link

stale bot commented Jan 9, 2022

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jan 9, 2022
@euank
Copy link
Member

euank commented Apr 6, 2023

This might be fixed by #221229

Want to test?

That said, anki is a qt application, so theming might require some qt configuration too. Do other qt applications theme correctly for you?

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Apr 6, 2023
@musjj
Copy link
Contributor

musjj commented Jul 22, 2023

IIRC, Anki uses a lot of webviews for its UI so even if the GTK/Qt theme is working, only a small portion of the UI will be themed. I think the only way to properly theme it is to use plugins.

This is based on my experience on Arch, since GTK/Qt theme is currently not working on NixOS for me (#244895)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

3 participants