[Bug 1892276] Re: thumbnails stretched on desktop 20.04 after previous bug fix release

2021-01-18 Thread Tengda Han
Tested on Ubuntu 20.04.1, with display scale 200%. Desktop thumbnails work fine after removing the scaleFactor multiplier as above. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-shell-extension-desktop-icons in Ubuntu.

[Bug 1892276] Re: thumbnails stretched on desktop 20.04 after previous bug fix release

2021-01-17 Thread Tengda Han
A possible fix: In https://gitlab.gnome.org/World/ShellExtensions/desktop-icons/-/blob/master/fileItem.js#L373 (or locally /usr/share/gnome-shell/extensions/desktop-icons@csoriano/fileItem.js): Replace: `let containerWidth = (this._icon.allocation.x2 - this._icon.allocation.x1) * scaleFactor;`