Giter Site home page Giter Site logo

Comments (6)

droidmonkey avatar droidmonkey commented on September 18, 2024 1

@phoerious may need a periodic check for linux

from keepassxc.

droidmonkey avatar droidmonkey commented on September 18, 2024

I can't replicate this

image

from keepassxc.

SinnySupernova avatar SinnySupernova commented on September 18, 2024

I tried to record a video of it. And it's even weirder - it's inconsistent. Sometimes it works and applies the dark theme, sometimes it does not.

Edit: Moreover, it does not seem to depend on the setting being enabled

Is there any way I could gather and provide more information?

from keepassxc.

droidmonkey avatar droidmonkey commented on September 18, 2024

This is most certainly related in some way to your desktop environment and/or theme and/or wayland. You might be running keepassxc in X11 through xwayland which could certainly mess with stuff.

from keepassxc.

SinnySupernova avatar SinnySupernova commented on September 18, 2024

It was indeed running through XWayland. After installing qt5-wayland (which doesn't seem to be in optional dependencies of the keepassxc package) KeePassXC is running in Wayland native mode.

But the theme issue is still happening all the same, unfortunately I couldn't figure out any pattern yet. When I repeatedly close/reopen the program without changing any settings, the theme that's set is seemingly random.

Screencast_20240624_181017.webm

The program seems to apply the correct application theme every time after a restart, however if I log out and log in (same user), the tray menu icons theme is wrong and the app theme is correct:
image

In this scenario, when not minimized on start, KeePassXC seems to first set the light app theme, then changes it to dark shortly, but the tray icons don't reflect that change.

from keepassxc.

phoerious avatar phoerious commented on September 18, 2024

Rather than doing that we should check for the org.freedesktop.appearance.color-scheme DBus interface. I don't know whether all desktops implement this yet, but that'd be the way to go.

from keepassxc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.