<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>133092</bug_id>
          
          <creation_ts>2006-08-27 22:30:01 +0000</creation_ts>
          <short_desc>&quot;Move message to folder&quot; dialog does not accept &apos;ä&apos; and &apos;ö&apos;</short_desc>
          <delta_ts>2008-05-04 17:27:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kmail</product>
          <component>general</component>
          <version>1.9.3</version>
          <rep_platform>Debian testing</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kari Oikarinen">kluge</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>larkang</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>463784</commentid>
    <comment_count>0</comment_count>
    <who name="Kari Oikarinen">kluge</who>
    <bug_when>2006-08-27 22:30:01 +0000</bug_when>
    <thetext>Version:           1.9.3 (using KDE KDE 3.5.4)
Installed from:    Debian testing/unstable Packages
OS:                Linux

&quot;Move message to folder&quot; dialog is accessed with the keyboard shortcut &apos;M&apos;. It allows one to filter folders by typing in a (start of) folder name. However, characters &apos;ä&apos; and &apos;ö&apos; are not accepted.

These characters are normal and common characters in Finnish, not being able to use them reduces the usefulness of this dialog. While trying out, I found that &apos;å&apos; is also not accepted. It&apos;s not really necessary for me, but some Swedes might appreciate allowing it, too.

Of course this problem might affect other non-ASCII characters as well, but these are the ones present on my keyboard.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>496231</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Lärkäng">larkang</who>
    <bug_when>2006-12-27 13:28:48 +0000</bug_when>
    <thetext>Confirmed here, the problem seems to be in kmfolderseldlg.cpp which only works for ascii characters:

void SimpleFolderTree::keyPressEvent( QKeyEvent *e ) {
  int ch = e-&gt;ascii();

  if ( ch &gt;= 32 &amp;&amp; ch &lt;= 126 )
    applyFilter( mFilter + ch );

  else if ( ch == 8 || ch == 127 ) {
    if ( mFilter.length() &gt; 0 ) {
      mFilter.truncate( mFilter.length()-1 );
      applyFilter( mFilter );
    }
  }

  else
    KListView::keyPressEvent( e );
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>496303</commentid>
    <comment_count>2</comment_count>
      <attachid>19048</attachid>
    <who name="Richard Lärkäng">larkang</who>
    <bug_when>2006-12-27 18:51:00 +0000</bug_when>
    <thetext>Created attachment 19048
Patch

Here&apos;s a patch that should fix the problem. Ok to commit?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>598613</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas McGuire">mcguire</who>
    <bug_when>2008-05-04 17:27:11 +0000</bug_when>
    <thetext>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&amp;revision=803952
</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>19048</attachid>
            <date>2006-12-27 18:51:00 +0000</date>
            <delta_ts>2006-12-27 18:51:00 +0000</delta_ts>
            <desc>Patch</desc>
            <filename>kmail-foldersel.patch</filename>
            <type>text/plain</type>
            <size>1048</size>
            <attacher name="Richard Lärkäng">larkang</attacher>
            
              <data encoding="base64">SW5kZXg6IGttYWlsL2ttZm9sZGVyc2VsZGxnLmNwcAo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBrbWFpbC9rbWZv
bGRlcnNlbGRsZy5jcHAJKHJldmlzaW9uIDYxNjk3MykKKysrIGttYWlsL2ttZm9sZGVyc2VsZGxn
LmNwcAkoYXJiZXRza29waWEpCkBAIC00MjAsMTggKzQyMCwyMSBAQAogCiAvLy0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tCiB2b2lkIFNpbXBsZUZvbGRlclRyZWU6OmtleVByZXNzRXZlbnQoIFFLZXlFdmVu
dCAqZSApIHsKLSAgaW50IGNoID0gZS0+YXNjaWkoKTsKLQotICBpZiAoIGNoID49IDMyICYmIGNo
IDw9IDEyNiApCi0gICAgYXBwbHlGaWx0ZXIoIG1GaWx0ZXIgKyBjaCApOwotCi0gIGVsc2UgaWYg
KCBjaCA9PSA4IHx8IGNoID09IDEyNyApIHsKLSAgICBpZiAoIG1GaWx0ZXIubGVuZ3RoKCkgPiAw
ICkgewotICAgICAgbUZpbHRlci50cnVuY2F0ZSggbUZpbHRlci5sZW5ndGgoKS0xICk7Ci0gICAg
ICBhcHBseUZpbHRlciggbUZpbHRlciApOworICBRU3RyaW5nIHRleHQgPSBlLT50ZXh0KCk7Cisg
IGlmICghdGV4dC5pc0VtcHR5KCkpIHsKKyAgICBjb25zdCBRQ2hhciogY2ggPSB0ZXh0LnVuaWNv
ZGUoKTsKKworICAgIGlmICggY2gtPmlzUHJpbnQoKSApCisgICAgICBhcHBseUZpbHRlciggbUZp
bHRlciArICpjaCApOworICAgIGVsc2UgaWYgKCAqY2ggPT0gUUNoYXIoOCkgfHwgKmNoID09IFFD
aGFyKDEyNykgKSB7CisgICAgICBpZiAoIG1GaWx0ZXIubGVuZ3RoKCkgPiAwICkgeworICAgICAg
ICBtRmlsdGVyLnRydW5jYXRlKCBtRmlsdGVyLmxlbmd0aCgpLTEgKTsKKyAgICAgICAgYXBwbHlG
aWx0ZXIoIG1GaWx0ZXIgKTsKKyAgICAgIH0KICAgICB9CisgICAgZWxzZQorICAgICAgS0xpc3RW
aWV3OjprZXlQcmVzc0V2ZW50KCBlICk7CiAgIH0KLQogICBlbHNlCiAgICAgS0xpc3RWaWV3Ojpr
ZXlQcmVzc0V2ZW50KCBlICk7CiB9Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>