https://bugs.kde.org/show_bug.cgi?id=407164
Bug ID: 407164 Summary: Load Demo -button in the start-up dialog doesn't work or opens wrong version of KPhotoAlbum Product: kphotoalbum Version: GIT master Platform: Mint (Debian based) OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: general Assignee: kpab...@willden.org Reporter: sikana...@pumpuli.net Target Milestone: --- SUMMARY Load Demo -button in the start-up dialog doesn't work or opens wrong version of KPa, if KPa is started from a location which is different than what is found in $PATH. Running KPhotoAlbum without parameters produces a dialog, with options to Create My Own database, Load demo or Check My Feature Set. If KPhotoAlbum is not found in PATH, the Load Demo -button just closes the dialog and exits the program. I found this out when I built a new Git-based version 5.5.2. launched it from the install directory with ./kphotoalbum and pressing Load Demo to check the new functionality, it opened version 5.3. instead (which was the version installed earlier from distro's repositories). STEPS TO REPRODUCE 1. Build a new version of KPa and install it in a location not found in $PATH 2. Enter the install directory and launch KPhotoAlbum from there without parameters 3. Press Load Demo -button OBSERVED RESULT Older version (found from PATH) of KPa is opened, or the demo version does not open at all (it no version found in PATH). EXPECTED RESULT Demo database opens with the version of KPhotoAlbum that was just launched and which provides the start-up dialog. SOFTWARE/OS VERSIONS Linux Mint Cinnamon 19.1 with all available updates ADDITIONAL INFORMATION Launching the program with "--demo" parameter opens the demo database with the correct version of KPa. Maybe Load Demo-button does just that, i.e. closes the current program and re-launches it with the parameter, and this doesn't work, if the same version is not found in PATH. -- You are receiving this mail because: You are watching all bug changes.