Bug 165183 - proper focus when changing metacontact
Summary: proper focus when changing metacontact
Status: RESOLVED WORKSFORME
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-28 12:03 UTC by Stephan Diederich
Modified: 2008-06-28 19:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Diederich 2008-06-28 12:03:42 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

When changing the metacontact through right-click-> <PROTOCOL> ->"Change Metacontact" a popup appears which does not have keyboard focus in the search field.
Would be great to see this fixed.

Thanks in advance,
Stephan

The following line seems to fix it.

Index: kopete/libkopete/ui/metacontactselectorwidget.cpp
===================================================================
--- kopete/libkopete/ui/metacontactselectorwidget.cpp   (revision 825360)
+++ kopete/libkopete/ui/metacontactselectorwidget.cpp   (working copy)
@@ -206,6 +206,7 @@
        connect( Kopete::ContactList::self(), SIGNAL( metaContactAdded( Kopete::MetaContact * ) ), this, SLOT( slotLoadMetaContacts() ) );

        d->widget->kListViewSearchLine->setListView(d->widget->metaContactListView);
+       d->widget->kListViewSearchLine->setFocus();
        d->widget->metaContactListView->setFullWidth( true );
        d->widget->metaContactListView->addColumn( i18n( "Contacts" ), 0 );
        d->widget->metaContactListView->header()->hide();
Comment 1 Matt Rogers 2008-06-28 18:53:01 UTC
patch looks fine. please commit.

If you can't commit, then please attach the patch to the bugreport rather than 
pasting inline, and I'll try to get it applied.
--
Matt
Comment 2 Stephan Diederich 2008-06-28 19:14:37 UTC
Thanks!
Commited in revision 825570.

Stephan