SUMMARY *** 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. Select Media file and open 2. (example). Right click file and select ReplayGain2SoundCheck. OBSERVED RESULT QML Console appears with following message : "file:///usr/share/kid3/qml/script/ReplayGain2SoundCheck.qml: No such file or directory" EXPECTED RESULT I'm assuming Replay2GainSoundCheck should run. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu 22.04.3 LTS OS Type: 64-Bit Gnome Version: 42.9 Windowing System: Wayland. ADDITIONAL INFORMATION I have found the scripts within the snap install directory, but it appears that the application is pointing to the wrong location.
Thanks for the report. Since I am not creating the snap package, it is probably better if you report this bug to the people responsible for the snap. There seems to be an error report form on https://snapcraft.io/kid3. I will nevertheless try to give some hints for fixing the compilation or a workaround at runtime. Fixing the compilation: The bundled QML scripts have a prefix of %{qmlpath}/ in the "User Actions" tab of the settings. This is done because the self contained Kid3 package is freely relocatable, so this can be used to have the path relative to the program directory. The %{qmlpath} is taken from the CMake variable CFG_QMLDIR, so if snap is using a constant absolute path, it should be set to this path when configuring CMake (cmake ... -DCFG_QMLDIR=/path/to/qmldir ...). If an absolute path is used, it is not taken relative to the program directory. Workaround: You could replace all the %{qmlpath} occurrences in the "User Actions" tab of the settings with the path where you found the QML files within the snap install directory. Or you could do it directly in the configuration file which is named kid3rc for the KDE version and Kid3.conf for the Qt-only version. If you find the configuration file used by the snap (the file is Kid3.conf
I will fix this in the next build. Thanks!
Please test the latest snap in the snap store. If it still persists reopen this bug. Thanks