https://bugs.kde.org/show_bug.cgi?id=447755

edy.b...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |edy.b...@gmail.com

--- Comment #6 from edy.b...@gmail.com ---
So I just resolved this for myself, but it was confusing and here is the rough
chain of events (also posted to
https://github.com/NixOS/nixpkgs/issues/180720#issuecomment-1228334905):

- was only happening on Wayland for me
- `GTK_THEME=Breeze` (or `Breeze-Dark`) seems to work to fix it on every app I
tried
- https://github.com/NixOS/nixpkgs/issues/155291#issuecomment-1014772774 made
me look at `dconf-editor /org/gnome/desktop/interface`, and shockingly, *only
some of the `~/gtk-{3,4}/settings.ini` entries* (that Systems Settings set)
were there - notably absent: `gtk-theme`
- going into Systems Settings -> Appearance -> Application Style -> GNOME/GTK,
then selecting *the same entry* from the dropdown, and clicking Apply (which I
didn't expect to become available, since I didn't change entries), fixed it
*instantly* (I saw a VSCode Help -> About dialog get the right title bar as I
pressed the button)

My best guess so far is that something deleted some of the entries (or migrated
the `.ini`s but only partially?), but I have no idea what or when. On a
different machine (with some shared history) where `dconf` is missing, I don't
even have a `~/.config/dconf` at all, so it likely happened only on this one,
after switching to Plasma/Wayland.

I'm mostly posting this in case other people are searching for how to fix their
system:
- make sure you have `dconf`
  - for NixOS specifically: `programs.dconf.enable = true;` (maybe it should be
enabled by default for plasma5, just like e.g. kde-gtk-config is?)
- run `dconf read /org/gnome/desktop/interface/gtk-theme` to confirm that it is
in fact incorrect
- go in System Settings and set the Application Style GTK theme *again*

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to