Summary: | "Move message to folder" dialog does not accept 'ä' and 'ö' | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Kari Oikarinen <kluge> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | larkang |
Priority: | NOR | ||
Version: | 1.9.3 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch |
Description
Kari Oikarinen
2006-08-27 22:30:01 UTC
Confirmed here, the problem seems to be in kmfolderseldlg.cpp which only works for ascii characters: void SimpleFolderTree::keyPressEvent( QKeyEvent *e ) { int ch = e->ascii(); if ( ch >= 32 && ch <= 126 ) applyFilter( mFilter + ch ); else if ( ch == 8 || ch == 127 ) { if ( mFilter.length() > 0 ) { mFilter.truncate( mFilter.length()-1 ); applyFilter( mFilter ); } } else KListView::keyPressEvent( e ); } Created attachment 19048 [details]
Patch
Here's a patch that should fix the problem. Ok to commit?
SVN commit 803952 by tmcguire: Also allow to input umlauts and other printable characters. Based on patch by Richard Lärkäng, thanks! BUG: 133092 M +5 -5 folderselectiontreewidget.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=803952 |