keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
21.49k stars 1.48k forks source link

Many dialog boxes have black background and are unreadable #5022

Closed idontusenumbers closed 4 years ago

idontusenumbers commented 4 years ago

Overview

About: image

Browser access request: image

Delete entry: image

KeePassXC - Version 2.6.0 Revision: 0765954

Qt 5.15.0 Debugging mode is disabled.

Operating system: macOS High Sierra (10.13) CPU architecture: x86_64 Kernel: darwin 17.7.0

Enabled extensions:

Cryptographic libraries: libgcrypt 1.8.5

droidmonkey commented 4 years ago

You seem to have unique theming problems, unfortunately this is not the case for anyone else as far as I am aware.

idontusenumbers commented 4 years ago

Is this closed because it's fixed?

droidmonkey commented 4 years ago

I can't fix something that isn't broken. I think these problems are unique to you, this would mean it is probably something on your system doing it.

idontusenumbers commented 4 years ago

They are also unique to keepassxc =)

I tried searching my computer for all other apps that use QtGui.framework. I couldn't reproduce it in any of the other apps: DB Browser for SQLite, Fritzing, SVGCleaner, Wireshark, unetbootin, or Snap Camera.

I'd be happy to provide any logs or preferences.

droidmonkey commented 4 years ago

That doesn't necessarily mean much, Qt varies wildly with version differences. But without a way to reproduce what you are seeing, it is impossible to fix. Question, are you running keepassxc in Light theme with macOS in dark theme?

idontusenumbers commented 4 years ago

This bug manifests with the light theme only; the system theme is what I normally use and it doesn't manifest this bug. It seems to me like a default was changed to something meant for the dark theme, or a new variable was introduced for themes but not set for the light theme so it brings in a default or 0.

droidmonkey commented 4 years ago

What theme is your macOS desktop set to?

idontusenumbers commented 4 years ago

image

droidmonkey commented 4 years ago

Oh forgot high Sierra does not have a dark mode

idontusenumbers commented 4 years ago

The native API does have a way to check if the 'dark menu bar and dock' mode is active; although that doesn't sound like something keepassxc should respond to.

droidmonkey commented 4 years ago

Hmm we are modifying the behavior of the window palette to allow cocoa to draw the background. We choose Qt::Transparent which might be rendering as black on high sierra.

dgedgedge commented 4 years ago

Capture d’écran 2020-08-23 à 11 10 53

Similar Issue on High-Sierra after upgrade of KeepassXc. May be I should install something else ? I do have port installed ... QT ?

KeePassXC - Version 2.6.1 Révision : 9a35bba

Qt 5.15.0 Le mode débogage est désactivé.

Système d’exploitation : macOS High Sierra (10.13) Architecture de l’unité centrale : x86_64 Noyau : darwin 17.7.0

Extensions activées :

Bibliothèques cryptographiques : libgcrypt 1.8.5

droidmonkey commented 4 years ago

Duplicate of #5347