linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.21k stars 300 forks source link

Desktop: Lots of landscape thumbnails are misaligned with their file name #2727

Open SebastJava opened 3 years ago

SebastJava commented 3 years ago
* Nemo version 5.0.5
* Issue with desktop
* Distribution LinuxMint Cinnamon 20.2
* Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics driver: i915 v: kernel 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 2000 (SNB GT1) v: 3.3 Mesa 20.2.6 
* 64 bit

Nemo-Desktop-thumbnails-misaligned Here i have selected all the pictures that are misaligned, just to show. This is the entire content from /usr/share/backgrounds/linuxmint-uma

Issue Desktop: Lots of landscape (wide) thumbnails are misaligned with their file name below. Most of them. See screenshot above.

Prerequisites:

  1. Right-click an empty area on your Cinnamon desktop for Customize > Auto-arrange=false
  2. Nemo > Edit > Preferences > Preview > Show thumbnails = Yes

Steps to reproduce:

  1. Go to /usr/share/backgrounds and find some landscape pictures. (This is just an example of a landscape, or wide, images source. Any source will do, including your web browser.)
  2. Drag and drop onto your desktop. See ? Most of those thumbnails are misaligned !

Expected behaviour I would expect the thumbnail to be aligned-centre with the filename.

Other informations

  1. This bug seems to occur only on landscapes (wide) images.
  2. This bugs only affects pictures that are new to the desktop. If the desktop "saw" that picture before, then it gets displayed properly.
  3. Things get re-aligned properly as soon as i move the picture somewhere else on this same desktop. Sometimes, just hovering it fixes this bug, without any mouse click.
SebastJava commented 3 years ago

similar to #2678

SebastJava commented 2 years ago

Bump.

 * Nemo version 5.0.5
 * Issue with desktop
 * Distribution LinuxMint Cinnamon 20.2
 * Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics driver: i915 v: kernel 
           Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 2000 (SNB GT1) v: 3.3 Mesa 20.2.6 
 * 64 bit

https://user-images.githubusercontent.com/31940713/142955644-4bc49cc4-8255-4e4a-a565-cf85e292c0e1.mp4

First, when i drop the thumbnail on the desktop, the filename is misaligned, but as soon as i move it, it re-aligns properly... NOTE: Maybe this problem only occurs with wide, landscape thumbnails.

Jeremy7701 commented 2 years ago

It isn't misaligned:-

The Desktop has a grid of positions to snap-to. The window also has a grid of positions to snap-to. These are not the same, unless you carefully adjust your icon sizes, window sizes, screen resolution etc

SebastJava commented 2 years ago

@Jeremy7701

THIS is what i am talking about: image

I say the icon is not properly aligned with the filename. Or vice-versa. But as soon as you move it elsewhere on the desktop, it gets fixed automatically, as demonstrated in the video above. IMHO, it really does not look good, it is not normal and thus should get fixed.

SebastJava commented 2 years ago

Sometimes, just hovering it, moving the mouse pointer over it without even clicking it, triggers a good re-alignment !

I mean the filename gets aligned to the center of the thumbnail above, like it should always be.

SebastJava commented 2 years ago

celluloid-shot0002

Detail from video above, at 00:05

SebastJava commented 2 years ago

Technically, i guess it is the newly generated thumbnail that is not well aligned to the filename under it. Not vice-versa. When I look at the video frame-by-frame, somewhere around 00:04, I see this temporary clock icon, waiting for the thumbnail to be generated. Well, this temporary generic icon is well aligned with the filename under it. It is only this new thumbnail, displayed 1/4 second later, that is misaligned, while the filename did not move.

As said before, this problem only occurs with new files, and maybe only with large, landscape thumbnails.

Jeremy7701 commented 2 years ago

Sorry - didn't appreciate the problem.

SebastJava commented 2 years ago

Nemo-desk-thumbnails-align

@Jeremy7701 I am trying to find the constant steps to reproduce...

Prerequisites:

  1. Right-click an empty area on your Cinnamon desktop for Customize > Auto-arrange=false
  2. Nemo > Edit > Preferences > Preview > Show thumbnails = Yes

Steps to reproduce:

  1. Go to /usr/share/backgrounds and find some landscape pictures.
  2. Drag and drop onto your desktop. Most of those thumbnails are misaligned, but not all of them.

NOTE: This bug only occurs with landscapes (wide) images, and only when the desktop never "saw" this image before. To be able to reproduce this issue with some image that you already tried before, you can close all the Nemo windows, clear the ~/.cache/thumbnails directories, and try again. Or just choose another landscape picture from anywhere else.

Can you reproduce this issue and confirm, please ?

SebastJava commented 2 years ago

Desktop-customize

Jeremy7701 commented 2 years ago

I can reproduce it with a couple of the /usr/share/backgrounds/linuxmint-tricia files Screenshot from 2021-11-23 18-25-19 Moving it a short distance on the desktop doesn't fix it - but moving it sufficiently to 'snap' into a new position does so.

BTW This is on a standard HD 1920 x 1080, 24" screen - so nothing special. .

SebastJava commented 2 years ago

BTW This is on a standard HD 1920 x 1080, 24" screen - so nothing special.

Same here.

SebastJava commented 2 years ago

OP updated to make it short, simple, and clear.

SebastJava commented 2 years ago

@icarter09 Can I get my "BUG REPRODUCED" label, please ?

I tested this many times and it is now confirmed by Jeremy7701 (https://github.com/linuxmint/nemo/issues/2727#issuecomment-976993955) and this dates from April 13...