Bug 392212 - Krita keeps crashing when I try to edit color palettes
Summary: Krita keeps crashing when I try to edit color palettes
Status: RESOLVED DUPLICATE of bug 392178
Alias: None
Product: krita
Classification: Applications
Component: Color models (show other bugs)
Version: 4.0 pre-alpha
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-23 02:06 UTC by lautay20
Modified: 2018-04-02 13:49 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lautay20 2018-03-23 02:06:48 UTC
This started happening yesterday. I'm working on a comic so I want to save a color palette, but it's really weird and finicky. Whenever I save a color to the palette it doesn't show up or it shows up with at least one other duplicate, and when I try to delete the duplicate it crashes. The same thing happens when I want to create a subgroup in the palette. I know that Krita changes its palette tool in the 4.0 version so I'm wondering if it could just be that they need to work out some kinks? 
Also a previous problem I had was that my color palettes kept on getting deleted. Is this because of the same issue?
Comment 1 wolthera 2018-03-23 09:32:17 UTC
Confirmed.

What is going on is that somehow the view doesn't update right, but I swore this worked the last time I touched the docker :/
Comment 2 Halla Rempt 2018-03-28 13:52:58 UTC
Backtrace:

Thread 1 (Thread 0x7f9a30155940 (LWP 4711)):
[KCrash Handler]
#6  0x00007f9a256002b3 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f9a255f9588 in QAbstractItemModelPrivate::rowsRemoved(QModelIndex const&, int, int) () at /usr/lib64/libQt5Core.so.5
#8  0x00007f9a255fc393 in QAbstractItemModel::endRemoveRows() () at /usr/lib64/libQt5Core.so.5
#9  0x00007f9a2fa38b65 in KisPaletteModel::removeEntry(QModelIndex, bool) (this=0xb1f7d80, index=..., keepColors=<optimized out>) at /home/boud/dev/krita/libs/ui/KisPaletteModel.cpp:399
#10 0x00007f9a2fa3e947 in KisPaletteView::removeEntryWithDialog(QModelIndex) (this=0xb1e5de0, index=...) at /home/boud/dev/krita/libs/ui/kis_palette_view.cpp:162
#11 0x00007f99f172069c in PaletteDockerDock::removeColor() (this=0xb1e3d60) at /home/boud/dev/krita/plugins/dockers/palettedocker/palettedocker_dock.cpp:253
#12 0x00007f99f172689d in PaletteDockerDock::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0xb1e3d60, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/boud/dev/b-krita/plugins/dockers/palettedocker/moc_palettedocker_dock.cpp:105
#13 0x00007f9a256755ef in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#14 0x00007f9a2665f792 in QAbstractButton::clicked(bool) () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f9a2665f99a in  () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f9a26660e93 in  () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f9a26661005 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f9a26732a7a in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007f9a265ab657 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007f9a26732b59 in QToolButton::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007f9a2656f7fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007f9a26576c7c in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#23 0x00007f9a2f9a9f97 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0xb1ee9a0, event=0x7fff7d994de0) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:620
#24 0x00007f9a2564b325 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#25 0x00007f9a26575af9 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007f9a265c3b4f in  () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007f9a265c6063 in  () at /usr/lib64/libQt5Widgets.so.5
#28 0x00007f9a2656f7fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#29 0x00007f9a265765e0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#30 0x00007f9a2f9a9f97 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x970d4c0, event=0x7fff7d9952a0) at /home/boud/dev/krita/libs/ui/KisApplication.cpp:620
#31 0x00007f9a2564b325 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#32 0x00007f9a25bc0b0d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#33 0x00007f9a25bc26c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#34 0x00007f9a25ba071b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#35 0x00007f9a1a15447b in  () at /usr/lib64/libQt5XcbQpa.so.5
#36 0x00007f9a25649a4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#37 0x00007f9a25652104 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#38 0x0000000000405555 in main(int, char**) (argc=1, argv=<optimized out>) at /home/boud/dev/krita/krita/main.cc:361
Comment 3 Halla Rempt 2018-03-28 14:09:40 UTC

*** This bug has been marked as a duplicate of bug 392178 ***