<?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>389892</bug_id>
          
          <creation_ts>2018-02-04 21:25:03 +0000</creation_ts>
          <short_desc>A file can go into a weird superposition state &quot;being moved while being renamed&quot;, which causes an unrelated file to be renamed to the file just moved</short_desc>
          <delta_ts>2018-03-29 19:21:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>dolphin</product>
          <component>general</component>
          <version>17.12.1</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>378786</dup_id>
          
          <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>0</everconfirmed>
          <reporter name="David Tonhofer">bughunt</reporter>
          <assigned_to name="Dolphin Bug Assignee">dolphin-bugs-null</assigned_to>
          <cc>elvis.angelaccio</cc>
    
    <cc>nate</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>1727694</commentid>
    <comment_count>0</comment_count>
    <who name="David Tonhofer">bughunt</who>
    <bug_when>2018-02-04 21:25:03 +0000</bug_when>
    <thetext>I have an occasional bug whereby the following happens:

A file (foo.pdf, say) in directory A is moved to directory B using Dolphin.

This move succeeds but an unrelated file (stuff.txt, say) in directory A then takes on the name &quot;foo.pdf&quot;.

This happens occasionally and I haven&apos;t been able to reproduce this reliably. It&apos;s extremely annoying though.

Is there a way to switch on some kind of &quot;action trace&quot; of Dolphin?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1727699</commentid>
    <comment_count>1</comment_count>
    <who name="David Tonhofer">bughunt</who>
    <bug_when>2018-02-04 21:40:45 +0000</bug_when>
    <thetext>Special configuration of my mouse:

Activating windows Policy = &quot;Focus Follows Mouse&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1727700</commentid>
    <comment_count>2</comment_count>
    <who name="David Tonhofer">bughunt</who>
    <bug_when>2018-02-04 21:46:38 +0000</bug_when>
    <thetext>It happened again.

I am using Dolphin in &quot;split window&quot; mode when moving files from one directory to the other (from right to left, say)

I have the feeling that it has something to do with a file having the &quot;renaming action&quot; active on the right side. You then move that file to the left side, which works but the renaming action on the right side is &quot;sticky&quot; and gloms onto the file that was displayed underneath the one just moved, giving it the name of the file just moved. Something like that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1731221</commentid>
    <comment_count>3</comment_count>
    <who name="David Tonhofer">bughunt</who>
    <bug_when>2018-02-17 17:25:08 +0000</bug_when>
    <thetext>Better reproducible:

1) Have a directory of many files.
2) Create a target directory that is linked to via the Dolphin &quot;left pane&quot; (the left pane where you find like the Wastebasket, Search For, Devices etc).
3) The Mouse Click behaviour is set to &quot;Double click to open files and folders&quot; (Sysetm Settings &gt; Input Devices &gt; Mouse) (because I still haven&apos;t found out how one can actually DO anything at all if a file opens on first click)
4) Do this:

   Click on a file in the Dolphin main pane, release Mouse.
   The file is selected.
   Move the file into the target directory in the &quot;left pane&quot;
   With high probability (1/5?), a file or even a directory in the &quot;from&quot;
   directory takes on the filename of the file just moved.

Moving this to &quot;major&quot; as this will result in file loss.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1735803</commentid>
    <comment_count>4</comment_count>
    <who name="David Tonhofer">bughunt</who>
    <bug_when>2018-03-04 22:38:21 +0000</bug_when>
    <thetext>Even more precise:

The problem comes from the fact that somehow renaming is triggered on the file.

Suppose the file in details view mode is unmarked (it may be semi-marked, there is a thin blue line underneath, not 100% sure what this is about, my reflexes don&apos;t tell me).

Click on it, it acquires a blue background.

Release mouse, move off the file.

Now:

a) Move mouse back to file, click and don&apos;t release button, hold it.

b) The file will go into &quot;rename mode&quot; after 500ms or so, after which it cannot be moved.

However in some cases:

a) Move mouse back to file, click and don&apos;t release button, move it to the left-side &quot;Places bar&quot; for example.

b) Sometimes the file while go into &quot;rename mode&quot; while you move it. If you now drop it into a &quot;place&quot;, the file underneath the just moved file in the &quot;details view&quot; will be given the name of the file just moved. 

I don&apos;t know what exactly triggers the quantum state of &quot;being moved&quot; + &quot;being renamed&quot; at the same time, but the state machine seems to have a bug in any case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1741641</commentid>
    <comment_count>5</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2018-03-29 17:18:58 +0000</bug_when>
    <thetext>You are using double-click to open files, right? If this issue happens to you regularily, I suggest to disable inline renaming in Dolphin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1741675</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2018-03-29 19:21:40 +0000</bug_when>
    <thetext>This has been fixed in Dolphin 18.04.

*** This bug has been marked as a duplicate of bug 378786 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>