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

            Bug ID: 427095
           Summary: Elisa search not working if music library is in a NTFS
                    partition
           Product: elisa
           Version: 20.08.1
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: matthieu_gall...@yahoo.fr
          Reporter: adabreu...@gmail.com
  Target Milestone: ---

SUMMARY
Elisa search of files is not working properly next time it is open if was
previously open before mounting the NTFS partition where the music library is
located.

Let's say we have an NTFS partition called DATA which contains a folder with
the music library itself, in, lets say DATA/Music. 
In a initial setup, the DATA partition is mounted and Elisa is set to search
for audio files in this path (/media/user/DATA/Music). The search utility
doesn't work properly, only enabling the forced index option is the database,
or whatever it use, created successfully and the search properly working.

After a system reboot, user logout and re-login or Elisa restart, it still work
properly, unless the mentioned DATA partition is unmounted at some point before
executing Elisa again. 

STEPS TO REPRODUCE

1. Mount an NTFS partition with a Music library folder. Configure Elisa to
index the folder or whole partition with the forced option enabled. Let Elisa
finish indexing. Play some Music, all fine? Close Elisa.

2. Unmount the NTFS partition, reopen Elisa, see it still holds the library
database records (albums, artists, songs, etc.), obviously at this point Elisa
isn't able to open a file. Close Elisa again.

3. Mount again the NTFS partition, open Elisa one more time, try to search for
or play some Music. Elisa index has been reset. Elisa settings are in a
rollback state.

OBSERVED RESULT
If this happens, if Elisa is opened while the DATA partition isn't mounted,
after having indexed the files in there, then the index doesn't work anymore,
even if the DATA partition is mounted back again and Elisa reopened. Also, the
settings are somehow rollback to default values.


EXPECTED RESULT
Elisa should be able to warn about the unavailability of the filesystem in
which the music library is supposed to exist. Also recovering from this kind of
errors after remounting or reaccessing the partition, resource, etc is
desirable.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION

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

Reply via email to