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

            Bug ID: 418587
           Summary: Assert when using the 'end' key while the zoom widget
                    is focussed.
           Product: krita
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Shortcuts and Canvas Input Settings
          Assignee: krita-bugs-n...@kde.org
          Reporter: griffinval...@gmail.com
  Target Milestone: ---

SUMMARY
I got this while I tried to press metakey+right, but instead pressed fn+right,
meaning the 'end' keycode was invoked. The zoom widget happened to be in focus.

This is in the resource branch, btw, but we must be doing something funny here.

STEPS TO REPRODUCE
1. focus zoom widget in the statusbar
2. press 'end'
3. get assert.


GDB Backtrace
=================================================
Thread 1 (Thread 0x7ffff7f88800 (LWP 10980)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff26e2801 in __GI_abort () at abort.c:79
#2  0x00007ffff30bacbb in QMessageLogger::fatal(char const*, ...) const () from
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff30ba50b in qt_assert_x(char const*, char const*, char const*,
int) ()
   from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff0da925b in QList<double>::operator[] (this=0x555560ac6a00, i=21)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:568
#5  0x00007ffff0da7d54 in KoZoomAction::sliderValueChanged
(this=0x555562ff7830, value=21)
    at /home/wolthera/krita/src/libs/widgets/KoZoomAction.cpp:224
#6  0x00007ffff0e38a42 in KoZoomAction::qt_static_metacall (_o=0x555562ff7830,
_c=QMetaObject::InvokeMetaMethod, _id=17, 
    _a=0x7fffffffd2f0) at
/home/wolthera/krita/build/libs/widgets/kritawidgets_autogen/EWIEGA46WW/moc_KoZoomAction.cpp:173
#7  0x00007ffff32f4805 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff0e3991d in KoZoomWidget::sliderValueChanged
(this=0x55556334fc00, _t1=21)
    at
/home/wolthera/krita/build/libs/widgets/kritawidgets_autogen/EWIEGA46WW/moc_KoZoomWidget.cpp:204
#9  0x00007ffff0e394b3 in KoZoomWidget::qt_static_metacall (_o=0x55556334fc00,
_c=QMetaObject::InvokeMetaMethod, _id=0, 
    _a=0x7fffffffd4a0) at
/home/wolthera/krita/build/libs/widgets/kritawidgets_autogen/EWIEGA46WW/moc_KoZoomWidget.cpp:109
#10 0x00007ffff32f4805 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff41b655e in QAbstractSlider::valueChanged(int) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff41b6bdb in QAbstractSlider::setValue(int) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff410a4e7 in QWidget::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#14 0x00007ffff425fcda in QSlider::event(QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff40c8eac in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ffff40d1562 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff6b79279 in KisApplication::notify (this=0x7fffffffe120,
receiver=0x55555f53d090, event=0x7fffffffdca0)
    at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:705
#18 0x00007ffff32c3e38 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff4127635 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff40c8eac in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff40d04b0 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff6b79279 in KisApplication::notify (this=0x7fffffffe120,
receiver=0x55555dc4b470, event=0x7fffffffdca0)
    at /home/wolthera/krita/src/libs/ui/KisApplication.cpp:705
#23 0x00007ffff32c3e38 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007ffff3893c5b in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#25 0x00007ffff38985c5 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#26 0x00007ffff387279b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#27 0x00007fffe2d1cdda in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#28 0x00007fffe9f6f417 in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007fffe9f6f650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fffe9f6f6dc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---

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

Reply via email to