Bug 421361 - Removing a keyboard shortcut crashes Digikam
Summary: Removing a keyboard shortcut crashes Digikam
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-AppImage (show other bugs)
Version: 7.0.0
Platform: Appimage Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-11 18:51 UTC by Jens
Modified: 2020-08-10 10:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens 2020-05-11 18:51:34 UTC
SUMMARY
See $SUBJECT

STEPS TO REPRODUCE
1. open keyboard shortcut manager
2. click on any shortcut
3. click on "user defined" radiobutton

OBSERVED RESULT
Digikam crashes.

Console output:
Digikam::TagsActionMngr::updateTagShortcut: Tag Shortcut  222 Changed to  QKeySequence("")
/tmp/.mount_digikaEQJrKL/AppRun: Zeile 157: 21616 Speicherzugriffsfehler  digikam $@

This is 100% reproducable.


EXPECTED RESULT
Should not crash.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  up to date KDE Neon with Digikam 7.0 rc2 appimage.

./Applications/digikam-7.0.0-rc-20200430T093735-x86-64_16c3b542e3abb7814b5c985a43a68641.appimage
Comment 1 caulier.gilles 2020-05-11 20:11:15 UTC
Start the AppImage from a console using the "debug" argument. This will rune digiKam in GDB where you can capture a backtrace of the crash.

Note : if you use the appimage file with "-debug" in file name, the backtrace will be better as this bundle include all debug symbols.

Gilles Caulier
Comment 2 Maik Qualmann 2020-05-11 20:41:18 UTC
Git commit 4d66ad00c8cd9d888b6b05eb241c9da35da64c76 by Maik Qualmann.
Committed on 11/05/2020 at 20:38.
Pushed by mqualmann into branch 'master'.

do not delete QAction via sender from the dialog
The QAction will later be deleted in the dialog.
FIXED-IN: 7.0.0

M  +2    -1    NEWS
M  +9    -6    core/libs/tags/engine/tagsactionmngr.cpp
M  +2    -2    core/libs/tags/engine/tagsactionmngr.h

https://invent.kde.org/kde/digikam/commit/4d66ad00c8cd9d888b6b05eb241c9da35da64c76