<?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>107170</bug_id>
          
          <creation_ts>2005-06-10 15:40:40 +0000</creation_ts>
          <short_desc>sometimes &quot;[]&quot; should not be treated as wildcard</short_desc>
          <delta_ts>2005-10-29 15:23:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</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>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="LuRan">hephooey_dev</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          <cc>aironmail</cc>
    
    <cc>blue.american</cc>
    
    <cc>cyberbeat</cc>
    
    <cc>des</cc>
    
    <cc>dmoyne</cc>
    
    <cc>guido-kdebugs</cc>
    
    <cc>hernandes</cc>
    
    <cc>holster</cc>
    
    <cc>jens-bugs.kde.org</cc>
    
    <cc>lecit</cc>
    
    <cc>lofi</cc>
    
    <cc>lovewilliam</cc>
    
    <cc>matthias.pospiech</cc>
    
    <cc>michel.hermier</cc>
    
    <cc>nick.steeves</cc>
    
    <cc>sum_of_the_total</cc>
    
    <cc>thiago</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>50</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>349297</commentid>
    <comment_count>0</comment_count>
    <who name="LuRan">hephooey_dev</who>
    <bug_when>2005-06-10 15:40:40 +0000</bug_when>
    <thetext>Version:           recent SVN snapshot (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.4.4 with gentoo patches
OS:                Linux

I have some movie files with names like &quot;[xx]yyyy.avi&quot;, when I tried to open it by click in konqueror, the filename has been stripped as wildcard. As a result, the player will get a url with only the path, thus cannot play the file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>349301</commentid>
    <comment_count>1</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2005-06-10 15:50:36 +0000</bug_when>
    <thetext>Confirmed, trunk 414026.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>351602</commentid>
    <comment_count>2</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2005-06-18 18:45:20 +0000</bug_when>
    <thetext>*** Bug 107673 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>353625</commentid>
    <comment_count>3</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2005-06-26 18:29:13 +0000</bug_when>
    <thetext>*** Bug 108130 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>353626</commentid>
    <comment_count>4</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2005-06-26 18:29:34 +0000</bug_when>
    <thetext>Raising severity.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361025</commentid>
    <comment_count>5</comment_count>
    <who name="Tommi Tervo">tommi.tervo</who>
    <bug_when>2005-07-28 10:36:34 +0000</bug_when>
    <thetext>*** Bug 109757 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361221</commentid>
    <comment_count>6</comment_count>
    <who name="Nick Steeves">nick.steeves</who>
    <bug_when>2005-07-29 04:04:15 +0000</bug_when>
    <thetext>From what I&apos;ve seen in Bug 109757, Xine and noatun properly get the file URL.  Isn&apos;t it strange that they work ok?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361328</commentid>
    <comment_count>7</comment_count>
    <who name="Guido Winkelmann">guido-kdebugs</who>
    <bug_when>2005-07-29 14:21:10 +0000</bug_when>
    <thetext>@ #6:

Not really. See bug number 108130 (which is a duplicate of this one, see link in comment #3) which explains it quite well. It seems to depend on whether you left-click on the file to open it with the default app or whether you right-click and choose one from the options.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361444</commentid>
    <comment_count>8</comment_count>
    <who name="Nick Steeves">nick.steeves</who>
    <bug_when>2005-07-29 21:26:24 +0000</bug_when>
    <thetext>ah, you&apos;re right.  I double checked Xine and noatun behavior, and it turns out that they were being sent the directory, but had cached the right-click file in their playlist, and found an avi to play in this way.  I hadn&apos;t noticed that they were always playing the same avi, no matter which file I clicked on.  I was left-clicking, but didn&apos;t realize that the playlists had cached a file from an earlier right-click.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361514</commentid>
    <comment_count>9</comment_count>
    <who name="Nick Steeves">nick.steeves</who>
    <bug_when>2005-07-30 06:31:03 +0000</bug_when>
    <thetext>Today I encountered a dir which ended with the &quot;?&quot; character.  It behaved the same as the directory in bug 107673.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361615</commentid>
    <comment_count>10</comment_count>
    <who name="Gleb Litvjak">blaster999</who>
    <bug_when>2005-07-30 18:24:53 +0000</bug_when>
    <thetext>Having the same problem. Moreover, if a directory has [ or ] in its name, konqueror doesn&apos;t want to enter it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361621</commentid>
    <comment_count>11</comment_count>
    <who name="Guido Winkelmann">guido-kdebugs</who>
    <bug_when>2005-07-30 19:00:51 +0000</bug_when>
    <thetext>#10:

I cannot confirm this. Over here, the problem only happens if the file- or directory-name contains any of &quot;[&quot;, &quot;?&quot;, or &quot;*&quot;.

If it doesn&apos;t contain any of those but does contain a &quot;]&quot;, the bug doesn&apos;t show. (i.e. I can enter the directory/open the file.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361694</commentid>
    <comment_count>12</comment_count>
    <who name="LuRan">hephooey_dev</who>
    <bug_when>2005-07-31 03:31:14 +0000</bug_when>
    <thetext>I did this in konq_mainwindow.cc:

@@ -423,7 +423,7 @@
         }
         QString fileName = path.mid( lastSlash + 1 );
         QString testPath = path.left( lastSlash + 1 );
-        if ( ( fileName.find( &apos;*&apos; ) != -1 || fileName.find( &apos;[&apos; ) != -1 || fileName.find( &apos;?&apos; ) != -1 )
+        if ( ( fileName.find( &apos;*&apos; ) != -1 || fileName.find( &apos;?&apos; ) != -1 )
              &amp;&amp; ( !url.isLocalFile() || QFile::exists( testPath ) ) )
         {
             nameFilter = fileName;

and now I have no problem with file with &quot;[]&quot; in its name. I don&apos;t think it&apos;s a fix, just a dirty hack</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361755</commentid>
    <comment_count>13</comment_count>
    <who name="Dirk Mueller">mueller</who>
    <bug_when>2005-07-31 13:34:19 +0000</bug_when>
    <thetext>*** Bug 109930 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361812</commentid>
    <comment_count>14</comment_count>
    <who name="">blueskyinspain</who>
    <bug_when>2005-07-31 19:17:26 +0000</bug_when>
    <thetext>&quot; ------- Additional Comment #10 From Gleb Litvjak 2005-07-30 18:24 -------  
Having the same problem. Moreover, if a directory has [ or ] in its name, konqueror doesn&apos;t want to enter it. &quot;

I confirm! I have a lot of directories with the [ and ] characters and since KDE/Konqueror 3.4.2, Konqueror doesn&apos;t want to enter those directories. Nautilus does it right.

Ugh*</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>361850</commentid>
    <comment_count>15</comment_count>
    <who name="Teemu Rytilahti">tpr</who>
    <bug_when>2005-07-31 21:15:00 +0000</bug_when>
    <thetext>Yup, I can confirm too. Btw, opening via &quot;Open with&quot; works fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362104</commentid>
    <comment_count>16</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2005-08-02 04:59:43 +0000</bug_when>
    <thetext>*** Bug 110001 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362139</commentid>
    <comment_count>17</comment_count>
    <who name="Tommi Tervo">tommi.tervo</who>
    <bug_when>2005-08-02 09:24:34 +0000</bug_when>
    <thetext>*** Bug 110012 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362367</commentid>
    <comment_count>18</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2005-08-03 05:00:59 +0000</bug_when>
    <thetext>*** Bug 110050 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362592</commentid>
    <comment_count>19</comment_count>
    <who name="John E">john.ettedgui</who>
    <bug_when>2005-08-03 23:45:55 +0000</bug_when>
    <thetext>Confirming the bug here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>362851</commentid>
    <comment_count>20</comment_count>
    <who name="Michael Nottebrock">lofi</who>
    <bug_when>2005-08-05 03:03:43 +0000</bug_when>
    <thetext>I just noticed that wildcards in the location bar don&apos;t work at all anymore in any of the filemanager views, too! :-( :-( :-(

(Example: ~/*.mp3 in detailed list view)

Is that related, perhaps? If not, I&apos;ll open another bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363055</commentid>
    <comment_count>21</comment_count>
    <who name="Pascal Létourneau">pascal.letourneau</who>
    <bug_when>2005-08-05 21:19:14 +0000</bug_when>
    <thetext>SVN commit 443311 by pletourn:

If a fileName exits, don&apos;t try to detect a name filter

BUG:110227
BUG:107170


 M  +1 -1      konq_mainwindow.cc  


--- branches/KDE/3.4/kdebase/konqueror/konq_mainwindow.cc #443310:443311
@@ -428,7 +428,7 @@
         QString fileName = path.mid( lastSlash + 1 );
         QString testPath = path.left( lastSlash + 1 );
         if ( ( fileName.find( &apos;*&apos; ) != -1 || fileName.find( &apos;[&apos; ) != -1 || fileName.find( &apos;?&apos; ) != -1 )
-             &amp;&amp; ( !url.isLocalFile() || QFile::exists( testPath ) ) )
+             &amp;&amp; ( !url.isLocalFile() || QFile::exists( testPath ) ) &amp;&amp; !KIO::NetAccess::exists( url, true ) )
         {
             nameFilter = fileName;
             url.setFileName( QString::null );
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363109</commentid>
    <comment_count>22</comment_count>
    <who name="Nick Steeves">nick.steeves</who>
    <bug_when>2005-08-06 02:04:25 +0000</bug_when>
    <thetext>Is there any chance that this will be backported to KDE-3.4.2?  I encountered a compilation error after applying this patch to kdebase-3.4.2 in the NetAccess bit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363115</commentid>
    <comment_count>23</comment_count>
    <who name="Michael Nottebrock">lofi</who>
    <bug_when>2005-08-06 02:25:46 +0000</bug_when>
    <thetext> #include &lt;kprocess.h&gt;
+#include &lt;kio/netaccess.h&gt;
 #include &lt;kio/scheduler.h&gt;

in the same file will make it compile.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363124</commentid>
    <comment_count>24</comment_count>
    <who name="Nick Steeves">nick.steeves</who>
    <bug_when>2005-08-06 06:01:56 +0000</bug_when>
    <thetext>Thanks for the tip Michael.  From what I&apos;ve seen so far, this fix looks great.  :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363143</commentid>
    <comment_count>25</comment_count>
    <who name="Tommi Tervo">tommi.tervo</who>
    <bug_when>2005-08-06 11:02:31 +0000</bug_when>
    <thetext>*** Bug 110277 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363206</commentid>
    <comment_count>26</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2005-08-06 18:12:53 +0000</bug_when>
    <thetext>*** Bug 110287 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363369</commentid>
    <comment_count>27</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2005-08-07 06:31:18 +0000</bug_when>
    <thetext>Can someone confirm the fix for KDE 3.4.2? We&apos;ll have a KDE 3.4.3 release and I&apos;d like to backport.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363381</commentid>
    <comment_count>28</comment_count>
    <who name="Michael Nottebrock">lofi</who>
    <bug_when>2005-08-07 07:32:47 +0000</bug_when>
    <thetext>I confirm, but don&apos;t bother, it already is backported. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363937</commentid>
    <comment_count>29</comment_count>
    <who name="">sum_of_the_total</who>
    <bug_when>2005-08-09 01:33:51 +0000</bug_when>
    <thetext>does it fix {} these brackets too?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363940</commentid>
    <comment_count>30</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2005-08-09 01:45:52 +0000</bug_when>
    <thetext>&gt; does it fix {} these brackets too? 

Yes, I&apos;ve just tested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363983</commentid>
    <comment_count>31</comment_count>
    <who name="illogic-al">illogical1</who>
    <bug_when>2005-08-09 07:00:09 +0000</bug_when>
    <thetext>I don&apos;t think this was backported for 3.4.2 (as it says in comment #28) I still have the problem of not being able to enter directories with [] characters in the name (comment #10). I don&apos;t know if it&apos;s fixed in branch so I&apos;ll leave closed (for now).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>363989</commentid>
    <comment_count>32</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2005-08-09 07:09:59 +0000</bug_when>
    <thetext>Let me rephrase comment #27: &quot;can someone confirm the fix works for KDE 3.4.2? I want to add it to KDE 3.4.3&quot;, to which it was answered: &quot;yes, it works, it was backported&quot;.

So, the fix isn&apos;t in KDE 3.4.2 because it was released before the fix happened. You have to either patch it or wait for KDE 3.4.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>364256</commentid>
    <comment_count>33</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2005-08-10 03:18:34 +0000</bug_when>
    <thetext>*** Bug 110373 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>366959</commentid>
    <comment_count>34</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2005-08-19 19:10:23 +0000</bug_when>
    <thetext>*** Bug 111104 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>378032</commentid>
    <comment_count>35</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2005-10-01 20:11:18 +0000</bug_when>
    <thetext>*** Bug 113683 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>385569</commentid>
    <comment_count>36</comment_count>
    <who name="Thiago Macieira">thiago</who>
    <bug_when>2005-10-29 15:23:03 +0000</bug_when>
    <thetext>*** Bug 115301 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>