thumbnails stretched on desktop 20.04 after previous bug fix release

Bug #1892276 reported by TJ
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gnome-shell-extension-desktop-icons
New
Unknown
gnome-shell-extension-desktop-icons (Ubuntu)
Triaged
Low
Unassigned

Bug Description

I updated all packages from the update branch and in the last week or two the pdfs on my desktop are displayed incorrectly and stretched out. It appears that I did not have the bug prior to the fix, but have it now that I have updated to the new package version.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2017-07-03 (1147 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
NonfreeKernelModules: nvidia_modeset nvidia
Package: gnome-shell-extension-desktop-icons 20.04.0-3~ubuntu20.04.1
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Tags: focal
Uname: Linux 5.4.0-42-generic x86_64
UpgradeStatus: Upgraded to focal on 2020-04-28 (118 days ago)
UserGroups: adbusers adm cdrom dialout dip lpadmin plugdev sambashare sudo tty uucp video
_MarkForUpload: True

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please:

1. Run this command to send us more information about the system:

   apport-collect 1892276

2. Report the bug to the developers at

   https://gitlab.gnome.org/World/ShellExtensions/desktop-icons/-/issues

   and then tell us the new issue ID.

tags: added: focal
Changed in gnome-shell-extension-desktop-icons (Ubuntu):
status: New → Incomplete
Revision history for this message
TJ (slydude123) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
TJ (slydude123) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
TJ (slydude123) wrote : Re: pdf images stretched on desktop 20.04 after previous bug fix release

I have run the command as requested and opened a new issue for gnome. The issue number is #216.

Changed in gnome-shell-extension-desktop-icons (Ubuntu):
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-shell-extension-desktop-icons (Ubuntu):
status: New → Confirmed
Changed in gnome-shell-extension-desktop-icons (Ubuntu):
importance: Undecided → Low
summary: - pdf images stretched on desktop 20.04 after previous bug fix release
+ thumbnails stretched on desktop 20.04 after previous bug fix release
Revision history for this message
Nathan Jessurun (ntjess) wrote :

Minor additional information:
- Also affects Ubuntu 20.10
- Stretching does not occur in the File Explorer Nautilus window, just the desktop preview.

Revision history for this message
Tengda Han (htd95) wrote :

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;`
with `let containerWidth = (this._icon.allocation.x2 - this._icon.allocation.x1);`

The scaleFactor here is unnecessary.

Revision history for this message
Tengda Han (htd95) wrote :

Tested on Ubuntu 20.04.1, with display scale 200%. Desktop thumbnails work fine after removing the scaleFactor multiplier as above.

Changed in gnome-shell-extension-desktop-icons (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
GilgongoJones (gilgongo) wrote :

Confirm htd95's fileItem.js fixes this for me on newly upgraded Ubuntu 20.04.2.

Changed in gnome-shell-extension-desktop-icons:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.