<?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>519273</bug_id>
          
          <creation_ts>2026-04-22 18:40:41 +0000</creation_ts>
          <short_desc>New Album dialog has its initial focus on the &apos;Help&apos; button rather than on Title of New Album</short_desc>
          <delta_ts>2026-04-23 05:34:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>Albums-Engine</component>
          <version>9.1.0</version>
          <rep_platform>macOS (DMG)</rep_platform>
          <op_sys>macOS</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>griffiths_andy</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>9.1.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2511516</commentid>
    <comment_count>0</comment_count>
    <who name="">griffiths_andy</who>
    <bug_when>2026-04-22 18:40:41 +0000</bug_when>
    <thetext>SUMMARY
During the process of moving images I need to create a new album. In previous versions one could press the new album button and start typing the new title straight away. In this build, the initial focus of the dialog has been set on the &apos;Help&apos; button, and so my confident typing actually has no effect. Until I press the spacebar as part of the title, then the help window opens, and I realise what has happened. Then I have to close the help window and go about positioning the cursor to restart the whole exercise.

digiKam-9.1.0-20260421T041825-Qt5-MacOS-x86_64

STEPS TO REPRODUCE
1. Select files to move to a new album. Right-click | Move, or Ctrl-A
2. Position at my root, press New Album
3. Start typing the new album title. When I press spacebar as part of the title, the Help window opens (presumably some shortcut?)
4. Close and restart

OBSERVED RESULT
The New Album dialog opens with the focus on the Help button

EXPECTED RESULT
The New Album dialog should start with the focus on the Title text input box, for a smooth workflow.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 26.3.1
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: Digikam 9.1 Qt5 legacy

ADDITIONAL INFORMATION
This behaviour is present in digiKam-9.1.0-20260421T041825-Qt5-MacOS-x86_64
I have not tested the previous Qt5 version to see if this is new, but digiKam-9.1.0-20260415T030121-Qt6-MacOS-arm64 does not have this behaviour.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2511588</commentid>
    <comment_count>1</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2026-04-23 05:28:55 +0000</bug_when>
    <thetext>Git commit 15f21a2729543d82c96cab8af7a079a416a4efcc by Gilles Caulier.
Committed on 23/04/2026 at 05:27.
Pushed by cgilles into branch &apos;master&apos;.

Tag and Album Edit dialog : adjust dialog size before to set the focus to the line edit widget.

M  +8    -3    core/libs/album/widgets/albumpropsedit.cpp
M  +4    -2    core/libs/tags/widgets/tageditdlg.cpp

https://invent.kde.org/graphics/digikam/-/commit/15f21a2729543d82c96cab8af7a079a416a4efcc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2511590</commentid>
    <comment_count>2</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2026-04-23 05:34:05 +0000</bug_when>
    <thetext>The dysfunction is not reproducible under Linux with current code. I tune a little bit the implementation to take the focus to the line edit after to adjust the dialog size.

I tested also the current 9.1.0 pre-release PKG installer under macOS Silicon Tahoe with my Macbook pro M1, and it&apos;s not reproducible.

Gilles Caulier</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>