https://bugs.kde.org/show_bug.cgi?id=307330
Bug ID: 307330 Severity: normal Version: 2.5.0 Priority: NOR Assignee: [hidden email] Summary: digicam does not connect to the album folder automatically unless it has been preselected in my folders Classification: Unclassified OS: Linux Reporter: [hidden email] Hardware: Ubuntu Packages Status: UNCONFIRMED Component: Albums GUI Product: digikam digicam does not connect to the album folder automatically unless it has been preselected in my folders Reproducible: Always Steps to Reproduce: 1. if my document folder is open in the background, no problem 2. if my documents folder is closed, folder with album is not connected, but application opens without albums 3. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
https://bugs.kde.org/show_bug.cgi?id=307330
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #1 from Gilles Caulier <[hidden email]> --- Please check if problem still reproducible with last 2.9.0 release. Gilles Caulier -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Toelle
https://bugs.kde.org/show_bug.cgi?id=307330
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Gilles Caulier <[hidden email]> --- *** This bug has been marked as a duplicate of bug 287102 *** -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Toelle
https://bugs.kde.org/show_bug.cgi?id=307330
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Version Fixed In| |4.0.0 Resolution|DUPLICATE |FIXED Latest Commit| |http://commits.kde.org/digi | |kam/7aa8ffde3f05c36857ee0e3 | |6d0131be0affa9b54 --- Comment #3 from Gilles Caulier <[hidden email]> --- Git commit 7aa8ffde3f05c36857ee0e36d0131be0affa9b54 by Veaceslav Munteanu. Committed on 10/12/2013 at 00:59. Pushed by munteanu into branch 'master'. Fix wrong album selected when restoring selection on start-up M +1 -5 digikam/album/albumtreeview.cpp M +5 -1 digikam/date/datefolderview.cpp http://commits.kde.org/digikam/7aa8ffde3f05c36857ee0e36d0131be0affa9b54 diff --git a/digikam/album/albumtreeview.cpp b/digikam/album/albumtreeview.cpp index 6504743..ba882dd 100644 --- a/digikam/album/albumtreeview.cpp +++ b/digikam/album/albumtreeview.cpp @@ -542,9 +542,9 @@ void AbstractAlbumTreeView::slotCurrentChanged() { QList<Album*> selected = selectedAlbums<Album>(selectionModel(), m_albumFilterModel); + if(selected.isEmpty()) return; - emit currentAlbumChanged(selected.first()); } @@ -951,10 +951,6 @@ void AbstractAlbumTreeView::doSaveState() currentIndex = QString::number(selectedAlbum->id()); } - // kDebug() << "selection: " << selection; - // kDebug() << "expansion: " << expansion; - // kDebug() << "currentIndex: " << currentIndex; - configGroup.writeEntry(entryName(d->configSelectionEntry), selection); configGroup.writeEntry(entryName(d->configExpansionEntry), expansion); configGroup.writeEntry(entryName(d->configCurrentIndexEntry), currentIndex); diff --git a/digikam/date/datefolderview.cpp b/digikam/date/datefolderview.cpp index f5e40d4..02486c2 100644 --- a/digikam/date/datefolderview.cpp +++ b/digikam/date/datefolderview.cpp @@ -84,7 +84,6 @@ DateFolderView::DateFolderView(QWidget* const parent, DateAlbumModel* const date d->dateTreeView = new DateAlbumTreeView(this); d->dateTreeView->setAlbumModel(dateAlbumModel); - d->dateTreeView->setSelectAlbumOnClick(true); d->dateTreeView->setAlbumManagerCurrentAlbum(true); d->monthview = new MonthWidget(this); @@ -156,6 +155,11 @@ void DateFolderView::slotSelectionChanged(Album* selectedAlbum) d->monthview->setActive(true); d->monthview->setYearMonth(date.year(), date.month()); } + + if (d->active) + { + AlbumManager::instance()->setCurrentAlbums(QList<Album*>() << dalbum); + } } void DateFolderView::slotAllAlbumsLoaded() -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |