Opened 18 years ago
Closed 18 years ago
#702 closed patch (fixed)
Various improvements to MythGallery
Reported by: | DanielSherwood | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythgallery | Version: | |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
1) Implement shuffle mode in singleviewers.
When using random slideshow, the same image can be repeated in close succession (due to the nature of rand()). It would be better to implement a shuffle algorithm where each image appears only once in a cycle. This patch adds a new set of clases to generate sequences for this functionality. Currently supported sequences are increment, decrement, random and shuffle. Whats more, the sequences can be navigated such that previously displayed images can be viewed even in random and shuffle mode.
Changes - glsingleview.cpp, glsingleview.g, singleview.cpp, singleview.h New - sequence.h
2) Implement delete in iconview and singleviewers.
Add functionality to delete images. In ill cases, the image file and any metadata is removed. In iconview, the directory is simply reloaded. In singleviewers, the advance/retreatFrame() function have been modified to skip missing image files. A menu item has been added to iconview and the new DELETE key works in all views.
Changes - main.cpp, iconview.cpp, iconview.h, glsingleview.cpp, singleview.cpp
3) Add keyboard event handling for rotate in iconview.
Added keyboard event handling for ROTATECW and ROTATECCW in iconview.
Changes - iconview.cpp
4) Add SLIDESHOW and RANDOMSHOW keyboard events.
Instead of using the menu to start the slideshow mode, it is now possibe to use SLIDESHOW and RANDOMSHOW to do this (whether the menu is selected or not). Behaviour of SELECT and PLAY remains as before.
Changes - main.cpp, iconview.cpp, glsingleview.cpp, singleview.cpp
Issues If you delete an image that is used as the thumbnail for the directory, the thumbnail is not updated.
Attachments (2)
Change History (4)
Changed 18 years ago by
Attachment: | mythplugins_702.patch added |
---|
comment:1 Changed 18 years ago by
Type: | defect → patch |
---|
Changed 18 years ago by
Attachment: | mythplugins_702_v2.patch added |
---|
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [8176]) Close #702 (MythGallery improvements) by applying patch.
Call srand to give proper random behaviour and delete thumbnails when they need regenerating so that directories get updated correctly.