<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>479483</bug_id>
          
          <creation_ts>2024-01-06 20:46:58 +0000</creation_ts>
          <short_desc>Deleting an image from the annotation dialog makes the dialog jump to the first image</short_desc>
          <delta_ts>2024-01-06 22:20:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kphotoalbum</product>
          <component>Annotation Dialog</component>
          <version>5.12.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Johannes Zarl-Zierl">johannes</reporter>
          <assigned_to name="KPhotoAlbum Bugs">kphotoalbum-bugs-null</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/graphics/kphotoalbum/-/commit/02445f10283c3f12f800cd168bcbe94076177ffb</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2278479</commentid>
    <comment_count>0</comment_count>
    <who name="Johannes Zarl-Zierl">johannes</who>
    <bug_when>2024-01-06 20:46:58 +0000</bug_when>
    <thetext>SUMMARY
Crash report as written by Constantin Orăsan (via the mailing list):
Whenever I delete an image, the annotation dialog jumps back to the first image from the selection.

STEPS TO REPRODUCE
1. select a bunch of images
2. select &quot;annotate individual images&quot;
3. annotate images or just navigate through images
4. delete an image from the dialog

At this stage I would expect that the dialog moves to the next image (as it
used to do in the past). Instead it jumps back to the first image in the
selection.

I compiled KPA from the source on Ubuntu 23.10.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2278500</commentid>
    <comment_count>1</comment_count>
    <who name="Johannes Zarl-Zierl">johannes</who>
    <bug_when>2024-01-06 22:20:24 +0000</bug_when>
    <thetext>Git commit 02445f10283c3f12f800cd168bcbe94076177ffb by Johannes Zarl-Zierl.
Committed on 06/01/2024 at 23:20.
Pushed by johanneszarl into branch &apos;master&apos;.

Avoid jumping to the first image if an image is deleted in the annotation dialog

M  +2    -2    AnnotationDialog/Dialog.cpp
M  +8    -1    AnnotationDialog/ImagePreviewWidget.cpp
M  +7    -1    AnnotationDialog/ImagePreviewWidget.h
M  +1    -0    CHANGELOG.md

https://invent.kde.org/graphics/kphotoalbum/-/commit/02445f10283c3f12f800cd168bcbe94076177ffb</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>