https://bugs.kde.org/show_bug.cgi?id=447522

--- Comment #3 from Dmitry Kazakov <dimul...@gmail.com> ---
This is the backtrace of the view switching accident. It looks like when we
switch the view, the tool option widget doesn't switch the associated view.

Thread 1 (Thread 1544.0x2778):
#0  KisViewManager::setCurrentView (this=0x168d6960,
view=view@entry=0x2a56ec90) at
C:/dev/env-10/krita/libs/ui/KisViewManager.cpp:399
        first = true
        imageView = {wp = {d = 0x2a0bd900, value = 0x2448dc90}}
#1  0x00007ffa5b0b0b03 in KisMainWindow::setActiveView
(this=this@entry=0x14cd6b00, view=view@entry=0x2a56ec90) at
C:/dev/env-10/krita/libs/ui/KisMainWindow.cpp:1599
No locals.
#2  0x00007ffa5b0bad78 in KisMainWindow::setActiveSubWindow
(this=this@entry=0x14cd6b00, window=<optimized out>) at
C:/dev/env-10/krita/libs/ui/KisMainWindow.cpp:2673
        view = 0x2a56ec90
        subwin = 0x387bac30
#3  0x00007ffa5b0bbef1 in KisMainWindow::setActiveSubWindow (window=<optimized
out>, this=0x14cd6b00) at C:/dev/env-10/krita/libs/ui/KisMainWindow.cpp:2664
        subwin = <optimized out>
        subwin = <optimized out>
        view = <optimized out>
#4  KisMainWindow::subWindowActivated (this=0x14cd6b00) at
C:/dev/env-10/krita/libs/ui/KisMainWindow.cpp:2434
        enabled = <optimized out>
        subWindow = <optimized out>
#5  0x00007ffa5b0c2229 in KisMainWindow::qt_static_metacall (_o=<optimized
out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at
libs/ui/kritaui_autogen/include/moc_KisMainWindow.cpp:386
        _t = <optimized out>
#6  0x00007ffa7f9e92b8 in QMetaObject::activate(QObject*, int, int, void**) ()
from C:\dev\env-10\i\bin\Qt5Core.dll
No symbol table info available.
#7  0x00007ffa7ed63566 in QMdiArea::childEvent(QChildEvent*) () from
C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#8  0x00007ffa7ed64235 in QMdiArea::scrollContentsBy(int, int) () from
C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#9  0x00007ffa7ed65028 in QMdiArea::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) () from C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#10 0x00007ffa7f9e92b8 in QMetaObject::activate(QObject*, int, int, void**) ()
from C:\dev\env-10\i\bin\Qt5Core.dll
No symbol table info available.
#11 0x00007ffa7ed6fab0 in QMdiSubWindow::qt_metacast(char const*) () from
C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#12 0x00007ffa7ed6fd47 in QMdiSubWindow::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) () from C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#13 0x00007ffa7f9e92b8 in QMetaObject::activate(QObject*, int, int, void**) ()
from C:\dev\env-10\i\bin\Qt5Core.dll
No symbol table info available.
#14 0x00007ffa7ec2c71f in QApplicationPrivate::setFocusWidget(QWidget*,
Qt::FocusReason) () from C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#15 0x00007ffa7ec5fd9c in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) () from C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#16 0x00007ffa7ec609f1 in QWidget::focusNextPrevChild(bool) () from
C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#17 0x00007ffa7ec608e7 in QWidget::focusNextPrevChild(bool) () from
C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#18 0x00007ffa7ec608e7 in QWidget::focusNextPrevChild(bool) () from
C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#19 0x00007ffa7ed8d771 in QScrollArea::focusNextPrevChild(bool) () from
C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#20 0x00007ffa7ec608e7 in QWidget::focusNextPrevChild(bool) () from
C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#21 0x00007ffa7ec608e7 in QWidget::focusNextPrevChild(bool) () from
C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#22 0x00007ffa7ec608e7 in QWidget::focusNextPrevChild(bool) () from
C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#23 0x00007ffa7ec608e7 in QWidget::focusNextPrevChild(bool) () from
C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#24 0x00007ffa7ec608e7 in QWidget::focusNextPrevChild(bool) () from
C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#25 0x00007ffa7ec605d3 in QWidgetPrivate::setEnabled_helper(bool) () from
C:\dev\env-10\i\bin\Qt5Widgets.dll
No symbol table info available.
#26 0x00007ffa20f66e58 in
KisToolLazyBrushOptionsWidget::slotCurrentFgColorChanged (this=0x2a57e410,
color=...) at
C:/dev/env-10/krita/plugins/tools/tool_lazybrush/kis_tool_lazy_brush_options_widget.cpp:208
        found = false
        candidateIdx = {r = 2140663360, c = 0, i = 1076867512, m = 0x2a57fc90}
        newIndex = {r = 347382352, c = 0, i = 18446462598732840960, m = 0x0}
#27 0x00007ffa20f69196 in KisToolLazyBrushOptionsWidget::slotColorLabelsChanged
(this=0x2a57e410) at
C:/dev/env-10/krita/plugins/tools/tool_lazybrush/kis_tool_lazy_brush_options_widget.cpp:242
No locals.
#28 0x00007ffa20f618a5 in KisToolLazyBrushOptionsWidget::qt_static_metacall
(_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized
out>) at
plugins/tools/tool_lazybrush/kritatoollazybrush_autogen/EWIEGA46WW/moc_kis_tool_lazy_brush_options_widget.cpp:138
        _t = <optimized out>
#29 0x00007ffa7f9ea05a in QObject::event(QEvent*) () from
C:\dev\env-10\i\bin\Qt5Core.dll
No symbol table info available.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to