<?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>90953</bug_id>
          
          <creation_ts>2004-10-08 10:31:35 +0000</creation_ts>
          <short_desc>Find path is shown as encoded</short_desc>
          <delta_ts>2006-11-25 23:56:57 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kfind</product>
          <component>general</component>
          <version>0.5.2</version>
          <rep_platform>unspecified</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="Andrey Cherepanov">sibskull</reporter>
          <assigned_to name="Eric Coquelle">coquelle</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>40</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>274920</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">sibskull</who>
    <bug_when>2004-10-08 10:31:35 +0000</bug_when>
    <thetext>Version:           3.3 (using KDE 3.3.0, compiled sources)
Compiler:          gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
OS:                Linux (i686) release 2.4.26-01-NeTraverse-i686-SMP-64GB

When I find files in Konqueror (Tools-&gt;Find file...) in my folder with russian names I get find path like &quot;file:/c/Documents%20and%20Settings/1232/%ED%CF%C9%20%C4%CF%...&quot; 

1. Path is unreadable if contains spaces and/or nonlatin letters. It makes usability of find files utility very terrible.

2. Konqueror windows on using this tool grows very wide and part of window became beyong screen.

I think, the reason of window growing is current encode path.

Please, make find file tool is more usable...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>314557</commentid>
    <comment_count>1</comment_count>
    <who name="Andrew Muhametshin">inspirra</who>
    <bug_when>2005-02-16 01:42:21 +0000</bug_when>
    <thetext>My comments to a problem number two:

Problem not only with Russian symbols, but also with latin. 

$ kfind /very/very/long/path/string</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>489690</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2006-11-25 23:56:57 +0000</bug_when>
    <thetext>SVN commit 607846 by mkoller:

BUG: 90953

use and show prettyURL() instead of url() in &quot;Look in:&quot; field


 M  +6 -6      kftabdlg.cpp  


--- branches/KDE/3.5/kdebase/kfind/kftabdlg.cpp #607845:607846
@@ -390,15 +390,15 @@
     dirBox-&gt;insertStringList(sl);
     // If the _searchPath already exists in the list we do not
     // want to add it again
-    int indx = sl.findIndex(m_url.url());
+    int indx = sl.findIndex(m_url.prettyURL());
     if(indx == -1)
-      dirBox-&gt;insertItem(m_url.url(), 0); // make it the first one
+      dirBox-&gt;insertItem(m_url.prettyURL(), 0); // make it the first one
     else
       dirBox-&gt;setCurrentItem(indx);
   }
   else {
     QDir m_dir(&quot;/lib&quot;);
-    dirBox -&gt;insertItem( m_url.url() );
+    dirBox -&gt;insertItem( m_url.prettyURL() );
     dirBox -&gt;insertItem( &quot;file:&quot; + QDir::homeDirPath() );
     dirBox -&gt;insertItem( &quot;file:/&quot; );
     dirBox -&gt;insertItem( &quot;file:/usr&quot; );
@@ -472,15 +472,15 @@
     dirBox-&gt;insertStringList(sl);
     // If the _searchPath already exists in the list we do not
     // want to add it again
-    int indx = sl.findIndex(m_url.url());
+    int indx = sl.findIndex(m_url.prettyURL());
     if(indx == -1)
-      dirBox-&gt;insertItem(m_url.url(), 0); // make it the first one
+      dirBox-&gt;insertItem(m_url.prettyURL(), 0); // make it the first one
     else
       dirBox-&gt;setCurrentItem(indx);
   }
   else {
     QDir m_dir(&quot;/lib&quot;);
-    dirBox -&gt;insertItem( m_url.url() );
+    dirBox -&gt;insertItem( m_url.prettyURL() );
     dirBox -&gt;insertItem( &quot;file:&quot; + QDir::homeDirPath() );
     dirBox -&gt;insertItem( &quot;file:/&quot; );
     dirBox -&gt;insertItem( &quot;file:/usr&quot; );
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>