Bug 278921

Summary: can't save metadata after deleting certain entries
Product: [Applications] amarok Reporter: Gandalf Lechner <gandalflechner>
Component: Metadata Editing and ReadingAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: normal CC: 123kash
Priority: NOR    
Version: 2.4-GIT   
Target Milestone: 2.5   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In: 2.5
Sentry Crash Report:

Description Gandalf Lechner 2011-07-31 10:18:23 UTC
Version:           2.4.1
OS:                Linux

when editing metadata for a file, the "save" button is inactive (greyed out) when certain entries are deleted, making it impossible to save such changes. for example, i wanted to delete the track number for a file, but can't save that. this is also true for deleting the year, but it works for example when erasing the album oder artist.

Reproducible: Always

Steps to Reproduce:
delete metadata of the types described above

Actual Results:  
can't save

Expected Results:  
can save

OS: Linux (x86_64) release 2.6.38-11-generic
Compiler: gcc
Comment 1 Myriam Schweingruber 2011-08-01 08:33:44 UTC
Are these files part of the collection?
Comment 2 Gandalf Lechner 2011-08-01 09:09:02 UTC
(In reply to comment #1)
> Are these files part of the collection?

yes they are
Comment 3 Myriam Schweingruber 2011-08-03 10:07:31 UTC
Confirmed in current git
Comment 4 Sergey Ivanov 2011-08-06 10:04:33 UTC
Git commit 4308a7b87e56bef1a597fc1f807167ae5922fbfd by Sergey Ivanov.
Committed on 06/08/2011 at 11:29.
Pushed by ivanov into branch 'master'.

Made possible to empty numerical fields in TagDialog (track number, year, etc.).
BUG: 278921
FIXED-IN: 2.4.4

M  +1    -0    src/CMakeLists.txt
M  +18   -13   src/dialogs/TagDialogBase.ui
A  +42   -0    src/widgets/ClearSpinBox.cpp     [License: GPL (v2+)]
M  +0    -7    src/dialogs/TagDialog.cpp
A  +35   -0    src/widgets/ClearSpinBox.h     [License: GPL (v2+)]

http://commits.kde.org/amarok/4308a7b87e56bef1a597fc1f807167ae5922fbfd