| Summary: | autocomplete in composer completes section title instead of email-address | ||
|---|---|---|---|
| Product: | [Unmaintained] kmail | Reporter: | Leo Savernik <l.savernik> |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Leo Savernik
2005-11-28 18:34:46 UTC
I can reproduce this. SVN commit 484134 by dfaure:
Handle <tab> like <arrow down> in completion list, to skip section headers
BUG: 117217
M +2 -2 addresseelineedit.cpp
--- branches/KDE/3.5/kdepim/libkdepim/addresseelineedit.cpp #484133:484134
@@ -805,7 +805,7 @@
if ( ( obj == this ) &&
( e->type() == QEvent::AccelOverride ) ) {
QKeyEvent *ke = static_cast<QKeyEvent*>( e );
- if ( ke->key() == Key_Up || ke->key() == Key_Down ) {
+ if ( ke->key() == Key_Up || ke->key() == Key_Down || ke->key() == Key_Tab ) {
ke->accept();
return true;
}
@@ -834,7 +834,7 @@
}
return true;
}
- } else if ( ke->key() == Key_Down ) {
+ } else if ( ke->key() == Key_Down || ke->key() == Key_Tab ) {
// same strategy for downwards
//kdDebug() << "EVENTFILTER: Key_Down. currentIndex=" << currentIndex << endl;
QListBoxItem *itemBelow = completionBox()->item( currentIndex + 1 );
|