https://bugs.kde.org/show_bug.cgi?id=474462

            Bug ID: 474462
           Summary: qwenview called for images from different directories
                    but with same name
    Classification: Applications
           Product: gwenview
           Version: 21.12.3
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: jettsen.dal...@dabrapids.com
  Target Milestone: ---

SUMMARY
calling gwenview for multiple images of same name, but from different
directories, results in gwenview showing only the last image of the provided
list. 

STEPS TO REPRODUCE
positive attempt:
1. execute: gwenview dir_A/frontal_image_A.png dir_B/frontal_image_B.png
dir_C/frontal_image_C.png 
2. result: gwenview opens it`s widget showing thumbnails of all three images
'frontal_image_A.png', 'frontal_image_B.png' and 'frontal_image_C.png'
3. ==> fine

problem attempt:
1. execute: gwenview dir_A/frontal_image.png dir_B/frontal_image.png
dir_C/frontal_image.png 
2. result: gwenview opens it`s widget showing only one thumbnail for image
'frontal_image.png' from dir_C
3. ==> not what is expected

OBSERVED RESULT
only the last image of the provided list is shown

EXPECTED RESULT
there should be thumbnails for all images from the provided list

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 22.04.3
KDE Plasma Version: 5.24.7
KDE Frameworks Version:  5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
I know one should not propose a solution. but the reason for the issue is clear
and so is the solution (in my simple eyes).
when qwenview is called for multi-image display with files from different
directories, it does create symlinks to these image files in a
/tmp/gwenview-subfolder. unfortunately it uses the image filename to name the
symlink. thus, if the images in the different directories have identical
filenames, the symlink is replaced over and over again and only the last from
the list prevails.
simple solution would be, to name the symlink using the full pathname (not only
the filename).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to