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

--- Comment #5 from Richard <richie...@gmail.com> ---
I had to investigate a little to narrow down the cause.

Background: I use multiple configuration files so I can manage different sets
of photos. I then use "digikam --config $PWD/library.conf" to open the Photo
set I want.

To create a new config file, I use "touch library.conf" and then "digikam
$PWD/library.conf" because digiKam won't work if the config does not exist.
Next I go through the initial setup.

So far so good, everything seems to work perfect except shuffling
presentations. I just found out that if I create a config file in that way, it
won't have a "[Presentation Settings]" section. For some reason it just won't
be created, even after starting a presentation. And without that section the
presentation Shuffle won't work.

To work around, I copied the "[Presentation Settings]" section from
~/.digikamrc into my "library2.conf" and then it seems to work. (great!)

But there is something else strange. If I remove the "[Presentation Settings]"
from ~/.digikamrc, and then start digikam with "digikam --config
$HOME/.config/digikamrc", I get exactly the same problem as above (no
[Presentation Settings]). Then if I exit digiKam and start it without using the
"--config" parameter, then shuffle works fine and "[Presentation Settings]" is
created automatically.

So it looks like something is wrong with the --config parameter. At least I
have a work-around now, so I can fix my config files manually and shuffle.





Here are details:

Versions
* Tested on Ubuntu 18.04 digiKam 5.6.0
* Same on macOS digiKam 6.4.0


Steps to reproduce

(method 1):

cd tmp
touch library.conf
digikam --config $PWD/library.conf
# Go through initial setup
# Settings, Configure digiKam. Collections. Add network share.
# Select all photos.
# View, presentation. Shuffle images. Start presentation.
# Won't be shuffled
# exit digiKam
# "[Presentation Settings]" won't be created

(method 2)

vi ~/.config/digikamrc
# remove "[Presentation Settings]"  section
digikam --config $HOME/.config/digikamrc
# shuffle presentation =-> it won't be shuffled
# exit digiKam
# "[Presentation Settings]" won't be created
# Launch digikam again without --config
digikam
# shuffle presentation =-> it works!!
# exit digiKam
# "[Presentation Settings]" was been created.

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

Reply via email to