Bug 479296 - Symlinked images are not displayed in the slideshow for desktop background
Summary: Symlinked images are not displayed in the slideshow for desktop background
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Image Wallpaper (show other bugs)
Version: 5.27.9
Platform: Debian testing Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-02 09:32 UTC by tnemeth
Modified: 2024-02-16 07:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tnemeth 2024-01-02 09:32:56 UTC
SUMMARY

    Hi. It's been bugging me for some time now and I thought someone would report it quickly but that has not been the case ^_^;

    I have a folder, ~/Images/Backgrounds/slideshow, that's filled with images from previous KDE/Plasma versions default backgrounds and some. They are ALL symlinks to real images but strangely, only some of them show up in the desktop background configuration window.


STEPS TO REPRODUCE
1. Collect old KDE/Plasma "Next" backgrounds from Debian in separate directories (since all of them are named "Next") and some from Kali linux
2. Create a directory for desktop background slideshow 
3. Create symlinks to original "Next" images (with meaningful names) in the slideshow directory
4. Use that directory in the desktop background configuration window


OBSERVED RESULT
All 3 background images from kali linux are displayed, only 3 from KDE/Plasma are shown.


EXPECTED RESULT
All files/thumbnails should be displayed and available as selection for background slideshow.


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10
Kernel Version: 6.5.0-5-amd64 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-7567U CPU @ 3.50GHz
Memory: 31.2 Gio of RAM
Graphics Processor: Mesa Intel® Iris® Plus Graphics 650
Manufacturer: Intel Corporation
Product Name: NUC7i7BNH
System Version: J31153-308

ADDITIONAL INFORMATION
My directories hierarchy (note: "diaporama" is french for "slideshow") :
```bash
$ tree -d
.
├── Breeze
│   ├── Next-v5.0.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.1.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.10.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.11.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.12.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.13.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.14.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.15.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.2.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.22
│   │   └── contents
│   │       └── images
│   ├── Next-v5.24
│   ├── Next-v5.26
│   ├── Next-v5.3.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.4.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.5.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.6.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.7.0
│   │   └── contents
│   │       └── images
│   ├── Next-v5.8.0
│   │   └── contents
│   │       └── images
│   └── Next-v5.9.0
│       └── contents
│           └── images
├── diaporama
└── Kali
```

Slideshow directory contents :
```bash
$ ls -l
total 8,0K
lrwxrwxrwx 1 thomas thomas 21  3 mars   2019 kali-3840x2160.png -> ../Kali/3840x2160.png
lrwxrwxrwx 1 thomas thomas 28  9 juin   2023 kali-cubism-16x9.jpg -> ../Kali/kali-cubism-16x9.jpg
lrwxrwxrwx 1 thomas thomas 51  1 juin   2022 kali-layers-16x9.png -> /home/thomas/Images/Fonds/Kali/kali-layers-16x9.png
lrwxrwxrwx 1 thomas thomas 52  3 mars   2019 Next-v5.10.0-3840x2160.png -> ../Breeze/Next-v5.10.0/contents/images/3840x2160.png
lrwxrwxrwx 1 thomas thomas 52  3 mars   2019 Next-v5.12.0-3840x2160.png -> ../Breeze/Next-v5.12.0/contents/images/3840x2160.png
lrwxrwxrwx 1 thomas thomas 52  3 mars   2019 Next-v5.13.0-3840x2160.png -> ../Breeze/Next-v5.13.0/contents/images/3840x2160.png
lrwxrwxrwx 1 thomas thomas 51  3 mars   2019 Next-v5.2.0-2560x1440.png -> ../Breeze/Next-v5.2.0/contents/images/2560x1440.png
lrwxrwxrwx 1 thomas thomas 73 29 déc.   2021 Next-v5.22-3840x2160.png -> /home/thomas/Images/Fonds/Breeze/Next-v5.22/contents/images/3840x2160.png
lrwxrwxrwx 1 thomas thomas 57 12 janv.  2022 Next-v5.24-3840x2160.jpg -> /home/thomas/Images/Fonds/Breeze/Next-v5.24/3840x2160.jpg
lrwxrwxrwx 1 thomas thomas 62 29 oct.   2022 Next-v5.26-3840x2160-dark.png -> /home/thomas/Images/Fonds/Breeze/Next-v5.26/3840x2160-dark.png
lrwxrwxrwx 1 thomas thomas 57 29 oct.   2022 Next-v5.26-3840x2160.png -> /home/thomas/Images/Fonds/Breeze/Next-v5.26/3840x2160.png
lrwxrwxrwx 1 thomas thomas 51  3 mars   2019 Next-v5.3.0-2560x1440.png -> ../Breeze/Next-v5.3.0/contents/images/2560x1440.png
lrwxrwxrwx 1 thomas thomas 51  3 mars   2019 Next-v5.4.0-2560x1440.png -> ../Breeze/Next-v5.4.0/contents/images/2560x1440.png
lrwxrwxrwx 1 thomas thomas 51  3 mars   2019 Next-v5.6.0-2560x1440.png -> ../Breeze/Next-v5.6.0/contents/images/2560x1440.png
lrwxrwxrwx 1 thomas thomas 51  3 mars   2019 Next-v5.7.0-2560x1440.png -> ../Breeze/Next-v5.7.0/contents/images/2560x1440.png
lrwxrwxrwx 1 thomas thomas 51  3 mars   2019 Next-v5.8.0-3840x2160.png -> ../Breeze/Next-v5.8.0/contents/images/3840x2160.png
lrwxrwxrwx 1 thomas thomas 51  3 mars   2019 Next-v5.9.0-3840x2160.png -> ../Breeze/Next-v5.9.0/contents/images/3840x2160.png
```

Displayed in desktop background slideshow configuration :
- all 3 kali backgrounds
- Breeze/Next-v5.24/3840x2160.png
- Breeze/Next-v5.26/3840x2160-dark.png
- Breeze/Next-v5.26/3840x2160.png
Comment 1 Nate Graham 2024-02-15 23:45:44 UTC
Hmm, we've seen and fixed this several times before.
Comment 2 tnemeth 2024-02-16 07:37:55 UTC
(In reply to Nate Graham from comment #1)
> Hmm, we've seen and fixed this several times before.

Is it reintroduced afterward ?
Wrong merge conflict resolution ?
Missing comment telling not to change back to suboptimal behavior ;) ?

As I said in the description, I waited a _long_ time before creating the BR because I thought someone would report it before me... As I haven't seen any fix I resolved myself to do it. Note that I'm using Debian Testing, so even if it's not the latest of KDE libraries and softwares, it's still not an obsolete one.