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

            Bug ID: 415617
           Summary: Color management profile path uses previous appimage
                    mount point
           Product: digikam
           Version: 6.4.0
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: ColorManagement
          Assignee: digikam-bugs-n...@kde.org
          Reporter: jmdick...@gmail.com
  Target Milestone: ---

SUMMARY
In the [Color Management] section of the digikamrc file, there are two keys
that have values that are stored as absolute paths: MonitorProfileFile[$e] and
WorkProfileFile[$e]. When running the appimage the absolute path to these files
changes with each startup. When color management enabled you have to go to
settings and reselect the color space each time digikam is started.

STEPS TO REPRODUCE
1. Start digikam from an appimage.
2. Enable color management and select the working color space.
3. Exit digikam.
4. Restart digikam from the appimage.

OBSERVED RESULT
After restarting, open the color management settings and the working color
space is empty. The log will also contain messages like:

Digikam::IccManager::IccManager: Cannot open workspace color profile
"/tmp/.mount_digikajdJe2d/usr/share/digikam/profiles/srgb-d65.icm"

Where "/tmp/.mount_digikajdJe2d" is the appimage mount point from the previous
run instead of the current run:

ls -d /tmp/.mount_digika*
/tmp/.mount_digikaxfI7N9/


EXPECTED RESULT
The working color space would contain the previously selected value.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux Mint 18.3 / KDE Plasma Version 5.8.9
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:  KDE Frameworks 5.61.0
Qt Version: Qt 5.13.1 (built against 5.13.1)

ADDITIONAL INFORMATION
Workarounds:
-Disable color management.
-Copy the desired profile to a persistent location and manually edit the
digikamrc file to use that file.

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

Reply via email to