Created attachment 8401
The desktop when GDK_SCALE=2 is set
On my laptop I have an HiDPI monitor, I have GDK_SCALE=2 set in my environment because that's the only way many applications' icons get displayed at a good size. Everything used to work fine with this setup, but since some 4.13 release many icons on the desktop are "rendered offscreen". It's like the algorithm that places them is considering a double-sized desktop. Please see the attachments.
Attachment 8401, "The desktop when GDK_SCALE=2 is set":
I had the same issue. Thanks for the workaround pezcurrel.
This scaling issue does not only affect the icons, but also the background picture. When I use a background picture at my screen native resolution, xfdesktop first upscales the images (because of GDK_SCALE=2) and then downscales it back to my screen resolution, resulting in a slightly blurred picture. I noticed this because at startup, LightDM displays the picture clearly and then when xfdesktop starts, the picture become blurry.
Icons offscreen: if you scale the icon size less icons will fit the screen. I think that if you use GDK_SCALE=1 on a monitor half of your resolution the same amount of icons would be displayed. Try a smaller icon size under Desktop Settings -> Icons.
Blurred background: what kind of wallpaper style are you using (scaled, stretched, zoomed...)? What happens when a different style is used?
Incomplete text shadows: I can reproduce (maybe a problem with the fallback css)
Moving big icons/thumbnails may leave traces: I can't reproduce
Bottom and right part of selection rectangle "jumping": I don't understand/can't reproduce
Unfortunately it's complicated to use xfdesktop scaled in a 1366x768 screen :)
Icons offscreen: if you scale the icon size less icons will fit the
screen. I think that if you use GDK_SCALE=1 on a monitor half of your
resolution the same amount of icons would be displayed. Try a smaller icon
size under Desktop Settings -> Icons.
Icons offscreen: if you scale the icon size less icons will fit the
screen. I think that if you use GDK_SCALE=1 on a monitor half of your
resolution the same amount of icons would be displayed. Try a smaller icon
size under Desktop Settings -> Icons.
I have understand now there is a misunderstanding :)
The problem is not related to a screen full of icons, but... let's say you have a screen with no icons yet and have "icons orientation" set to "top left vertical" (the default)... now you create some files on the desktop... file "1", "2", "3", and so on, until these files' icons fill the vertical size of your screen, let's say, with file "8". Now you create file "9". Its icon doesn't show on the desktop, it "gets rendered" below its bottom, and the same happens with new file "10", "11" and so on, until you reach file "17": its icon gets rendered on top of screen as first icon of a new column, while icons for files from "9" to "17" stay offscreen and there's no way to reach them.
It's like the algorithm that places the icons is considering a double-sized desktop.
Unfortunately it's complicated to use xfdesktop scaled in a 1366x768 screen
:)
«while icons for files from "9" to "17" stay offscreen and there's no way to reach them» ---> «while icons for files from "9" to "16" stay offscreen and there's no way to reach them»
Icons offscreen: if you scale the icon size less icons will fit the
screen. I think that if you use GDK_SCALE=1 on a monitor half of your
resolution the same amount of icons would be displayed. Try a smaller icon
size under Desktop Settings -> Icons.
I have understand now there is a misunderstanding :)
The problem is not related to a screen full of icons, but... let's say you
have a screen with no icons yet and have "icons orientation" set to "top
left vertical" (the default)... now you create some files on the desktop...
file "1", "2", "3", and so on, until these files' icons fill the vertical
size of your screen, let's say, with file "8". Now you create file "9". Its
icon doesn't show on the desktop, it "gets rendered" below its bottom, and
the same happens with new file "10", "11" and so on, until you reach file
"17": its icon gets rendered on top of screen as first icon of a new column,
while icons for files from "9" to "16" stay offscreen and there's no way to
reach them.
It's like the algorithm that places the icons is considering a double-sized
desktop.
Also notice that exactly the same issue shows up if one set "window scaling" to "2x" under "settings" -> "appearence" -> "settings", without setting any GDK_SCALE in the environment.
Unfortunately it's complicated to use xfdesktop scaled in a 1366x768 screen
:)
It's a hidpi, "4k", 3840x2160 screen :)
Sorry, I didn't understand you were referring to your own screen :)
My background is also blurred when using the 2x scaling in the appearance settings.
The style does not matter.
on zoomed: Looks like the resolution is halved
on centered: The picture is scaled 2x
all of it results in each px of the image being 2x2px large.
as if the background is running in a 960x540 resolution when the rest of the screen is running at 1920x1080
This patch prevents icons from being placed offscreen and eliminates the blurred background picture. Also, moving big icons/thumbnails should no longer leave traces (1px line at the top).
The selection rectangle issue seems to be gone, so no fix needed. Incomplete text shadows are specific to the text alignment:
PANGO_ALIGN_CENTER -> bug
PANGO_ALIGN_LEFT -> no bug
I've had the same problem with blurred background image and desktop icons. Thanks @pezcurrel whose workaround is working for me as well: Both desktop icons and background image are displayed sharp now. The only issue was that the fonts are scaled to a tiny size, because I'm running Xfce 4.16 with Window Scaling = 2x set in Appearance - Settings on a 4K display. Therefore I've modified the corresponding line to