<?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>286356</bug_id>
          
          <creation_ts>2011-11-11 19:21:06 +0000</creation_ts>
          <short_desc>Amarok: delete files from iPod doesn&apos;t free up space</short_desc>
          <delta_ts>2011-12-20 11:05:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>amarok</product>
          <component>Collections/iPod iPhone</component>
          <version>2.4.3</version>
          <rep_platform>Debian unstable</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>2.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeffrey">eljefedelito</reporter>
          <assigned_to name="Amarok Bugs">amarok-bugs-null</assigned_to>
          <cc>bart.cerneels</cc>
    
    <cc>eljefedelito</cc>
    
    <cc>matej</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>2.5</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1184137</commentid>
    <comment_count>0</comment_count>
    <who name="Jeffrey">eljefedelito</who>
    <bug_when>2011-11-11 19:21:06 +0000</bug_when>
    <thetext>Version:           2.4.3 (using KDE 4.6.5) 
OS:                Linux

I&apos;ve deleted a TON of files on my iPod (black 60GB iPod Video) to free up space, but &apos;df&apos; doesn&apos;t show any long-term change in these disk space (the number does change a bit but it has not really moved from the 75MB Free, other than maybe 1MB in both directions, during the Delete activity).

Reproducible: Always

Steps to Reproduce:
Run from CLI &apos;watch -d df&apos;
Delete files from iPod via Amarok
Notice the &apos;df&apos; hasn&apos;t changed much.

Actual Results:  
Files are gone but there is no free space

Expected Results:  
Space should be free to put on different music but it&apos;s not working.

I&apos;ve tried to unplug and replug the device a few times but the space hasn&apos;t changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1184141</commentid>
    <comment_count>1</comment_count>
    <who name="Jeffrey">eljefedelito</who>
    <bug_when>2011-11-11 19:31:30 +0000</bug_when>
    <thetext>these turned out to have been moved to /media/ipod/.Trash-1000/

I&apos;d love to see Amarok either not do this, or offer to clean that up some how, perhaps when ejecting from Amarok.

Thanks for the great app!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1184287</commentid>
    <comment_count>2</comment_count>
    <who name="Matěj Laitl">matej</who>
    <bug_when>2011-11-12 10:54:35 +0000</bug_when>
    <thetext>Hi Jeffrey, thanks for your report.

The real problem is that the &quot;Delete tracks&quot; action in the context menu in fact sends these files to trash (located on the device), at least it correctly mentions this in the confirmation dialog. There is a hidden feature in Amarok: hold Shift while clicking the &quot;Delete tracks&quot; action and the files will skip the trash and will be deleted right away (with confirmation).

Also please note the files located in &quot;device trash&quot; are normally visible in the main Trash as long as the device is connected.

I do plan to split the actions so that it is more like in Dolphin, let&apos;s hope I will make it for the 2.5. release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1184375</commentid>
    <comment_count>3</comment_count>
    <who name="Matěj Laitl">matej</who>
    <bug_when>2011-11-12 15:13:13 +0000</bug_when>
    <thetext>Git commit 3c2f14dd62241312275b5a5b821dba0a628a37ed by Matěj Laitl.
Committed on 12/11/2011 at 16:01.
Pushed by laitl into branch &apos;master&apos;.

Separate delete and trash collection tree actions

The &quot;delete&quot; action was previously only accessible through holding
Shift when clicking Delete, which was secret, inconsistent and
inconvenient. The old shift + click behaviour is not preserved.

BUG: 286356
FIXED-IN: 2.5
GUI: Move to Trash action added to collection browser context menu
     Handbook needs updating.

M  +2    -0    ChangeLog
M  +32   -23   src/browsers/CollectionTreeView.cpp
M  +2    -1    src/browsers/CollectionTreeView.h

http://commits.kde.org/amarok/3c2f14dd62241312275b5a5b821dba0a628a37ed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1184436</commentid>
    <comment_count>4</comment_count>
    <who name="Jeffrey">eljefedelito</who>
    <bug_when>2011-11-12 18:11:07 +0000</bug_when>
    <thetext>I guess, when deleting from my iPod, I don&apos;t think if it as a general
storage device that I&apos;d want to recover from, especially when I need to do
the delete via an app like Amarok or whatever else.  Can iTunes recover
files from .Trash-1000/ folder?  How would one recover these files within
Amarok?  If iTunes and Amarok both cannot recover from that location it may
be best to fully delete the files... just my 2cents.  Thanks for Amarok!
On Nov 12, 2011 7:13 AM, &quot;Matěj Laitl&quot; &lt;matej@laitl.cz&gt; wrote:

&gt; https://bugs.kde.org/show_bug.cgi?id=286356
&gt;
&gt;
&gt; Matěj Laitl &lt;matej@laitl.cz&gt; changed:
&gt;
&gt;           What    |Removed                     |Added
&gt;
&gt; ----------------------------------------------------------------------------
&gt;             Status|NEW                         |RESOLVED
&gt;   Version Fixed In|                            |2.5
&gt;         Resolution|                            |FIXED
&gt;
&gt;
&gt;
&gt;
&gt; --- Comment #3 from Matěj Laitl &lt;matej laitl cz&gt;  2011-11-12 15:13:13 ---
&gt; Git commit 3c2f14dd62241312275b5a5b821dba0a628a37ed by Matěj Laitl.
&gt; Committed on 12/11/2011 at 16:01.
&gt; Pushed by laitl into branch &apos;master&apos;.
&gt;
&gt; Separate delete and trash collection tree actions
&gt;
&gt; The &quot;delete&quot; action was previously only accessible through holding
&gt; Shift when clicking Delete, which was secret, inconsistent and
&gt; inconvenient. The old shift + click behaviour is not preserved.
&gt;
&gt; BUG: 286356
&gt; FIXED-IN: 2.5
&gt; GUI: Move to Trash action added to collection browser context menu
&gt;     Handbook needs updating.
&gt;
&gt; M  +2    -0    ChangeLog
&gt; M  +32   -23   src/browsers/CollectionTreeView.cpp
&gt; M  +2    -1    src/browsers/CollectionTreeView.h
&gt;
&gt; http://commits.kde.org/amarok/3c2f14dd62241312275b5a5b821dba0a628a37ed
&gt;
&gt; --
&gt; Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
&gt; ------- You are receiving this mail because: -------
&gt; You are on the CC list for the bug.
&gt; You reported the bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>