Bug 198201 - digiKam do not work after changing theme
Summary: digiKam do not work after changing theme
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Themes (show other bugs)
Version: 1.0.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-28 19:56 UTC by Tobias Schula
Modified: 2023-05-22 06:01 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Schula 2009-06-28 19:56:44 UTC
Application that crashed: digikamthemedesigner
Version of the application: 0.11.0-svn (rev.: 955139)
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.1
Operating System: Linux 2.6.30-020630-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I opened the DLR theme ,changed its colors a bit and saved it. After pressing the close button the program crashed.

 -- Backtrace:
Application: digiKam-Designer (digikamthemedesigner), signal: Aborted
[KCrash Handler]
#5  0x00007f2c3f575fb5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f2c3f577bc3 in *__GI_abort () at abort.c:88
#7  0x00007f2c3f5bace0 in malloc_printerr (action=2, str=0x7f2c3f67ca86 "free(): invalid pointer", ptr=0x40f6) at malloc.c:5999
#8  0x00007f2c460d27fe in ~ImagePropertiesTab (this=0x125f500) at /home/tobias/digikam/graphics/digikam/libs/imageproperties/imagepropertiestab.cpp:292
#9  0x00007f2c401b5871 in QObjectPrivate::deleteChildren (this=0x126d430) at kernel/qobject.cpp:1854
#10 0x00007f2c40d70072 in ~QWidget (this=0x12674d0) at kernel/qwidget.cpp:1366
#11 0x00007f2c41172ec8 in ~QSplitter (this=0x12674d0) at widgets/qsplitter.cpp:1008
#12 0x00007f2c401b5871 in QObjectPrivate::deleteChildren (this=0x1230c00) at kernel/qobject.cpp:1854
#13 0x00007f2c40d70072 in ~QWidget (this=0x1230b20) at kernel/qwidget.cpp:1366
#14 0x000000000074d66b in ~MainWindow (this=0x1230b20) at /home/tobias/digikam/graphics/digikam/themedesigner/mainwindow.cpp:267
#15 0x00007f2c401b6f45 in QObject::event (this=0x1230b20, e=0x40f6) at kernel/qobject.cpp:1101
#16 0x00007f2c40d7461d in QWidget::event (this=0x1230b20, event=0x18bfdd0) at kernel/qwidget.cpp:7918
#17 0x00007f2c40d23b9d in QApplicationPrivate::notify_helper (this=0x1107df0, receiver=0x1230b20, e=0x18bfdd0) at kernel/qapplication.cpp:4057
#18 0x00007f2c40d2bdea in QApplication::notify (this=0x7fff2b04f040, receiver=0x1230b20, e=0x18bfdd0) at kernel/qapplication.cpp:4022
#19 0x00007f2c4215306b in KApplication::notify (this=0x7fff2b04f040, receiver=0x1230b20, event=0x18bfdd0) at /build/buildd/kde4libs-4.2.90/kdeui/kernel/kapplication.cpp:302
#20 0x00007f2c401a6dfc in QCoreApplication::notifyInternal (this=0x7fff2b04f040, receiver=0x1230b20, event=0x18bfdd0) at kernel/qcoreapplication.cpp:610
#21 0x00007f2c401a7a6a in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x10d8560) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#22 0x00007f2c401d08a3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#23 0x00007f2c38e3a20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00007f2c38e3d8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00007f2c38e3da7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00007f2c401d052f in QEventDispatcherGlib::processEvents (this=0x10d7d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:324
#27 0x00007f2c40dbc70f in QGuiEventDispatcherGlib::processEvents (this=0x40f6, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#28 0x00007f2c401a56a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 721743664}) at kernel/qeventloop.cpp:149
#29 0x00007f2c401a5a6d in QEventLoop::exec (this=0x7fff2b04ef70, flags={i = 721743744}) at kernel/qeventloop.cpp:200
#30 0x00007f2c401a7d34 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#31 0x000000000074b34b in main (argc=1, argv=0x7fff2b04f2b8) at /home/tobias/digikam/graphics/digikam/themedesigner/main.cpp:70

Reported using DrKonqi
Comment 1 Andi Clemens 2009-09-28 15:10:41 UTC
I changed some code in the themedesigner (it didn't compile at all).
Maybe you can give it a try again with the latest SVN version?
Comment 2 Marcel Wiesweg 2009-11-27 19:21:01 UTC
Very old alpha version, KDE beta version, no activity.
Comment 3 caulier.gilles 2023-05-21 06:43:31 UTC
Git commit 7cc7f53b39c9f374ab4a5ef297b41b08dbed062a by Gilles Caulier.
Committed on 21/05/2023 at 05:17.
Pushed by cgilles into branch 'master'.

Start to support Breeze style from Plasma desktop in digiKam bundles to prevent
a broken rendereing of widgets and icons when breeze theme is used.
Intentional: this do not includes decoration and kcm parts, only the core libs
plus theme files --> these implementations must be available as a KF5
component, not in Plasma
A KDE application ALSO work under MacOS and Windows, not ONLY Linux. As usual,
reduce the puzzle please.
Related: bug 385148, bug 470066, bug 406408

M  +67   -2    project/bundles/3rdparty/CMakeLists.txt [INFRASTRUCTURE]
[INFRASTRUCTURE] [INFRASTRUCTURE]
A  +98   -0    project/bundles/3rdparty/ext_breeze/CMakeLists.txt
[INFRASTRUCTURE] [INFRASTRUCTURE] [INFRASTRUCTURE]
A  +32   -0    project/bundles/3rdparty/ext_breeze/breeze-common-rules.patch
M  +4    -1    project/bundles/appimage/02-build-extralibs.sh
M  +5    -1    project/bundles/appimage/config.sh [INFRASTRUCTURE]
M  +5    -1    project/bundles/macports/02-build-extralibs.sh
M  +7    -1    project/bundles/macports/config.sh [INFRASTRUCTURE]
[INFRASTRUCTURE] [INFRASTRUCTURE]
M  +5    -1    project/bundles/mxe/02-build-extralibs.sh
M  +6    -0    project/bundles/mxe/config.sh [INFRASTRUCTURE] [INFRASTRUCTURE]
[INFRASTRUCTURE]
A  +29   -0    project/scripts/bootstrap-breeze.sh

https://invent.kde.org/graphics/digikam/commit/7cc7f53b39c9f374ab4a5ef297b41b08dbed062a
Comment 4 caulier.gilles 2023-05-21 08:04:12 UTC
Git commit 9e8718d743bbbb588fef78ea48b28d8257eb5000 by Gilles Caulier.
Committed on 21/05/2023 at 08:01.
Pushed by cgilles into branch 'master'.

Enable widget styles support under MacOS
Related: bug 385148, bug 470066, bug 406408, bug 414428, bug 279183, bug 413748, bug 410501, bug 262702

M  +1    -0    project/bundles/macports/03-build-digikam.sh

https://invent.kde.org/graphics/digikam/commit/9e8718d743bbbb588fef78ea48b28d8257eb5000
Comment 5 caulier.gilles 2023-05-22 02:55:38 UTC
digiKam 8.1.0 AppImage bundle will provide the Breeze widgets style to render properly all the GUI under Linux.

Select Breeze style/Icons set in Setup/Miscs dialog page.

https://i.imgur.com/nqL5Iak.png

Best

Gilles Caulier
Comment 6 caulier.gilles 2023-05-22 05:37:50 UTC
Git commit da88685a35b3d809bca11a8c65582015b9ce4f55 by Gilles Caulier.
Committed on 22/05/2023 at 05:34.
Pushed by cgilles into branch 'master'.

Switch to Breeze widgets style by default
Related: bug 365262, bug 221065, bug 414428, bug 279183, bug 381855, bug 262702, bug 385148, bug 436259, bug 470066, bug 413748, bug 413879, bug 406408, bug 410501

M  +5    -5    NEWS
M  +2    -2    core/libs/settings/applicationsettings.cpp
M  +2    -2    core/showfoto/main/showfotosettings.cpp
M  +1    -1    core/tests/video/qtav/avplayer/main/MainWindow.cpp

https://invent.kde.org/graphics/digikam/commit/da88685a35b3d809bca11a8c65582015b9ce4f55
Comment 7 caulier.gilles 2023-05-22 06:01:13 UTC
Git commit a7c475aa49fea92d8b7735b7f39381b18bb58fe9 by Gilles Caulier.
Committed on 22/05/2023 at 05:58.
Pushed by cgilles into branch 'master'.

digiKam online documentation: Recommend "Brezze" Widgets style and icons-set instead "Fusion" for all desktop.
Related: bug 365262, bug 221065, bug 414428, bug 279183, bug 381855, bug 262702, bug 385148, bug 436259, bug 470066, bug 413748, bug 413879, bug 406408, bug 410501

M  +2    -2    setup_application/miscs_settings.rst

https://invent.kde.org/documentation/digikam-doc/commit/a7c475aa49fea92d8b7735b7f39381b18bb58fe9