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

[BUG]: Slightly misaligned icons in feeds view after 4.4.0 #999

Closed
guihkx opened this issue Jun 29, 2023 · 0 comments
Closed

[BUG]: Slightly misaligned icons in feeds view after 4.4.0 #999

guihkx opened this issue Jun 29, 2023 · 0 comments
Assignees
Milestone

Comments

@guihkx
Copy link
Contributor

guihkx commented Jun 29, 2023

Brief description of the issue

Icons on the feeds view look misaligned in 4.4.0, but were fine in 4.3.4.

Here's two screenshots comparing both versions (they're from the Qt 5 AppImage):

4.3.4 Fusion (good) 4.4.0 Fusion (bad)
4 3 4-good-fusion 4 4 0-bad-fusion

The difference might not seem obvious with the default Fusion theme from Qt, but it's much more apparent with KDE's Breeze theme:

4.3.4 Breeze (good) 4.4.0 Breeze (bad)
4 3 4-good-breeze 4 4 0-bad-breeze

I bisected and df7e910 seems to be the culprit.

Commenting out the following line fixes things for me:

opts.decorationAlignment = Qt::AlignmentFlag::AlignLeft;

But I'm not sure if that breaks something else in other OSes, hence why I'm opening this bug report.

How to reproduce the bug?

Just compare versions 4.3.4 (good) and 4.4.0 (bad).

What was the expected result?

Icons in the feeds view to look properly aligned.

What actually happened?

Icons in the feeds view look slightly misaligned.

Debug log

N/A

Operating system and version

  • OS: Arch Linux (tested with AppImage and Flatpak)
  • RSS Guard version: 4.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants