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

KeePassXC has rendering issues regarding QPainter not activating properly on installations with NVIDIA graphics #23517

Closed
Max-FT opened this issue Jul 11, 2020 · 2 comments

Comments

@Max-FT
Copy link

Max-FT commented Jul 11, 2020

System

  • xuname:
    Void 5.7.8_1 x86_64 GenuineIntel uptodate rFFFF
  • package:
    keepassxc-2.6.0_1

Expected behavior

The painting of widgets is done properly

Actual behavior

With NVIDIA graphics cards, QPainter fails to properly load with

QPainter::begin: Paint device returned engine == 0, type: 3 QPainter::setCompositionMode: Painter not active

This issue isn't present on devices with intel integrated graphics

Steps to reproduce the behavior

Launch KeePassXC 2.6.0 with NVIDIA graphics.

@b1scu1t
Copy link

b1scu1t commented Aug 1, 2020

Are you sure this is specific to Void's package?
If its not, I could be an upstream issue.

@Max-FT
Copy link
Author

Max-FT commented Aug 2, 2020

Are you sure this is specific to Void's package?
If its not, I could be an upstream issue.

So, I did some more digging and this issue is apparently caused by a change in DPI scaling within the application. Setting the
environment variable QT_AUTO_SCREEN_SCALE_FACTOR=0 resolves the issue completely.

@Max-FT Max-FT closed this as completed Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants