Bug 126218

Summary: Switching from details-view to thumbnail-view looses correct selection of images
Product: [Applications] gwenview Reporter: Philipp Sternberg <philipp.sternberg>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Philipp Sternberg 2006-04-25 13:56:01 UTC
Version:           1.3.1 (using KDE 3.5.1, Debian Package 4:3.5.1-2 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.14.2y

Hey folks,

I select pictures in gwenview's detail-view (browsing mode).
Then I switch to one of the thumbnail-views.
Unfortunatly only the picture I selected at last and up to one other picture is marked as selected.

Let me give an example:

I have five pictures named picture1.jpg, picture2.jpg ..... picture5.jpg
Let's assume the list in the detail-view is sorted by name (not relevant for the bug, just for demonstration purposes...).

Now i select (in that order) picture5.jpg picture4.jpg picture3.jpg
When i switch to the thumbnail-view then picture5.jpg is selected and picture3.jpg is selected (and highlighted), however, picture4,jpg is neither selected nor highlighted...

If the picture selected at last happens to be the last (most bottom) in the detail-list only this picture is marked (and highlighted) in the thumbnail-view.....

Regards

Philipp
Comment 1 Konrad Urlichs 2006-09-20 18:36:03 UTC
I can confirm this bug:
version  1.3.92
kde 3.5.4
Comment 2 Angelo Naselli 2006-09-21 09:25:12 UTC
Are you referring to kipi-plugins slideshow or gwenview one?
In the first case (plugin menu) it should have been added in current svn.

Regards,        
        Angelo
Comment 3 Konrad Urlichs 2006-09-21 12:49:06 UTC
Ciao Angelo,
I do not quite understand your question. This bug just refers to the "browse" window of gwenview. Nothing to do with kipi plugin, I think. Maybe that answered the question.
Konrad
Comment 4 Angelo Naselli 2006-09-21 13:05:08 UTC
> This bug just refers to the "browse" window of gwenview.

gwenview then.
you can try kipi-plugins slideshow by chosing plugins/tool/slideshow  
> Nothing to do with kipi plugin, I think. Maybe that answered the question.  

It should ;)


Angelo
Comment 5 Angelo Naselli 2006-09-21 14:51:53 UTC
But what worst I answered to the wrong bug :(

Today my mail server is not good, and i'm confused :/
Sorry for my intrusion :)

Angelo
Comment 6 Aurelien Gateau 2006-11-03 16:31:58 UTC
SVN commit 601542 by gateau:

Do not unselect other items when selecting one
BUG: 126218


 M  +1 -1      filethumbnailview.cpp  


--- trunk/extragear/graphics/gwenview/gvcore/filethumbnailview.cpp #601541:601542
@@ -484,7 +484,7 @@
 	if (!fileItem) return;
 
 	FileThumbnailViewItem* iconItem=viewItem(this, fileItem);
-	if (iconItem) QIconView::setSelected(iconItem,enable);
+	if (iconItem) QIconView::setSelected(iconItem, enable, true /* do not unselect others */);
 }