Created attachment 166450 [details] broken directories in terminal SUMMARY After installing Okular a bunch of simlinks in my home directory got broken *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Scarlett?
There is also a bug report on Launchpad. https://bugs.launchpad.net/ubuntu/+source/okular/+bug/2036597 And discussion on snapcrafters forum. https://forum.snapcraft.io/t/setting-home-in-snap-to-user-home-seems-to-cause-all-empty-user-dirs-to-become-broken-symlinks/39463/7
Fix is in once merged: https://github.com/canonical/snapcraft/pull/4698/commits/221e23cc28896b1098ed4a0c646f00b4b61464f0
(In reply to Scarlett Moore from comment #3) > Fix is in once merged: > https://github.com/canonical/snapcraft/pull/4698/commits/ > 221e23cc28896b1098ed4a0c646f00b4b61464f0 Scarlett: thanks Though this report might be about the qt5 snap ?
The file actually resides in desktop/common which will be picked up by both the qt5 and qt6 varient.
Created attachment 168380 [details] Video of the bug on a fresh Ubuntu 22.04 VM The bug only affects empty directories. The file in the Documents folder is still there after launching Okular.
This seems to be the cause. Has already been fixed upstream but the fix is not part of any snap build yet. https://github.com/sergio-costas/snapcraft-desktop-integration/blob/2b439f9/common/desktop-exports#L237
(In reply to Scarlett Moore from comment #3) > Fix is in once merged: > https://github.com/canonical/snapcraft/pull/4698/commits/ > 221e23cc28896b1098ed4a0c646f00b4b61464f0 The pull request seems to be merged now, could you (or other personnel that can do so) please rebuild and publish the Okular snap on the stable and candidate channel? This bug, although doesn't do much damage, does indeed destroy user data and should be dealt with as soon as possible.
rebuilding now
Unfortunately due to some renames with qt6 this needs to be merged before this will rebuild. https://invent.kde.org/graphics/okular/-/merge_requests/967
(In reply to Scarlett Moore from comment #10) > Unfortunately due to some renames with qt6 this needs to be merged before > this will rebuild. > https://invent.kde.org/graphics/okular/-/merge_requests/967 I suggest temporarily unlisting the snap from the store to avoid accidental installs in the meantime.
(In reply to 林博仁(Buo-ren, Lin) from comment #11) > (In reply to Scarlett Moore from comment #10) > > Unfortunately due to some renames with qt6 this needs to be merged before > > this will rebuild. > > https://invent.kde.org/graphics/okular/-/merge_requests/967 > > I suggest temporarily unlisting the snap from the store to avoid accidental > installs in the meantime. done.
@Albert(In reply to Albert Astals Cid from comment #1) > Scarlett? Can you approve the merge request so I can get this fixed? Thanks
(In reply to Scarlett Moore from comment #13) > @Albert(In reply to Albert Astals Cid from comment #1) > Can you approve the merge request so I can get this fixed? Thanks Hello, the merge request seems to be merged, can we proceed to fix this problem?
(In reply to 林博仁(Buo-ren, Lin) from comment #14) > (In reply to Scarlett Moore from comment #13) > > @Albert(In reply to Albert Astals Cid from comment #1) > > Can you approve the merge request so I can get this fixed? Thanks > > Hello, the merge request seems to be merged, can we proceed to fix this > problem? It has already been released to the stable channel.