Bug 504701

Summary: Marking as favorite not working for files on external drives
Product: [Applications] Elisa Reporter: drakon
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: REPORTED ---    
Severity: normal CC: john.kizer
Priority: NOR    
Version First Reported In: 25.04.0   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description drakon 2025-05-23 15:51:21 UTC
SUMMARY


STEPS TO REPRODUCE
1. Mark a song as favorite
2. switch to a different tab
3. Marking is gone

OBSERVED RESULT
Song is not marked as favorite

EXPECTED RESULT
Should be marked as favorite

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 24.04
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

ADDITIONAL INFORMATION
Comment 1 John Kizer 2025-05-27 05:04:39 UTC
Hi - could you please double-check the Elisa version you have installed, and let us know what source you used to install it on your Kubuntu 24.04 device (Ubuntu repositories, Snap, Flatpak)?

Thanks!
Comment 2 drakon 2025-05-28 08:02:37 UTC
Hi, it's version 25.04, i installed it over snap.
Comment 3 John Kizer 2025-05-29 02:11:43 UTC
Thanks - just checking, if you start Elisa from a terminal and reproduce this issue, do any messages appear in that terminal?
Comment 4 drakon 2025-05-29 08:19:57 UTC
I checked, but sadly nothing is printed in the terminal.

Here the full output:

update.go:85: cannot change mount namespace according to change mount (/snap/gtk-common-themes/1535/share/gtk2/Materia-compact /snap/elisa/78/data-dir/themes/Materia-compact-2 none bind,ro 0 0): cannot write to "/snap/gtk-common-themes/1535/share/gtk2/Materia-compact" because it would affect the host in "/snap"
update.go:85: cannot change mount namespace according to change mount (/snap/gtk-common-themes/1535/share/gtk2/Materia-dark-compact /snap/elisa/78/data-dir/themes/Materia-dark-compact-2 none bind,ro 0 0): cannot write to "/snap/gtk-common-themes/1535/share/gtk2/Materia-dark-compact" because it would affect the host in "/snap"
update.go:85: cannot change mount namespace according to change mount (/snap/gtk-common-themes/1535/share/gtk2/Yaru-MATE-dark /snap/elisa/78/data-dir/themes/Yaru-MATE-dark-2 none bind,ro 0 0): cannot use "/snap/gtk-common-themes/1535/share/gtk2/Yaru-MATE-dark" as bind-mount source: not a directory
update.go:85: cannot change mount namespace according to change mount (/snap/gtk-common-themes/1535/share/gtk2/Yaru-MATE-light /snap/elisa/78/data-dir/themes/Yaru-MATE-light-2 none bind,ro 0 0): cannot use "/snap/gtk-common-themes/1535/share/gtk2/Yaru-MATE-light" as bind-mount source: not a directory
/usr/share/libdrm/amdgpu.ids: No such file or directory
Qt: Session management error: Could not open network socket
qrc:/qt/qml/org/kde/elisa/qml/ElisaMainWindow.qml:323:5: QML Settings: Failed to initialize QSettings instance. Status code is: 1
qrc:/qt/qml/org/kde/elisa/qml/ElisaMainWindow.qml:323:5: QML Settings: The following application identifiers have not been set: QList("organizationName")
org.kde.elisa.indexers.manager: Local file system indexer is inactive
qt.sql.sqlite: Unsupported option 'foreign_keys = ON'
qt.sql.sqlite: Unsupported option 'locking_mode = EXCLUSIVE'
qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version n7.1.1 GPL version 3 or later
org.kde.elisa.indexers.manager: Local file system indexer is active
org.kde.elisa.indexers.manager: trigger init of local file indexer
Input #0, mp3, from '/media/drakon/Extern/Dragon-Lair Music/Musik/James Pit - Saint.mp3':
  Metadata:
    album           : Angel
    artist          : James Pit
    title           : Saint
    date            : 2022
  Duration: 00:02:49.92, start: 0.023021, bitrate: 320 kb/s
  Stream #0:0: Audio: mp3 (mp3float), 48000 Hz, stereo, fltp, 320 kb/s
      Metadata:
        encoder         : LAME3.100
Comment 5 John Kizer 2025-05-30 05:18:22 UTC
Thanks! Just to check, where on your system is your music library housed? And, is it possible for you to also check the Flatpak version (https://flathub.org/apps/org.kde.elisa) to help see if there's an issue with the specific type of confinement used by the Snap format?
Comment 6 drakon 2025-06-01 08:50:05 UTC
Hi,

so my music library is on an external harddrive. I gave the snap the permission to access it regularly.

I tried with the flatpack, also adding the full path to the library , same issue.

I noticed however that on both it seems to work, when trying it on a local file e.g. in my users music folder. So it's not working when trying to fav a file on the external harddrive.
Comment 7 John Kizer 2025-06-01 16:19:24 UTC
Thanks! A couple other questions:

* Does the "Reset Database and Re-Scan Everything" option cause a rating for an external music file to show up?
* Does choosing "View details", then "Modify", and setting a rating from inside that dialog box work?
Comment 8 drakon 2025-06-02 15:27:27 UTC
Hi,

basically no and no. Same issue as before.
Comment 9 John Kizer 2025-06-03 01:13:00 UTC
Thanks!