Bug 155109

Summary: Crash on trying to change shortcut while KDE is in French
Product: [Applications] systemsettings Reporter: Anne-Marie Mahfouf <annma>
Component: kcm_keysAssignee: Ellis Whitehead <ellis>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: the vew is messed if I double click on an action name

Description Anne-Marie Mahfouf 2008-01-04 21:09:55 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

My KDE is using the French language. In System Settings, General tab, Keyboard and Mouse, Keyboard Shortcuts, I get a crash when trying to edit a shortcut to change it

 [?1034hUsing host libthread_db library "/lib/i686/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1236953392 (LWP 7574)]
[KCrash handler]
#6  0xb7071a48 in QTreeWidgetItem::parent (this=0x1708)
    at itemviews/qtreewidget.h:175
#7  0xb7067f83 in QTreeModel::index (this=0x84a8130, item=0x1708, column=0)
    at itemviews/qtreewidget.cpp:223
#8  0xb7068061 in QTreeModel::parent (this=0x84a8130, child=@0x82cb904)
    at itemviews/qtreewidget.cpp:272
#9  0xb7a5e038 in QModelIndex::parent (this=0x82cb904)
    at /usr/local/kde4-src/qt-copy/include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:350
#10 0xb7a988d5 in KShortcutsEditorDelegate::itemActivated (this=0x82cb8f8, 
    index=@0xbfe614d0)
    at /usr/local/kde4-src/kdelibs/kdeui/dialogs/kshortcutsdialog.cpp:242
#11 0xb7a98e4f in KShortcutsEditorDelegate::qt_metacall (this=0x82cb8f8, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfe619dc)
    at /usr/local/kde4-src/kdelibs/build/kdeui/kshortcutsdialog_p.moc:79
#12 0xb7f62ad6 in QMetaObject::activate (sender=0x810b650, 
    from_signal_index=34, to_signal_index=34, argv=0xbfe619dc)
    at kernel/qobject.cpp:3087
#13 0xb7f634e1 in QMetaObject::activate (sender=0x810b650, m=0xb71a0f24, 
    local_signal_index=3, argv=0xbfe619dc) at kernel/qobject.cpp:3149
#14 0xb6ff83d0 in QAbstractItemView::activated (this=0x810b650, _t1=@0x84eebc0)
    at .moc/debug-shared/moc_qabstractitemview.cpp:323
#15 0xb703c369 in QTreeView::mouseDoubleClickEvent (this=0x810b650, 
    event=0xbfe623e8) at itemviews/qtreeview.cpp:1631
#16 0xb6ba0595 in QWidget::event (this=0x810b650, event=0xbfe623e8)
    at kernel/qwidget.cpp:6142
#17 0xb6ee42a8 in QFrame::event (this=0x810b650, e=0xbfe623e8)
    at widgets/qframe.cpp:655
#18 0xb6f76d39 in QAbstractScrollArea::viewportEvent (this=0x810b650, 
    e=0xbfe623e8) at widgets/qabstractscrollarea.cpp:924
#19 0xb7001232 in QAbstractItemView::viewportEvent (this=0x810b650, 
    event=0xbfe623e8) at itemviews/qabstractitemview.cpp:1369
#20 0xb70395e6 in QTreeView::viewportEvent (this=0x810b650, event=0xbfe623e8)
    at itemviews/qtreeview.cpp:1203
#21 0xb6f79812 in QAbstractScrollAreaPrivate::viewportEvent (this=0x84a4770, 
    event=0xbfe623e8) at widgets/qabstractscrollarea_p.h:93
#22 0xb6f79844 in QAbstractScrollAreaFilter::eventFilter (this=0x84a5e28, 
    o=0x84a5ce0, e=0xbfe623e8) at widgets/qabstractscrollarea_p.h:104
#23 0xb6b4dd52 in QApplicationPrivate::notify_helper (this=0x8087268, 
    receiver=0x84a5ce0, e=0xbfe623e8) at kernel/qapplication.cpp:3548
#24 0xb6b4e9ae in QApplication::notify (this=0xbfe62b00, receiver=0x84a5ce0, 
    e=0xbfe623e8) at kernel/qapplication.cpp:3255
#25 0xb7aecdd1 in KApplication::notify (this=0xbfe62b00, receiver=0x84a5ce0, 
    event=0xbfe623e8)
    at /usr/local/kde4-src/kdelibs/kdeui/kernel/kapplication.cpp:314
#26 0xb7f4e9c4 in QCoreApplication::notifyInternal (this=0xbfe62b00, 
    receiver=0x84a5ce0, event=0xbfe623e8) at kernel/qcoreapplication.cpp:530
#27 0xb6b591a3 in QCoreApplication::sendSpontaneousEvent (receiver=0x84a5ce0, 
    event=0xbfe623e8)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:203
#28 0xb6bbdde3 in QETWidget::translateMouseEvent (this=0x84a5ce0, 
    event=0xbfe62850) at kernel/qapplication_x11.cpp:3867
#29 0xb6bbbafb in QApplication::x11ProcessEvent (this=0xbfe62b00, 
    event=0xbfe62850) at kernel/qapplication_x11.cpp:2918
#30 0xb6be582a in x11EventSourceDispatch (s=0x808a080, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:135
#31 0xb66e3932 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb66e6d44 in QAbstractItemModel::sort ()
    at kernel/qabstractitemmodel.cpp:1703
#33 0xb66e724c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb7f781f0 in QEventDispatcherGlib::processEvents (this=0x8086f38, 
    flags=@0xbfe629f8) at kernel/qeventdispatcher_glib.cpp:338
#35 0xb6be50d0 in QGuiEventDispatcherGlib::processEvents (this=0x8086f38, 
    flags=@0xbfe62a2c) at kernel/qguieventdispatcher_glib.cpp:191
#36 0xb7f4b8a6 in QEventLoop::processEvents (this=0xbfe62aa0, 
    flags=@0xbfe62a64) at kernel/qeventloop.cpp:140
#37 0xb7f4ba28 in QEventLoop::exec (this=0xbfe62aa0, flags=@0xbfe62aa8)
    at kernel/qeventloop.cpp:182
#38 0xb7f4f111 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:759
#39 0xb6b4d95a in QApplication::exec () at kernel/qapplication.cpp:3053
#40 0x0805c337 in main (argc=134680236, argv=0x8125000)
    at /usr/local/kde4-src/kdebase/workspace/systemsettings/main.cpp:64
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Anne-Marie Mahfouf 2008-01-04 21:15:57 UTC
This is in fact when I double click on the action, not on the small arrow. For kwin, double clicking on the action name just messes the view, for plasma it crashes with the above bt.
Comment 2 Anne-Marie Mahfouf 2008-01-04 21:20:19 UTC
Created attachment 22840 [details]
the vew is messed if I double click on an action name

that's for kwin. for plasma, double clicking on a shortcut label makes it crash
Comment 3 Anne-Marie Mahfouf 2008-01-04 21:28:20 UTC
Also note that all shortcuts are set to Custom and None.

This is svn today 4th January 2008 with a clean KDEHOME
Comment 4 Anne-Marie Mahfouf 2008-01-04 21:46:28 UTC
Ok, several bugs.

- all shortcuts set to Custom - None can be fixed by reverting 757034
http://lists.kde.org/?l=kde-commits&m=119940499808899&w=2

- the view is still messed up and the crash still stays though

Comment 5 Raúl 2008-01-22 00:42:54 UTC
I have just bumped into this bug. Debian experimental packages for 4.0.0. But I'm not using l10n. And this happened while I was trying to reproduce http://bugs.kde.org/show_bug.cgi?id=156353
Comment 6 Michael Jansen 2008-02-22 02:13:33 UTC
I would guess that the bug is fixed with latest svn. If so please mark it as a duplicate of http://bugs.kde.org/show_bug.cgi?id=154647.
Comment 7 Anne-Marie Mahfouf 2008-02-23 13:55:53 UTC

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