|
https://bugs.kde.org/show_bug.cgi?id=248087
Summary: Preview not toggling from video mode to image mode Product: digikam Version: 1.4.0 Platform: Compiled Sources OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Albums GUI AssignedTo: [hidden email] ReportedBy: [hidden email] Version: 1.4.0 (using KDE 4.4.4) OS: Linux The preview mode is not toggling from video to image, when "last_image_previewed == image_to_be_previewed" Reproducible: Always Steps to Reproduce: Have an album that has at least one still image and one video. 1) Preview the still image 2) Watch the video 3) Go back the the still image preview in step one (with the back/forward buttons, or clicking on the thumbnail) Actual Results: The image preview is not shown. The preview stays on the video. Expected Results: The image preview is shown. -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- 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=248087
--- Comment #1 from Berthier Lemieux <berthier_lemieux hotmail com> 2010-08-16 21:09:38 --- Created an attachment (id=50628) --> (http://bugs.kde.org/attachment.cgi?id=50628) Proposed patch -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- 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 Bugzilla from berthier_lemieux@hotmail.com
https://bugs.kde.org/show_bug.cgi?id=248087
--- Comment #2 from Berthier Lemieux <berthier_lemieux hotmail com> 2010-08-16 21:33:18 --- Hmm. I'm noob here, can't use the tools correctly, apologies. The patch submitted above address the error I just raised, the problem is that if ImagePreviewView::setImageInfo() is called with an imageInfo that is same as already in use, setImageInfo() did not do anything to change the albumwidgetstack mode back to image mode. I copied the code from ImagePreviewView::slotGotImagePreview, which after reflexion may not be the best thing to do here, at least I should have checked for isLoaded()... BTW, it would seem simpler & better to only emit signalPreviewLoaded(), instead of the current calls to d->stack: d->stack->setPreviewMode(AlbumWidgetStack::PreviewImageMode); d->stack->previewLoaded(); emit signalPreviewLoaded(true); Is there any special reason why it's like this? PPS. In my patch I also propose a small improvement to the mediaplayer logic: The assignment: KUrl url = info.fileUrl(); doesn't return an empty url, when info.isEmpty(). Media player was not stopped by stop(), but by a request to play(""). -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- 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 Bugzilla from berthier_lemieux@hotmail.com
https://bugs.kde.org/show_bug.cgi?id=248087
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] Summary|Preview not toggling from |Preview not toggling from |video mode to image mode |video mode to image mode | |[patch] -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- 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 Bugzilla from berthier_lemieux@hotmail.com
https://bugs.kde.org/show_bug.cgi?id=248087
--- Comment #3 from Berthier Lemieux <berthier_lemieux hotmail com> 2010-08-17 22:03:38 --- Created an attachment (id=50668) --> (http://bugs.kde.org/attachment.cgi?id=50668) Proposed patch, improved version Hi, here is a better fix for the issue, this time it handles the cases of images not yet loaded. I feel good about that one. In addition to the bug reported here, the patch fixes an other bug : the rotation icons are not disabled when image preview is loading. That leads to a situation where preview of image N is displayed, image N+1 preview is loading but not yet ready, user press one of the rotate button, image N+1 is rotated. I would expect that the image displayed (image N) would be rotated, not N+1. I suppose this is really minor in reality, but became very apparent with my test cases where I made the preview loading time to be *really* long. I also removed the signal signalPreviewLoaded() that wasn't used by anyone. -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- 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 Bugzilla from berthier_lemieux@hotmail.com
https://bugs.kde.org/show_bug.cgi?id=248087
--- Comment #4 from Gilles Caulier <caulier gilles gmail com> 2010-08-17 22:05:45 --- Thanks for your patch. If possible we will review your patch before 1.4.0 release planed this next sunday. Gilles Caulier -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- 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 Bugzilla from berthier_lemieux@hotmail.com
https://bugs.kde.org/show_bug.cgi?id=248087
Andi Clemens <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED --- Comment #5 from Andi Clemens <andi clemens gmx net> 2010-10-01 23:19:13 --- SVN commit 1181721 by aclemens: Apply patch by Berthier Lemieux BUG: 248087 M +2 -1 NEWS M +22 -14 digikam/imagepreviewview.cpp M +0 -1 digikam/imagepreviewview.h M +2 -1 digikam/mediaplayerview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1181721 -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- 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 Bugzilla from berthier_lemieux@hotmail.com
https://bugs.kde.org/show_bug.cgi?id=248087
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Version Fixed In| |1.5.0 -- 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 |
