Bug 406507 - digiKam crashes when trying to select custom icon in the tag manager a second time
Summary: digiKam crashes when trying to select custom icon in the tag manager a second...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Tags-Manager (show other bugs)
Version: 5.3.0
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-13 16:05 UTC by ha2oh42
Modified: 2020-08-10 10:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ha2oh42 2019-04-13 16:05:28 UTC
SUMMARY


STEPS TO REPRODUCE
1. Assign custom icon to tag by selecting the tag in the tag manager, clicking on "edit tag title", clicking on the icon, selecting "Other icons:", clicking on "Browse" and selecting an image
2. Select another tag and repeat step 1. Once you click "Browse" digiKam freezes.

OBSERVED RESULT
digiKam crashes as soon as I click on "Browse" the second time

EXPECTED RESULT
Being able to select multiple another icon

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: debian 9.8 (x86-64)
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 16.08.3
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2019-04-13 16:07:56 UTC
Please use GDB to get a debug backtrace. All is explained here :

https://www.digikam.org/contribute/

Gilles Caulier
Comment 2 Maik Qualmann 2019-04-13 17:27:48 UTC
Git commit 653b09ef682917b76f6077445bc160d2c82ff84f by Maik Qualmann.
Committed on 13/04/2019 at 17:26.
Pushed by mqualmann into branch 'master'.

create KIconDialog on the heap
Related: bug 402914

M  +7    -5    core/libs/tags/manager/tagpropwidget.cpp
M  +4    -3    core/libs/tags/widgets/tageditdlg.cpp

https://commits.kde.org/digikam/653b09ef682917b76f6077445bc160d2c82ff84f
Comment 3 Maik Qualmann 2019-05-22 09:49:21 UTC
Can you reproduce the dysfunction using 6.2.0 pre-release package for MacOSX available here :

https://files.kde.org/digikam/

Thanks in advance

Maik
Comment 4 caulier.gilles 2020-01-12 13:02:38 UTC
Not reproducible with 7.0.0-beta2 based on Qt 5.14.0

Gilles Caulier