Version: 0.8.2-rc1 (using KDE KDE 3.5.3) Installed from: Debian testing/unstable Packages OS: Linux - Sorting of current album is by file name - Rename a picture file via context-menu -> View of album should be updated automatically or -> There should be a keyboard shortcut available to refresh view ( like F5 in konqueror )
SVN commit 576154 by cgilles: digikam from trunk : albums gui : New menu option to force the refresh of album contents. The thumbnails will be recomputed by digikam kio-slave. Note: The keyboard shorcut for this action is F5 BUG: 128673 M +10 -1 digikamapp.cpp M +1 -0 digikamapp.h M +2 -1 digikamui.rc M +9 -1 digikamview.cpp M +1 -0 digikamview.h --- trunk/extragear/graphics/digikam/digikam/digikamapp.cpp #576153:576154 @@ -144,7 +144,7 @@ mValidIccPath = false; } - kdDebug() << "digikampp: " << tmpPath.dirName() << endl; + kdDebug() << "ICC profiles repository is: " << tmpPath.dirName() << endl; // Actual file scanning is done in main() - is this necessary here? mAlbumManager->setLibraryPath(mAlbumSettings->getAlbumLibraryPath()); @@ -458,6 +458,15 @@ mPropsEditAction->setWhatsThis(i18n("This option allows you to set the Album Properties information " "about the Collection.")); + mRefreshAlbumAction = new KAction( i18n("Refresh"), + "rebuild", + Key_F5, + mView, + SLOT(slot_albumRefresh()), + actionCollection(), + "album_refresh"); + mRefreshAlbumAction->setWhatsThis(i18n("This option refresh all album content.")); + mOpenInKonquiAction = new KAction( i18n("Open in Konqueror"), "konqueror", 0, --- trunk/extragear/graphics/digikam/digikam/digikamapp.h #576153:576154 @@ -199,6 +199,7 @@ KAction *mPropsEditAction; KAction *mAlbumImportAction; KAction *mOpenInKonquiAction; + KAction *mRefreshAlbumAction; // Tag Actions KAction *mNewTagAction; --- trunk/extragear/graphics/digikam/digikam/digikamui.rc #576153:576154 @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> -<kpartgui version="8" name="digikam" > +<kpartgui version="9" name="digikam" > <MenuBar> @@ -11,6 +11,7 @@ <Action name="album_new" /> <Separator/> <Action name="album_propsEdit" /> + <Action name="album_refresh" /> <Action name="album_openinkonqui" /> <Separator/> <Menu name="Import"><text>&Import</text> --- trunk/extragear/graphics/digikam/digikam/digikamview.cpp #576153:576154 @@ -98,17 +98,20 @@ QSplitter *splitter; DigikamApp *parent; + AlbumIconView *iconView; AlbumFolderView *folderView; AlbumManager *albumManager; AlbumHistory *albumHistory; + AlbumWidgetStack *albumPreviews; + Sidebar *leftSideBar; ImagePropertiesSideBarDB *rightSideBar; + DateFolderView *dateFolderView; TagFolderView *tagFolderView; SearchFolderView *searchFolderView; TagFilterView *tagFilterView; - AlbumWidgetStack *albumPreviews; }; DigikamView::DigikamView(QWidget *parent) @@ -575,6 +578,11 @@ new KRun(palbum->folderPath()); // KRun will delete itself. } +void DigikamView::slot_albumRefresh() +{ + d->iconView->refreshItems(d->iconView->allItems()); +} + void DigikamView::slotImageSelected() { bool selected = false; --- trunk/extragear/graphics/digikam/digikam/digikamview.h #576153:576154 @@ -77,6 +77,7 @@ void slot_albumPropsEdit(); void slot_albumAddImages(); void slot_albumOpenInKonqui(); + void slot_albumRefresh(); void slotAlbumImportFolder(); void slotAlbumHistoryBack(int steps=1); void slotAlbumHistoryForward(int steps=1);