Bug 176058 - Composer: adress auto-complete doesn't work reliably
Summary: Composer: adress auto-complete doesn't work reliably
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Unmaintained
Component: composer (show other bugs)
Version: 1.10.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-25 12:59 UTC by René Krell
Modified: 2009-03-19 00:35 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description René Krell 2008-11-25 12:59:15 UTC
Version:           1.10.3 (using 4.1.3 (KDE 4.1.3) "release 63.1", KDE:KDE4:Factory:Desktop / openSUSE_Factory)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.5-2-default

With the latest updates of the KDE4.1 factory the auto-complete feature in the addressee fields in the composer do no longer work.
Entering the first key there it seems that the expected popup flickers only for a moment and disappears immediately, after that the popup with the matching address offers doesn't popup at all in most cases. Entering <TAB> doesn't leave the To: input field, but only an explicit click somewhere outside. Sometimes the popup with matching e-mail addresses pops up and remains hanging, I didn't find out any other input action to make it disappear than closing the composer window it belongs to.
Comment 1 René Krell 2008-11-25 13:37:23 UTC
Trying to make a reproducable test case:
I use kmail as a Kontact plugin.

1. The problem happens if I open the composer and the focus is automatically in the To: field. Under the To: field is the CC: edit field situated. In this situation I cannot get out of the To: field at all with the focus than clicking somewhere outside of To:
2. Thus I thought to click into the CC: field, the focus changes to CC:
3. Pressing <Backspace> in the CC: field the CC: disappears and I get back into the To: field.
4. Now the auto-complete pop-up with the matching addresses opens in To:, but immediately with all available addresses, not after pressing a letter key with the matching ones (that's wrong, too).

The behavior of focusing and auto-complete in the KMail composer is totally weird in common.
Comment 2 FiNeX 2008-11-25 14:32:40 UTC
I've this problem too: the autocompletition popup is never displayed. (tested with current trunk)
Comment 3 George Kiagiadakis 2008-11-26 00:14:07 UTC
Finex: Is that related at all???

I can't reproduce what is described in comment #1, neither with kmail 1.10.3 nor with trunk (r884939). When I try to compose a new mail, only the To: field is available at first. And when I reply to a mail, both To: and CC: exist, but the focus is by default in the message body editor. Also, pressing <TAB> in To: works fine and jumps to the Select button which is on the right of the To: field.
Comment 4 Jaime Torres 2008-11-26 12:25:57 UTC
I can not reproduce it also in svn trunk r888112.
What I see in the composer window in the tab sequence, there is a hidden widget between from: and to: in the default composer window.
Comment 5 René Krell 2008-11-26 13:02:00 UTC
(In reply to comment #3)
> Finex: Is that related at all???
> 
> I can't reproduce what is described in comment #1, neither with kmail 1.10.3
> nor with trunk (r884939). When I try to compose a new mail, only the To: field
> is available at first. And when I reply to a mail, both To: and CC: exist, but
> the focus is by default in the message body editor. Also, pressing <TAB> in To:
> works fine and jumps to the Select button which is on the right of the To:
> field.
> 

I tried this again. What happens here:
Composing a new mail: CC: field is not visible. Focus is in the To: field (which is fine so far). Pressing the first key, the auto-complete pops up only for less than a second, closes immediately and the CC: field appears automatically (which appears to be wrong).
Replying to a mail: The CC: field is shown immediately, the focus is in the message body (which is fine so far). Clicking in the CC: field the auto-complete pops up only for less than a second, closes immediately and a further CC: field appears below.

What can be the reason: a packaging problem, a bad Qt patch, a bad configuration?
Comment 6 FiNeX 2008-11-26 17:40:14 UTC
I've updated to latest trunk, and now autocompletition seems working (with the same Qt version of some days ago)
Comment 7 René Krell 2008-11-28 17:02:35 UTC
What I haven't said until now: I reported this to Suse/Novell, also: https://bugzilla.novell.com/show_bug.cgi?id=448642
Comment 8 Gregor Petrin 2009-01-09 09:30:11 UTC
I've had the same problem before, but it seems to work now for me, too in KDE 4.2 beta (Suse RPMs, KDE: 4.1.87 (KDE 4.1.87 (KDE 4.2 >= 20090101)) "release 3.1", KMail: 1.10.92).
Comment 9 René Krell 2009-01-26 15:49:42 UTC
Auto-completion works for me now in KDE 4.1.96.
Also commented by SuSE in
https://bugzilla.novell.com/show_bug.cgi?id=448642 :
"Should be fixed by r895893 in branch/kdelibs but I can't commit it right now
due to OBS breakage."