Bug 461940 - symlinks not working on desktop wallpaper (again the same bug)
Summary: symlinks not working on desktop wallpaper (again the same bug)
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Image Wallpaper (show other bugs)
Version: 5.26.3
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2022-11-17 09:17 UTC by Duns
Modified: 2024-02-15 23:45 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.26.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duns 2022-11-17 09:17:23 UTC
SUMMARY
***
It is no more possible to set symlinked images as destkop wallpaper
***


STEPS TO REPRODUCE
1. Go to desktop settings
2. Try to choose a slideshow with simlinked images
3. no images appear

OBSERVED RESULT
no images

EXPECTED RESULT
images symlinked

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.26
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 5.15.0-53-generic (64-bit)
Graphics Platform: X11
Processors: 2 × Intel® Core™ i3-7100 CPU @ 3.90GHz
Memory: 7,7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630
Manufacturer: MSI
Product Name: MS-7A74
System Version: 1.0

ADDITIONAL INFORMATION
This bug was *already reported*. 
I don't understand why on earth you re-fall in the same bug. It's a nightmare!
Comment 1 Duns 2022-11-17 15:38:51 UTC
Until this bug will fixed, how can avoid it? 
Downgrading to 5.26.2? 
Modifying some configuration file? 
Installing a plugin?
Thank you.
Comment 2 Duns 2022-11-17 16:00:00 UTC
something is with vallpaper plugin, buy not the same.
Comment 3 Nate Graham 2022-11-29 19:48:57 UTC
> This bug was *already reported*. 
Where?

> I don't understand why on earth you re-fall in the same bug. It's a nightmare!
Clearly we are not perfect; a little bit of patience and understanding would be appreciated.
Comment 4 Duns 2022-11-29 20:03:28 UTC
(In reply to Nate Graham from comment #3)
> > This bug was *already reported*. 
> Where?

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

> > I don't understand why on earth you re-fall in the same bug. It's a nightmare!
> Clearly we are not perfect; a little bit of patience and understanding would
> be appreciated.

I apologize for my verbal violence. I hope you will solve this problem.
Thank you!
Comment 5 Nate Graham 2022-11-29 20:33:41 UTC

*** This bug has been marked as a duplicate of bug 460287 ***
Comment 6 Fushan Wen 2022-11-30 07:42:48 UTC
Did the fix work in 5.26.2? I looked back and there were no changes related to symlink handling, and the test is still passing.
Comment 7 Fushan Wen 2022-11-30 15:52:04 UTC
Tested and symlink can still be found. What's your folder structure?
Comment 8 Duns 2022-11-30 15:59:58 UTC
(In reply to Fushan Wen from comment #7)
> Tested and symlink can still be found. What's your folder structure?

The same as in the past (when for years all work4ed as expected). 
Consider that I'm speaking about slideshow, and not single image.
The slideshow folder path is an absolute one (/mnt/dati/img/pro-pc/desktop.wallpaper/)
In that folder I have symlinked many images from different absolute folders. Symlinked, however, with relative path (beginning with ../ and not with /mnt).
Comment 9 Duns 2022-11-30 16:05:22 UTC
Indeed, if an image is symlinked with an absolute path it works.
Comment 10 Fushan Wen 2022-11-30 17:19:50 UTC
I am using relative path and the image is also listed. Are those pictures in a different mount point than /mnt/... ?
Comment 11 Duns 2022-11-30 17:31:11 UTC
(In reply to Fushan Wen from comment #10)
> I am using relative path and the image is also listed. Are those pictures in
> a different mount point than /mnt/... ?

no...
Comment 12 Bug Janitor Service 2022-12-15 05:14:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 13 Duns 2022-12-15 08:36:33 UTC
(In reply to Bug Janitor Service from comment #12)
> Dear Bug Submitter,
> 
> This bug has been in NEEDSINFO status with no change for at least
> 15 days. Please provide the requested information as soon as
> possible and set the bug status as REPORTED. Due to regular bug
> tracker maintenance, if the bug is still in NEEDSINFO status with
> no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
> due to lack of needed information.
> 
> For more information about our bug triaging procedures please read the
> wiki located here:
> https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging
> 
> If you have already provided the requested information, please
> mark the bug as REPORTED so that the KDE team knows that the bug is
> ready to be confirmed.
> 
> Thank you for helping us make KDE software even better for everyone!

Sorry, but I don't understand what I should do. I have reported a bug, that I can see in all my devices (at least 4): everybody can see it.
If you try to use symlinked images as wallpaper slideshow, you find that the folder is empty, while it is not empty, but full of symlinked images.
Comment 14 Duns 2022-12-15 08:48:10 UTC
(In reply to Duns from comment #13)
> (In reply to Bug Janitor Service from comment #12)
> > Dear Bug Submitter,
> > 
> > This bug has been in NEEDSINFO status with no change for at least
> > 15 days. Please provide the requested information as soon as
> > possible and set the bug status as REPORTED. Due to regular bug
> > tracker maintenance, if the bug is still in NEEDSINFO status with
> > no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
> > due to lack of needed information.
> > 
> > For more information about our bug triaging procedures please read the
> > wiki located here:
> > https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging
> > 
> > If you have already provided the requested information, please
> > mark the bug as REPORTED so that the KDE team knows that the bug is
> > ready to be confirmed.
> > 
> > Thank you for helping us make KDE software even better for everyone!
> 
> Sorry, but I don't understand what I should do. I have reported a bug, that
> I can see in all my devices (at least 4): everybody can see it.
> If you try to use symlinked images as wallpaper slideshow, you find that the
> folder is empty, while it is not empty, but full of symlinked images.

today I verified that symlinked images work, but not the *double* symlinked ones (I have to copy, instead of symlink an image). 
So I admit the bug is solved.
Comment 15 Fushan Wen 2022-12-15 16:21:15 UTC
> today I verified that symlinked images work, but not the *double* symlinked
> ones (I have to copy, instead of symlink an image). 
> So I admit the bug is solved.

Will try to reproduce
Comment 16 Bug Janitor Service 2022-12-20 13:29:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2452
Comment 17 Fushan Wen 2022-12-21 12:38:44 UTC
Git commit 32adb3110d68282ac6d091332775b086d3d2e987 by Fushan Wen.
Committed on 21/12/2022 at 04:52.
Pushed by fusionfuture into branch 'master'.

wallpapers/image: fix finding the real symlink target

target was not updated properly so the result always represents the
first symlink target.
FIXED-IN: 5.26.5

M  +6    -6    wallpapers/image/plugin/finder/findsymlinktarget.h
M  +2    -2    wallpapers/image/plugin/finder/imagefinder.cpp
M  +1    -1    wallpapers/image/plugin/finder/packagefinder.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/32adb3110d68282ac6d091332775b086d3d2e987
Comment 18 Fushan Wen 2022-12-21 14:35:10 UTC
Git commit fcf12846368d088429ddeb254cb2e4654822f44b by Fushan Wen.
Committed on 21/12/2022 at 12:43.
Pushed by fusionfuture into branch 'Plasma/5.26'.

wallpapers/image: fix finding the real symlink target

target was not updated properly so the result always represents the
first symlink target.
FIXED-IN: 5.26.5
(cherry picked from commit 32adb3110d68282ac6d091332775b086d3d2e987)

M  +6    -6    wallpapers/image/plugin/finder/findsymlinktarget.h
M  +2    -2    wallpapers/image/plugin/finder/imagefinder.cpp
M  +1    -1    wallpapers/image/plugin/finder/packagefinder.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/fcf12846368d088429ddeb254cb2e4654822f44b