Re: Getting PrintCreator to work on SORTED list of images?

Gilles Caulier <[email protected]> Fri, 1 Dec 2023 10:18:32 +0100
Newsgroups gmane.comp.kde.digikam.devel
Message-ID <CAHFG6sE6DPJKfELmYBuuncG2JuxuRYG+3KK1dX0wF5jiBroeZw@mail.gmail.com>
Hi,

Testing with current 8.3.0 (same with last stable 8.2.0), the sorted
list of items in print creator follow the sort rules done in icon
view:

Sort by dates : https://i.imgur.com/i045Cs5.png
Sort by filenames : https://i.imgur.com/3HHjsX5.png

Best

Gilles Caulier

Le ven. 1 déc. 2023 à 09:46, Rik Belew <[email protected]> a écrit :
>
> hi just digging into digikam, and finding it a very solid
> piece of work; well done all!
>
> i've used a tag to pull together an album that I want to
> turn into a picture book.  PrintCreator seems like it might
> make a useful tool for that.  (If this workflow is common
> for others, perhaps there has been previous posts to
> the Users list?  I haven't found any.)
>
>
> There is a chronology to the images that the
>         View ‣ Sort Images  ‣ Creation Date
> respects.  But when I use PrintCreator over the
> album, it comes out in some other (random?) order.
>
> i'm not great at C++, but trying to track this down
> I find iteration over a QMap:
>
>         QMap<int, int>::iterator it = d->indexMap.find(key);
>
> https://invent.kde.org/graphics/digikam/-/blame/master/core/dplugins/generic/tools/printcreator/tools/atkinspagelayout.cpp?ref_type=heads#L85
>
> is there some way to modify this iterator, or otherwise
> have PrintCreator do what I want?
>
> Thanks for any hints,
>
>         Rik
>
> --
> R. K. Belew | hancock
> [email protected]