<?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>341773</bug_id>
          
          <creation_ts>2014-12-11 14:28:39 +0000</creation_ts>
          <short_desc>Replace dialog suggests incorrect filename when it contains dots</short_desc>
          <delta_ts>2015-05-02 19:26:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kio</product>
          <component>general</component>
          <version>4.14.1</version>
          <rep_platform>Other</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>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Christoph Feck">cfeck</reporter>
          <assigned_to name="David Faure">faure</assigned_to>
          <cc>arjunak234</cc>
    
    <cc>simonandric5</cc>
          
          <cf_commitlink>http://commits.kde.org/kio/c806f88e4ea65330719fa1721cdf15ea5cbddb5a</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>1485104</commentid>
    <comment_count>0</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2014-12-11 14:28:39 +0000</bug_when>
    <thetext>To reproduce in Dolphin:
- create files &quot;my.test.tar.gz&quot; and &quot;other.test.tar.gz&quot;
- select file &quot;other.test.tar.gz&quot; for rename, note the correct pre-selection without the &quot;.tar.gz&quot; extension
- enter &quot;my.test&quot;, i.e. try to rename it to &quot;my.test.tar.gz&quot;
- a pop-up appears suggesting to rename it, again with correct pre-selection
- click &quot;Suggest New Name&quot;

Actual result:
- &quot;my 1.text.tar.gz&quot;

Expected result:
- &quot;my.text 1.tar.gz&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485240</commentid>
    <comment_count>1</comment_count>
    <who name="Arjun AK">arjunak234</who>
    <bug_when>2014-12-12 10:56:29 +0000</bug_when>
    <thetext>https://git.reviewboard.kde.org/r/121461/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1487375</commentid>
    <comment_count>2</comment_count>
    <who name="Arjun AK">arjunak234</who>
    <bug_when>2014-12-23 17:56:53 +0000</bug_when>
    <thetext>Git commit b75d94bfe399b2764e7947c1a4cb7f668af5d54c by Arjun AK.
Committed on 23/12/2014 at 17:41.
Pushed by arjunak into branch &apos;master&apos;.

Fix replace dialog&apos;s name suggestion

The replace dialog should suggest &quot;foo.bar 1.tar.gz&quot; instead of
&quot;foo 1.bar.tar.gz&quot;. Also &quot;.foo&quot; and &quot;..foo&quot; should be renamed into
&quot;.foo 1&quot; and &quot;..foo 1&quot; respectively

REVIEW: 121461

M  +4    -2    autotests/globaltest.cpp
M  +16   -16   src/core/global.cpp

http://commits.kde.org/kio/b75d94bfe399b2764e7947c1a4cb7f668af5d54c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1515477</commentid>
    <comment_count>3</comment_count>
    <who name="Ashish Bansal">bansal.ashish096</who>
    <bug_when>2015-05-02 19:26:28 +0000</bug_when>
    <thetext>Git commit c806f88e4ea65330719fa1721cdf15ea5cbddb5a by Ashish Bansal.
Committed on 02/05/2015 at 19:18.
Pushed by ashishbansal into branch &apos;master&apos;.

Fixed KIO::suggestName to suggest correct names

Earlier for filenames like filename-1.6.tar.gz, KIO::suggestName was
suggesting wrong names (filename-1 2.6.tar.gz, filename-1 3.6.tar.gz).
Now it suggests filename-1.6 (1).tar.gz for above given filename.

REVIEW: 123224

M  +15   -14   autotests/globaltest.cpp
M  +25   -35   src/core/global.cpp

http://commits.kde.org/kio/c806f88e4ea65330719fa1721cdf15ea5cbddb5a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>