Summary: | Icons next to filenames drawn at wrong position if desktop scaling is not exactly 100% | ||
---|---|---|---|
Product: | [Applications] krusader | Reporter: | Adam <adam.neumond> |
Component: | general | Assignee: | Krusader Bugs Distribution List <krusader-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | benni.buch, krusader-bugs-null, sa666666 |
Priority: | NOR | ||
Version First Reported In: | 2.8.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Krusader 2.8.0 with missing icons
Desktop scale with 125% Desktop scale with 150% |
I commented on this in https://bugs.kde.org/show_bug.cgi?id=462307 too. The problem appears to be because of this commit: https://invent.kde.org/utilities/krusader/-/commit/0f147181fd41e5a2a8793eaeeb00a071fe161a6a I have removed this line: QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true); Recompiled Krusader, then my icons are back. Icons are a bit blurry, like it was in previous releases, but better have blurry icons than no icons at all. Created attachment 155832 [details]
Desktop scale with 125%
Created attachment 155833 [details]
Desktop scale with 150%
At desktop scaling of 125% and 150% you can see how the icons move further and further up. Since they are square, they disappear at 200%. Obviously the position at which they are drawn is not correct. The icon width is also calculated incorrectly, because the icon field gets disproportionately wider with increasing scaling. *** This bug has been marked as a duplicate of bug 462307 *** |
Created attachment 154370 [details] Krusader 2.8.0 with missing icons SUMMARY After upgrade from Krusader 2.7.2 to 2.8.0 I have problem with missing icons next to filenames. This happens only when I have in "Display Configuration" set "Global scale" to 200%. If I set "Global scale" to 100%, then icons are shown. I did not try fractional scaling. STEPS TO REPRODUCE 1. Set "Global scale" to 200% 2. Open Krusader SOFTWARE/OS VERSIONS Arch Linux KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.100.0 Qt Version: 5.15.7 ADDITIONAL INFORMATION Changing icon size, switching between "Detailed view" and "Brief view" does not help, icons are always missing. I attach screenshot of how it looks. The place where icons should appear is way wider than it was before.