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

            Bug ID: 462542
           Summary: HTML Gallery behaves oddly
    Classification: Applications
           Product: digikam
           Version: 7.9.0
          Platform: Microsoft Windows
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: digikam-bugs-n...@kde.org
          Reporter: steve...@gmail.com
  Target Milestone: ---

Created attachment 154223
  --> https://bugs.kde.org/attachment.cgi?id=154223&action=edit
dbgview log file

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
***
HTML Gallery tool doesn't filter images correctly. The first Album selected is
remembered for subsequence calls to the tool after it was deselected. When an
Album is selected, if a Tag is also selected the tool processes images that are
not in that album.

STEPS TO REPRODUCE
1.  Start Tools|Create HTML Gallery. Choose albums on the first dialog, select
an album and go through all steps to create a gallery. Close, then restart the
HTML Gallery Tool, Select Albums on the first screen. When you click Next any
Albums selected previously are still selected. Deselect any previous albums and
select a different one.
2.  Select Tag(s) on the Tag Tab. Continue to select options as required.
3.  On the final dialog click Next to create an HTML Gallery. 

OBSERVED RESULT
When you finish the steps the display changes to show the process of the
gallery generation. Notice that although only a single album was selected the
display shows 2 albums are being processed.
When you examine the output there are no images in the selected album and the
tag section of the gallery shows images that have the tag, but are outside the
selected album.

EXPECTED RESULT
1) Previously selected albums are NOT processed.
2) Images within the selected album are filtered by the tag. i.e. Only images
within that album, not all images in all albums which have been allocated that
tag. In the example that I used, there are 24 images in 2022, with the tag "Red
Admiral", but the output HTML Gallery has 58 HTML pages and 836 images.

SOFTWARE/OS VERSIONS
Windows:  10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION

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

Reply via email to