Bug 101052 - Info List View : Adding File remove Meta Data (Reload needed)
Summary: Info List View : Adding File remove Meta Data (Reload needed)
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: file list view (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-07 20:59 UTC by Sebastien
Modified: 2005-03-18 23:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastien 2005-03-07 20:59:15 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    Compiled From Sources

* Open a directory containing MP3s or images
* Switch to "Info List View" view (View -> View Type -> Info List View)
* Wait Konquror to load Meta Data in the view
* Now, add (paste) a file into this folder
* All meta-data will dissappear, but the new file will have meta-data inside
* Press Reload and all is back in the good order (every file have meta-data displayed on side of it)

Obviously, when adding/pasting a file, meta-data should stay, only the new file should load its meta-data.

As a side effect, I like to paste a cover.png file into a directory full of MP3s: the meta-data, *after a refresh*, still display song meta-data (and not image meta-data like resolution, what I don't care of my songs folder).
When fixing this bug, please consider to keep this behaviour.
Because when pasting a picture in a songs folder, meta-data show pictures-related meta-data, what it shouldn't (and what it doesn't do after a refresh).
Comment 1 Pascal Létourneau 2005-03-18 23:42:15 UTC
CVS commit by pletourn: 

Don't clear the old metainfos after adding a new item
BUG:101052


  M +3 -1      konq_infolistviewwidget.cc   1.11.4.1


--- kdebase/konqueror/listview/konq_infolistviewwidget.cc  #1.11:1.11.4.1
@@ -223,4 +223,5 @@ void KonqInfoListViewWidget::slotNewItem
     slotUpdateBackground();
 
+    if ( !m_favorite.mimetype )
     determineCounts(list);
 
@@ -278,4 +279,5 @@ void KonqInfoListViewWidget::slotClear()
     delete m_metaInfoJob;
     m_metaInfoJob = 0;
+    m_favorite = KonqILVMimeType();
 
     KonqBaseListViewWidget::slotClear();