Bug 397820 - Icons in "Places" don't be shown full the first time
Summary: Icons in "Places" don't be shown full the first time
Status: RESOLVED DUPLICATE of bug 396990
Alias: None
Product: dolphin
Classification: Applications
Component: panels: places (show other bugs)
Version: 18.08.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-24 07:54 UTC by Rober
Modified: 2018-10-13 11:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Icons are shown wrong (213.26 KB, image/png)
2018-08-24 07:54 UTC, Rober
Details
Icons are shown right (225.34 KB, image/png)
2018-08-24 07:56 UTC, Rober
Details
Scale (71.41 KB, image/png)
2018-08-24 21:19 UTC, Rober
Details
Elisa music player with 1.7x scaling. (73.87 KB, image/png)
2018-10-13 11:16 UTC, Vladimír Vondruš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rober 2018-08-24 07:54:58 UTC
Created attachment 114568 [details]
Icons are shown wrong

I only see a part of the icons in "places" when I run Dolphin. 
If I close Dolphin and open again, the icons are shown right. 

I attach to pictures (wrong+right).
Comment 1 Rober 2018-08-24 07:56:06 UTC
Created attachment 114569 [details]
Icons are shown right
Comment 2 Nate Graham 2018-08-24 17:25:13 UTC
Are you using a HiDPI scale factor of a fonts DPI value greater than 96?
Comment 3 Rober 2018-08-24 18:10:28 UTC
I'm using two screen: 
Laptop: 3200x1800
External screen (display port): 3840x2160
Scaled: 1.7
OpenGL 3.1
Size (icons): 32x32 (I think Dolphin shows 48x48, not the right size)
Comment 4 Rober 2018-08-24 18:20:38 UTC
• [20:11:09] ~ » xdpyinfo | grep -B 2 resolution
screen #0:
  dimensions:    7040x2160 pixels (1857x570 millimeters)
  resolution:    96x96 dots per inch
 • [20:11:11] ~ » xrandr | grep -w connected
eDP1 connected primary 3200x1800+0+360 (normal left inverted right x axis y axis) 290mm x 170mm
DP1 connected 3840x2160+3200+0 (normal left inverted right x axis y axis) 610mm x 350mm
Comment 5 Nate Graham 2018-08-24 19:22:43 UTC
So you set a scale factor of 1.7 in System Settings > Display & Monitor > Scale?
Comment 6 Rober 2018-08-24 21:19:53 UTC
Created attachment 114590 [details]
Scale

Sorry but my system is in Spanish. I've just attached a screenshot. Maybe is "display & monitors > scale screen"
Comment 7 Nate Graham 2018-08-24 21:24:59 UTC
Yep, that's it. Seems like the same root cause as Bug 396990.

*** This bug has been marked as a duplicate of bug 396990 ***
Comment 8 Vladimír Vondruš 2018-10-13 11:16:34 UTC
Created attachment 115620 [details]
Elisa music player with 1.7x scaling.

Hi everyone! Here's some more details that should be hopefully enough to help you track down the problem:

I have a laptop with a 4K screen (and now an external 4K monitor) and was trying to track this down since I upgraded from 5.47, as the scaling is *seriously* broken on higher scales. Googling for this showed absolutely nothing. Desperate, I even created a new account to report this, but then this bug popped up.

I have a scaling factor of 2.4x on the laptop and 1.7x on the external monitor. The scaling is broken seemingly in a totally random way (a different set of icons is broken on 1.7x and on 1.8x). This affects all apps, not just Dolphin: KDevelop, Akregator, KWrite, Elisa, ... See the attachment for how Elisa looks on 1.7x (it's way worse on 2.4x).

Try to scale folder icons in Dolphin using ctrl-wheel with one of the above scales: the icons are misplaced in most cases but in some they jump to a correct size and alignment. Similar is in Elisa in the "minimal mode" (where the cover art fills the whole window) -- resize the window and see how randomly the cover art jumps around.

At first I suspected it has something to do with Qt because it's seemingly affecting all Qt-based apps I use, but today I managed to track it down to `kiconthemes` (so *not* kio): downgrading that package to 5.47 (I'm on Arch) makes everything usable again. Looking around, there isn't many commits in this particular project and I have a high suspicion this is the root of all evil: https://github.com/KDE/kiconthemes/commit/20f7137145f6b6fb38d2c3dd01a8443b8315cf41

Found also this with more screenshots (seriously, why there aren't more people hitting this?) -- if someone has an account there, could you mention this bug there? The suggested solution with xorg.conf solved absolutely nothing for me. https://forum.manjaro.org/t/some-icon-sizes-seem-broken/58522/6

Btw., Nate, thanks for your hard work. Your Sunday blog posts are always a happy read :)
Comment 9 Vladimír Vondruš 2018-10-13 11:18:38 UTC
Uh, accidentally posted the comment here instead of to Bug 396990. Posted there as well. Sorry about the noise.