Bug 519273 - New Album dialog has its initial focus on the 'Help' button rather than on Title of New Album
Summary: New Album dialog has its initial focus on the 'Help' button rather than on Ti...
Status: RESOLVED WORKSFORME
Alias: None
Product: digikam
Classification: Applications
Component: Albums-Engine (other bugs)
Version First Reported In: 9.1.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-04-22 18:40 UTC by griffiths_andy
Modified: 2026-04-23 05:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 9.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description griffiths_andy 2026-04-22 18:40:41 UTC
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 'Help' 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.
Comment 1 caulier.gilles 2026-04-23 05:28:55 UTC
Git commit 15f21a2729543d82c96cab8af7a079a416a4efcc by Gilles Caulier.
Committed on 23/04/2026 at 05:27.
Pushed by cgilles into branch 'master'.

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
Comment 2 caulier.gilles 2026-04-23 05:34:05 UTC
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's not reproducible.

Gilles Caulier