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

Bad scaling on icons and text #649

Closed
2xsaiko opened this issue Dec 15, 2019 · 5 comments
Closed

Bad scaling on icons and text #649

2xsaiko opened this issue Dec 15, 2019 · 5 comments
Assignees
Labels
enhancement A feature or change request for Quaternion

Comments

@2xsaiko
Copy link

2xsaiko commented Dec 15, 2019

Description

The font in the chat UI is rendered (supposedly) at 1x scale and pixelated. All icons are also pixelated.

Steps to reproduce

  • Use KDE on a 4k monitor with global scale set to 1.5x

Version information

  • Quaternion version: 0.0.9.4b
  • Qt version: 5.13.2
  • Install method: AUR
  • Platform: Arch Linux x64, Plasma Desktop
@2xsaiko
Copy link
Author

2xsaiko commented Dec 15, 2019

Setting UI/Fonts/render_type to QtRendering seems to fix the font issue. Icons are still pixelated though.

@KitsuneRal
Copy link
Member

Sorry - this got lost in the traffic and I just found it. Is that on X or Wayland? X is known to be bad at handling fractional scale factors. Also, high DPI scaling on Qt only got reasonable support for fractional scale factors since Qt 5.14. If you're still around, can you try it with Qt 5.14 or later?

@2xsaiko
Copy link
Author

2xsaiko commented Mar 12, 2021

That was on X (and I'm still on X). With Qt 5.15.2, the text looks fine although icons (like the close/detach icons on the panels in the screenshot above, or menu icons) are still pixelated. That should be able to be fixed like here though, I think.

@KitsuneRal
Copy link
Member

Aha, thanks, I didn't know about that attribute.

@KitsuneRal KitsuneRal added the enhancement A feature or change request for Quaternion label Mar 12, 2021
@KitsuneRal KitsuneRal self-assigned this Mar 12, 2021
@KitsuneRal
Copy link
Member

KitsuneRal commented Mar 12, 2021

Turned out things are a bit worse: avatar dimensions in a few places were hardcoded to 16px :-\

KitsuneRal added a commit that referenced this issue Mar 16, 2021
This tries to take into account the screen DPI for icons to make sure
#649 is addressed. Closes #599.
@KitsuneRal KitsuneRal moved this to Version 0.0.95 - Done in Quaternion 1 Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature or change request for Quaternion
Projects
Status: Version 0.0.95 - Done
Development

No branches or pull requests

2 participants