keepassxreboot / keepassxc

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

Very large group and entry icons #5870

Closed KimHono closed 3 years ago

KimHono commented 3 years ago

Too big icons

Since last update, I noticed that opening my habitual database gives a different appearance:

My system is : KeePassXC - Version 2.6.2 Revision: e9b9582

Qt 5.15.2 Debugging mode is disabled.

Operating system: Arch Linux CPU architecture: x86_64 Kernel: linux 5.9.14-arch1-1

webdawg commented 3 years ago

I will update again here soon, but I did a full system upgrade yesterday, and the issue just started. Sorry for submitting a dupe issue, I did not see this when I started. Archlinuxing, x64 rolling release.

herbetom commented 3 years ago

I can confirm. With the latest Manjaro it also broke today for me again :unamused:

Like before only my Desktop is affected. My Laptop isn't.

exaveal commented 3 years ago

For me it's broken since end of last year running Manjaro. For me the problem was never solved.

droidmonkey commented 3 years ago

This is trivially solved by setting the following environment variable (either globally or specifically when launching KeePassXC):

QT_SCALE_FACTOR=1.01

herbetom commented 3 years ago

@droidmonkey as stated above, I prefer an application with large icons over a blurry mess that hurts my eyes. But that doesn't mean I'm happy with the current situation.

This is not something I encountered in other applications, so it's probably a minor edge case somewhere or something like that. If there is something I can try, please let me know.

droidmonkey commented 3 years ago

This isn't our bug, it's a bug in Qt under some Linux environments. Just set that environment variable and the icons should go to their normal size that we prescribe in our application.

webdawg commented 3 years ago

Do I have a way to make the icons in the toolbar smaller.

I use the search bar all the time, and while the env var suggested QT_SCALE_FACTOR=1.01 fixes the group, and entry icons it does not fix the top bar menu:

They are huge, what can I do?:

image

droidmonkey commented 3 years ago

Disable the text next to the icons in the application settings. Scroll to the bottom of the general settings.

webdawg commented 3 years ago

Sorry. Thanks! I look for a few mins, but I could not find it before I was interrupted.

Have a good one!

michaelk83 commented 3 years ago

It's resolved for me now, still on version 2.6.4. Did a full system upgrade yesterday (Arch), and now the problem is gone. Seems like there was indeed something borked within Qt?

@stschindler Can you post the QT library versions you had that fixed the problem for you? This may help other users.

stschindler commented 3 years ago

@michaelk83 Sure, here's the list of all QT Arch packages that are currently installed:

michaelk83 commented 3 years ago

@stschindler , thanks.

tim-tx commented 3 years ago

This is happening for me with 2.6.6. qt5 versions mostly the same as what @stschindler posted, except for rev number changes like qt5-base-5.15.2+kde+r210-1. The QT_SCALE_FACTOR=1.01 trick works for now

777sam commented 3 years ago

The problem isn't fixed on Manjaro. Can you please advise?

KeePassXC - Version 2.6.6
Revision: 9c108b9

Qt 5.15.2
Debugging mode is disabled.

Operating system: Manjaro Linux
CPU architecture: x86_64
Kernel: linux 5.10.56-1-MANJARO

Enabled extensions:
- Auto-Type
- Browser Integration
- SSH Agent
- KeeShare (signed and unsigned sharing)
- YubiKey
- Secret Service Integration

Cryptographic libraries:
- libgcrypt 1.9.3-unknown
droidmonkey commented 3 years ago

Read the thread, this is a Qt issue on some distros. You need to apply an env var that changes the scaling to a fraction to get Qt to work properly.

herbetom commented 3 years ago

I had this problem also. Since i removed the Deepin stuff on that PC the problem is gone. I haven't tested if it's reproducible. So it could be a coincidence. But since i did that everything is fine. No env's for me! :smiley:

On that Manjaro PC Deepin-Screenshot was installed and the Desptop Eviroment was KDE Plasma.

777sam commented 3 years ago

Thanks, maybe you could highlight the solution at the top of this topic, especially for all the Linux users who are not developers. For example my father is retired and uses Linux.

The solution is simply to go to the App launcher / Properties and edit the command to: env QT_SCALE_FACTOR=1.01 keepassxc

Read the thread, this is a Qt issue on some distros. You need to apply an env var that changes the scaling to a fraction to get Qt to work properly.

tim-tx commented 3 years ago

ArchLinux bug: https://bugs.archlinux.org/task/71820

MrMiracles commented 3 years ago

Had the same problem after installing some deepin packages (deeping file manager). Solved by removing those packages. Had to do in manually, they weren't removed by removing deeping file manager.

Do this: Search for all deeping packages, remove them one by one.

  1. pamac search -i deepin (searches for al installed packages)
  2. sudo pamac remove [packagename] (removes package)
  3. restart keepassxc

Good luck!

alejandro-perez commented 2 years ago

Thanks @MrMiracles that actually solved it.

wolandtel commented 2 years ago

Heh. I faced the problem only a month ago. I thought it's a bug in the last keepassxc version.

KeepassXC: 2.6.6+dfsg.1-1

libqt5gui5: 5.15.2+dfsg-14
libqt5svg5: 5.15.2-3
libqt5core5a: 5.15.2+dfsg-14
libqt5widgets5: 5.15.2+dfsg-14

Distro: Debian testing

QT_SCALE_FACTOR=1.01 fixes the issue.

einars commented 2 years ago

This just occured for me on my Arch as well. In my case it turned out to be deepin-qt5integration that caused the huge icons to appear — among other things, it installs a couple of plugins to /usr/lib/qt/plugins/iconengines/. Removing the package restored everything back to normal.

shvchk commented 2 years ago

Had this problem after updating to Kubuntu 22.04 and it was also caused by Deepin packages. Fixed by removing Deepin packages: sudo apt purge '~i (~n^dde|~n^deepin)'

pavva91 commented 2 years ago

Just updated Arch Linux (i3) and the problem arise again. QT_SCALE_FACTOR=1.01 fixes the issue.

horton287 commented 2 years ago

Just updated Arch Linux (i3) and the problem arise again. QT_SCALE_FACTOR=1.01 fixes the issue.

This worked, but messed up other KDE apps for me, running in Gnome. Setting this env variable in a bash script that then calls keepassxc did the trick.

SunBlade-ger commented 2 years ago

Jep, removing deepin-reader fixed it for me. i did a quick test on those dependency packages and the one who broke the icons was: deepin-qt5integration

OS: Arch DE: Plasma

sleroq commented 1 year ago

Removing deepin packages also solves this issue for me