<?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>290369</bug_id>
          
          <creation_ts>2012-01-02 06:34:54 +0000</creation_ts>
          <short_desc>Amarok won&apos;t notify when editing read-only files</short_desc>
          <delta_ts>2012-06-21 20:36:55 +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>File Browser</component>
          <version>2.5.0</version>
          <rep_platform>Ubuntu</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>0</everconfirmed>
          <reporter name="Ran Rutenberg">ran.rutenberg</reporter>
          <assigned_to name="Amarok Bugs">amarok-bugs-null</assigned_to>
          
          
          <cf_commitlink>http://commits.kde.org/amarok/71acc98347f7f1929f3e27a0ba70693380377c17</cf_commitlink>
          <cf_versionfixedin>2.6</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>20</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1207731</commentid>
    <comment_count>0</comment_count>
    <who name="Ran Rutenberg">ran.rutenberg</who>
    <bug_when>2012-01-02 06:34:54 +0000</bug_when>
    <thetext>Version:           2.4.3 (using KDE 4.7.3) 
OS:                Linux

If you try to Edit Track Details of a read-only file, Amarok fails to issue any warning. Instead when you click Save &amp; Close, the dialog closes without making any change.

Reproducible: Always

Steps to Reproduce:
1. Right click on a read-only file in the Media Sources panel.
2. Choose Edit Track Details
3. Make some changes.
4. Click Save &amp; Close

Actual Results:  
Nothing happans

Expected Results:  
A warning should be issued so the user will know that he tried to edit a read-only file, thus allowing him to change the file permission (instead of losing all the changes).

OS: Linux (x86_64) release 3.0.0-14-generic
Compiler: gcc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1207815</commentid>
    <comment_count>1</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2012-01-02 11:17:41 +0000</bug_when>
    <thetext>If files are indeed read-only they are not editable at all and are grayed out in the editor.. 
You didn&apos;t per chance try to add id3 tags to wav files, didn&apos;t you? wav is not a container where you can add id3 tags. See also http://en.wikipedia.org/wiki/ID3#Implementation_in_non-mp3s_and_alternatives</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1207858</commentid>
    <comment_count>2</comment_count>
    <who name="Ran Rutenberg">ran.rutenberg</who>
    <bug_when>2012-01-02 12:40:43 +0000</bug_when>
    <thetext>It happened to me using Ogg Vorbis and Flac files when the file permission was set to read-only (as are the files when you rip them from a CD in Kubuntu).
The files were not grayed out when I did the steps I described in the Steps to Reproduce in the original bug report. Indeed, having the files grayed out will solve this problem.
Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1207959</commentid>
    <comment_count>3</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2012-01-02 15:28:43 +0000</bug_when>
    <thetext>Could you please upgrade to Amarok 2.5 and try again? I can&apos;t reproduce this here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1208410</commentid>
    <comment_count>4</comment_count>
    <who name="Ran Rutenberg">ran.rutenberg</who>
    <bug_when>2012-01-03 07:50:06 +0000</bug_when>
    <thetext>Hi,
I did some more checking. In order to reproduce you need to try edit the tags of a read-only file that is NOT part of your local collection (read-only files in the local collection are indeed grayed out but files that are not part of it aren&apos;t). One can access those files using the Files option in the Media Sources side pane (instead of the Local Music option) This problem also happened when I used Amarok 2.5.

Updated Steps to Reproduce:
1. Select a read-only file through Media Sources -&gt; Files that is not part of your local collection.
2. Right click on it and choose Edit Track Details
3. Make some changes.
4. Click Save &amp; Close</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1208422</commentid>
    <comment_count>5</comment_count>
    <who name="Myriam Schweingruber">myriam</who>
    <bug_when>2012-01-03 08:22:31 +0000</bug_when>
    <thetext>Thank you for the fast feedback.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1268552</commentid>
    <comment_count>6</comment_count>
    <who name="Ralf Engels">ralf-engels</who>
    <bug_when>2012-06-21 20:36:55 +0000</bug_when>
    <thetext>Git commit 71acc98347f7f1929f3e27a0ba70693380377c17 by Ralf Engels.
Committed on 19/06/2012 at 15:04.
Pushed by rengels into branch &apos;master&apos;.

Don&apos;t supply EditCapabilities if FileTrack is not writable
FIXED-IN: 2.6

M  +5    -2    src/core-impl/meta/file/File.cpp

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

    </bug>

</bugzilla>