Bug 302972 - SIP account entry in KDE Telepathy Contact List inoperable
Summary: SIP account entry in KDE Telepathy Contact List inoperable
Status: RESOLVED DOWNSTREAM
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: accounts-kcm (show other bugs)
Version: 0.4.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-03 17:16 UTC by Bucky
Modified: 2012-07-24 08:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
What happens when you click "Use Proxy" (26.17 KB, image/png)
2012-07-03 21:36 UTC, Bucky
Details
What happens when you try to type into "authdomain" (27.49 KB, image/png)
2012-07-03 21:38 UTC, Bucky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bucky 2012-07-03 17:16:36 UTC
Application: ktp-contactlist (0.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.4.4-3.fc17.x86_64 x86_64
Distribution: "Fedora release 17 (Beefy Miracle)"

-- Information about the crash:
"inoperable" may perhaps be translated as "Confusing to the point that I am unable to use it."

- What I was doing when the application crashed:

Trying to configure a SIP account in the KDE Telepathy Contact list.

Although my SIP credentials work fine in LinPhone, they completely fail in the Telepathy presence client. Moreover, the Add Account/Edit Account popup window twists about wildly and often illegibly (options move or vanish, text overlaps) as I attempt to enter host, realm, login, and password (named proxy, authdomain, authuser, and password in the preferences box).

-- Backtrace:
Application: KDE Telepathy Contact List (ktp-contactlist), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x0000000002434f70 in ?? ()
#7  0x0000003a91f8c4d1 in QObject::disconnect (sender=0x25117e0, signal=0x25f3009 "rowsInserted(QModelIndex,int,int)", receiver=0x23fd3c0, method=0x313f219 "_k_slotRowsInserted(QModelIndex,int,int)") at kernel/qobject.cpp:2891
#8  0x0000003948a28abd in eventFilter (event=0x7ffffe0120a0, watched=0x24dbd50, this=0x2511290) at /usr/src/debug/kdelibs-4.8.4/kdeui/itemviews/kwidgetitemdelegate.cpp:253
#9  KWidgetItemDelegatePrivate::eventFilter (this=0x2511290, watched=0x24dbd50, event=0x7ffffe0120a0) at /usr/src/debug/kdelibs-4.8.4/kdeui/itemviews/kwidgetitemdelegate.cpp:236
#10 0x0000003a91f76556 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x24dbd50, event=0x7ffffe0120a0) at kernel/qcoreapplication.cpp:1025
#11 0x0000003946fca34c in QApplicationPrivate::notify_helper (this=this@entry=0x1683ba0, receiver=receiver@entry=0x24dbd50, e=e@entry=0x7ffffe0120a0) at kernel/qapplication.cpp:4547
#12 0x0000003946fce7fa in QApplication::notify (this=0x7ffffe016d20, receiver=0x24dbd50, e=0x7ffffe0120a0) at kernel/qapplication.cpp:4412
#13 0x0000003948a46756 in KApplication::notify (this=0x7ffffe016d20, receiver=0x24dbd50, event=0x7ffffe0120a0) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#14 0x0000003a91f763ee in QCoreApplication::notifyInternal (this=0x7ffffe016d20, receiver=0x24dbd50, event=0x7ffffe0120a0) at kernel/qcoreapplication.cpp:915
#15 0x0000003947011290 in sendEvent (event=0x7ffffe0120a0, receiver=0x24dbd50) at ../../src/corelib/kernel/qcoreapplication.h:231
#16 QWidgetPrivate::setWinId (this=0x245e760, id=0) at kernel/qwidget.cpp:1731
#17 0x0000003947060de2 in QWidget::destroy (this=0x24dbd50, destroyWindow=true, destroySubWindows=<optimized out>) at kernel/qwidget_x11.cpp:1100
#18 0x0000003947013f3d in QWidget::~QWidget (this=0x24dbd50, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1686
#19 0x0000003947014269 in QWidget::~QWidget (this=0x24dbd50, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1701
#20 0x0000003a91f88a32 in QObjectPrivate::deleteChildren (this=0x2874230) at kernel/qobject.cpp:1908
#21 0x0000003947013f14 in QWidget::~QWidget (this=0x242a160, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#22 0x00000039474ecec9 in QListView::~QListView (this=0x242a160, __in_chrg=<optimized out>) at itemviews/qlistview.cpp:207
#23 0x0000003a91f88a32 in QObjectPrivate::deleteChildren (this=0x2399f50) at kernel/qobject.cpp:1908
#24 0x0000003947013f14 in QWidget::~QWidget (this=0x16ebd30, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#25 0x00007f984d2f3af9 in ParameterEditWidget::~ParameterEditWidget() () from /lib64/libktpaccountskcminternal.so.4
#26 0x0000003a91f88a32 in QObjectPrivate::deleteChildren (this=0x25630c0) at kernel/qobject.cpp:1908
#27 0x0000003947013f14 in QWidget::~QWidget (this=0x2135360, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#28 0x00007f984d2ef039 in AccountEditWidget::~AccountEditWidget() () from /lib64/libktpaccountskcminternal.so.4
#29 0x0000003a91f88a32 in QObjectPrivate::deleteChildren (this=0x250ebe0) at kernel/qobject.cpp:1908
#30 0x0000003947013f14 in QWidget::~QWidget (this=0x7ffffe0126f0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1677
#31 0x00007f984d51faab in ?? () from /usr/lib64/kde4/kcm_ktp_accounts.so
#32 0x0000003a91f8cb9f in QMetaObject::activate (sender=0x20989e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffe012880) at kernel/qobject.cpp:3547
#33 0x000000394762ece2 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#34 0x0000003947382fde in QAbstractButtonPrivate::emitClicked (this=this@entry=0x2098a20) at widgets/qabstractbutton.cpp:548
#35 0x00000039473835e0 in QAbstractButtonPrivate::click (this=this@entry=0x2098a20) at widgets/qabstractbutton.cpp:541
#36 0x000000394738384c in QAbstractButton::mouseReleaseEvent (this=0x20989e0, e=0x7ffffe013120) at widgets/qabstractbutton.cpp:1123
#37 0x0000003947019b50 in QWidget::event (this=0x20989e0, event=0x7ffffe013120) at kernel/qwidget.cpp:8371
#38 0x0000003946fca37c in QApplicationPrivate::notify_helper (this=this@entry=0x1683ba0, receiver=receiver@entry=0x20989e0, e=e@entry=0x7ffffe013120) at kernel/qapplication.cpp:4551
#39 0x0000003946fcf05b in QApplication::notify (this=<optimized out>, receiver=0x20989e0, e=0x7ffffe013120) at kernel/qapplication.cpp:4094
#40 0x0000003948a46756 in KApplication::notify (this=0x7ffffe016d20, receiver=0x20989e0, event=0x7ffffe013120) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#41 0x0000003a91f763ee in QCoreApplication::notifyInternal (this=0x7ffffe016d20, receiver=0x20989e0, event=0x7ffffe013120) at kernel/qcoreapplication.cpp:915
#42 0x0000003946fcb1bb in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#43 QApplicationPrivate::sendMouseEvent (receiver=0x20989e0, event=0x7ffffe013120, alienWidget=0x0, nativeWidget=0x20989e0, buttonDown=0x3947a9dd68, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162
#44 0x0000003947045894 in QETWidget::translateMouseEvent (this=this@entry=0x20989e0, event=event@entry=0x7ffffe013890) at kernel/qapplication_x11.cpp:4523
#45 0x0000003947044621 in QApplication::x11ProcessEvent (this=0x7ffffe016d20, event=0x7ffffe013890) at kernel/qapplication_x11.cpp:3646
#46 0x000000394706a60c in x11EventSourceDispatch (s=s@entry=0x1674d00, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#47 0x00000037ad4476e5 in g_main_dispatch (context=0x1674b40) at gmain.c:2539
#48 g_main_context_dispatch (context=context@entry=0x1674b40) at gmain.c:3075
#49 0x00000037ad447a18 in g_main_context_iterate (context=context@entry=0x1674b40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#50 0x00000037ad447ad4 in g_main_context_iteration (context=0x1674b40, may_block=1) at gmain.c:3207
#51 0x0000003a91fa44e6 in QEventDispatcherGlib::processEvents (this=0x163d990, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#52 0x000000394706a2ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#53 0x0000003a91f7513f in QEventLoop::processEvents (this=this@entry=0x7ffffe013c70, flags=...) at kernel/qeventloop.cpp:149
#54 0x0000003a91f753c8 in QEventLoop::exec (this=0x7ffffe013c70, flags=...) at kernel/qeventloop.cpp:204
#55 0x000000394747d2c8 in QDialog::exec (this=0x1f11f60) at dialogs/qdialog.cpp:554
#56 0x0000000000421bfb in _start ()

Possible duplicates by query: bug 296373.

Reported using DrKonqi
Comment 1 David Edmundson 2012-07-03 21:29:47 UTC
>Edit Account popup window twists about wildly and often illegibly (options move or vanish, text overlaps)

Screenshot please.
Comment 2 Bucky 2012-07-03 21:36:48 UTC
Created attachment 72312 [details]
What happens when you click "Use Proxy"
Comment 3 Bucky 2012-07-03 21:38:37 UTC
Created attachment 72313 [details]
What happens when you try to type into "authdomain"

The first character will be entered into the "authdomain" box.
The second character will be added to the "account" box.
Clicking on "authdomain" again makes "authdomain" vanish entirely (as shown).
Comment 4 Bucky 2012-07-03 21:44:18 UTC
Clicking "finish" and opening the account again will let the fields behave -- Except that "Account" will change to to the text "true" if you click on it.

If you try to replace the text, "true," the first character will be appended to "true," and subsequent characters will be prepended as you type.

If you try again, the "Account" value will be replaced with the "proxy" value, and the typing weirdness repeats.

If you try again, you can change "Account" to a string of your choosing.

This happens every time you create a NEW sip account.
Comment 5 David Edmundson 2012-07-03 23:10:38 UTC
Moving to accounts-KCM, where the crash actually occurs. 

Marking as confirmed due to screenshot.

Do you know which backend for SIP you are using? Could you post the output of 
"ls /usr/share/telepathy/managers". and/or tell us if you have telepathy-rakia or telepathy-sofia installed.

To give you some context, you're going back to the fallback UI for the protocol because our plugins don't know how to handle this protocol. We support SIP, but telepathy has two SIP backends, and I think we're supporting the (now) outdated one.
This autogenerated UI is always rubbish, but should still be working/not look this bad.

I want to:
1) fix why you're getting the fallback UI (which will be tracked in this bug)
2) fix the fallback UI as it will come up again in future. (split into different bugs for tracking)
2.1) https://bugs.kde.org/show_bug.cgi?id=302989
2.2)  https://bugs.kde.org/show_bug.cgi?id=302990
Comment 6 Bucky 2012-07-03 23:38:49 UTC
$ ls /usr/share/telepathy/managers
gabble.manager  idle.manager  salut.manager

I do NOT have telepathy-rakia installed.
I DO have telepathy-haze installed.
Comment 7 Daniele E. Domenichelli 2012-07-08 20:29:16 UTC
You are trying to setup a sip account using haze, you should install rakia instead.
Since rakia is not installed, you receive the auto-generated UI for sip using haze, I don't know what causes the crash and the the overlapping problems, though.
Anyway, please install telepathy-rakia and try again
Comment 8 Bucky 2012-07-08 23:23:34 UTC
I like the way you think. Actually, as soon as I saw Comment #5, this is exactly what I tried.

The UI changed a bit (more line items), but the behavior was pretty much exactly the same (the first checkbox creates an overlay situation like Attachment 72312 [details] when you click on it, just like before, and the second text box vanishes when you click on it, just like Attachment 72313 [details]).

I can attach new screen shots if you like.

I should note, for clarity, that the Empathy account UI looks very different. My impression is that they're supposed to look the same...? And I'm getting the "fallback UI" for some reason in the plasmoid?
Comment 9 Daniele E. Domenichelli 2012-07-09 09:03:23 UTC
This is what the sip configuration ui is supposed to look like: http://wstaw.org/m/2012/07/09/snapshot76.png

A few suggestions:

Check if those files are installed:
/usr/lib/kde4/ktpaccountskcm_plugin_rakia.so
/usr/share/kde4/services/ktpaccountskcm_plugin_rakia.desktop
(paths might be slightly different on fedora)
If those are missing, it is a bug in your distro packaging

You must have restarted dbus and telepathy-mission-control to be sure that everything is loaded correctly, the easiest way to do this is to logout and log back in.
Comment 10 Bucky 2012-07-09 14:29:43 UTC
Aha! BOTH files are missing (They are not listed in these locations or any other locations when I do an "rpm -ql telepathy-rakia," and "locate ktpaccountskcm_plugin_rakia.so" and "locate ktpaccountskcm_plugin_rakia.desktop" each give me a whole lot of nothing).

I have submitted:

https://bugzilla.redhat.com/show_bug.cgi?id=838585
Comment 11 Daniele E. Domenichelli 2012-07-09 14:38:33 UTC
Cool, I'm closing this since it was reported downstream.
Please reopen this if after the package is fixed in fedora you still have this problem.