<?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>263693</bug_id>
          
          <creation_ts>2011-01-19 22:59:00 +0000</creation_ts>
          <short_desc>JJ: The Delete Tracks dialog is misleading/ambiguous</short_desc>
          <delta_ts>2012-03-08 21:41:16 +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>Collection Browser</component>
          <version>2.4-GIT</version>
          <rep_platform>Unlisted Binaries</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>junior-jobs, usability</keywords>
          <priority>NOR</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>2.4.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Allen">paul.l.allen</reporter>
          <assigned_to name="Amarok Bugs">amarok-bugs-null</assigned_to>
          <cc>matej</cc>
    
    <cc>paul.l.allen</cc>
    
    <cc>ryan.mccoskrie</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>2.6</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1075773</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Allen">paul.l.allen</who>
    <bug_when>2011-01-19 22:59:00 +0000</bug_when>
    <thetext>Version:           2.3.2 (using KDE 4.5.4) 
OS:                Linux

In Amarok 2.3.2, if you right click on an artist in a collection on a music player and pick &quot;Delete Tracks&quot;, you get a confirmation dialog with this text: &quot;Do you really want to delete these tracks? They will be removed from disk as well as your collection.&quot;, along with a list of the pathnames that will be removed. Depending on the source of the mp3&apos;s, the names might be meaningful or complete gibberish.

The message is pretty clear that it is going to remove the tracks from two places, but the paths are all on the mounted player and not in the collection on my computer. Given that Amarok is, umm, not quite finished, what is it going to do? Until now, I didn&apos;t have the courage to find out.

In fact, the tracks are only removed from the player. The message is misleading. I suggest that the dialog ask, &quot;Do you really want to remove these tracks from collection &apos;Foo&apos;?&quot; The distinction between removal from the &quot;disk&quot; and from the &quot;collection&quot; probably exists only in the mind of an Amarok developer and should not be exposed to users. If you&apos;re going to impose an abstraction called &quot;collection&quot; between the user and his storage devices, you need to stick strictly to it.

Reproducible: Always

Steps to Reproduce:
Setup: A large music collection on the computer, a subset on a portable player.
Select some tracks while browsing on the portable player.
Right-click and pick Delete Tracks.
Observe the resulting dialog.


Actual Results:  
The dialog appears to state that it will remove the tracks in *two* locations.  This could be interpreted to mean the portable device and the computer.  In fact, the tracks are only removed from the portable player, the correct behavior, but this is not clear beforehand.

Expected Results:  
A better message would say simply that the tracks will be removed from the collection.  Best would be to name the collection.

OS: Linux (x86_64) release 2.6.34.6-47.fc13.x86_64
Compiler: gcc
Portable player: iPod Video, iPod Classic</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1116067</commentid>
    <comment_count>1</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2011-05-07 11:32:01 +0000</bug_when>
    <thetext>Could you please upgrade to a newer Amarok version and test again? Current is Amarok 2.4.0, Amarok 2.4.1 is to be released tomorrow.

Please report back.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1132667</commentid>
    <comment_count>2</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2011-06-18 22:15:51 +0000</bug_when>
    <thetext>Any news on this? Without feedback within 2 weeks I will close this report.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1132736</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Allen">paul.l.allen</who>
    <bug_when>2011-06-19 06:16:18 +0000</bug_when>
    <thetext>In 2.4.1, the dialog uses &quot;move to the trash&quot; instead of &quot;delete&quot;.  No significant change since 2.3.2.  The issue I reported has not been addressed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1132894</commentid>
    <comment_count>4</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2011-06-19 15:42:33 +0000</bug_when>
    <thetext>Thank you for the feedback.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150207</commentid>
    <comment_count>5</comment_count>
    <who name="Ryan McCoskrie">ryan.mccoskrie</who>
    <bug_when>2011-08-05 11:19:30 +0000</bug_when>
    <thetext>Just checked from the latest code. This inconstancy is still present. I&apos;m familiarising my self with the relevant code for fixing it right now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1150902</commentid>
    <comment_count>6</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2011-08-07 10:19:47 +0000</bug_when>
    <thetext>Thank you Ryan. Please also make sure to get in touch with our developers either via #amarok on irc.freenode.net or by sending a mail to amarok-devel@kde.org.

You can submit your patch to http://reviewboard.kde.org (you will need an account on http://identity.kde.org first).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1180616</commentid>
    <comment_count>7</comment_count>
    <who name="Bart Cerneels">bart.cerneels</who>
    <bug_when>2011-11-03 20:07:20 +0000</bug_when>
    <thetext>Git commit c38f70b6ba2f3ddf1eecf66ce42aca8407b2db02 by Bart Cerneels.
Committed on 03/11/2011 at 21:05.
Pushed by shanachie into branch &apos;master&apos;.

Make delete track dialog less confusing.

TODO: we should probably add the collection name in there but need some
refactoring.

Patch by Gilles Habran.

BUG:263693
FIXED-IN: 2.5
REVIEW: 103026

M  +2    -0    ChangeLog
M  +4    -4    src/core-impl/collections/support/CollectionLocationDelegateImpl.cpp

http://commits.kde.org/amarok/c38f70b6ba2f3ddf1eecf66ce42aca8407b2db02</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1181442</commentid>
    <comment_count>8</comment_count>
    <who name="Matěj Laitl">matej</who>
    <bug_when>2011-11-05 19:52:46 +0000</bug_when>
    <thetext>Bart, I think the fix is not complete. The original description said:

&gt; In fact, the tracks are only removed from the player. The message is
&gt; misleading. I suggest that the dialog ask, &quot;Do you really want to remove these
&gt; tracks from collection &apos;Foo&apos;?&quot; The distinction between removal from the &quot;disk&quot;
&gt; and from the &quot;collection&quot; probably exists only in the mind of an Amarok
&gt; developer and should not be exposed to users.

The reporter, Paul, made a good point here about minds of Amarok devs.

The message now is: &quot;Do you really want to delete this track? It will be removed from your collection.&quot; and the &quot;collection&quot; word is hardcoded. It should much rather use collection-&gt;prettyName() instead, so that it gives nice &quot;Local Collection&quot; and &quot;iPod&quot; etc. for media devices.

https://git.reviewboard.kde.org/r/102236/ also deals with another aspect of the bug, I&apos;ll lok at it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1234037</commentid>
    <comment_count>9</comment_count>
    <who name="Matěj Laitl">matej</who>
    <bug_when>2012-03-08 21:41:16 +0000</bug_when>
    <thetext>Git commit e90844f6028017c571455dfdf4467c0d87449431 by Matěj Laitl.
Committed on 08/03/2012 at 22:36.
Pushed by laitl into branch &apos;master&apos;.

Better &quot;Really delete/trash/move&quot; dialogs, include track title and artist

This patch is heavily based on Ryan McCoskrie&apos;s &lt;ryan.mccoskrie@gmail.com&gt;
work in the review request, cleaned up and mover further by me.
FIXED-IN: 2.6
REVIEW: 102236

M  +70   -68   src/core-impl/collections/support/CollectionLocationDelegateImpl.cpp
M  +6    -0    src/core-impl/collections/support/CollectionLocationDelegateImpl.h
M  +1    -1    src/core-impl/collections/support/TrashCollectionLocation.cpp

http://commits.kde.org/amarok/e90844f6028017c571455dfdf4467c0d87449431</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>