Bug 147346 - simplify gallery usage
Summary: simplify gallery usage
Status: RESOLVED DUPLICATE of bug 126934
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2022-02-10 13:33 UTC by andreas_k
Modified: 2022-02-11 09:08 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andreas_k 2022-02-10 13:33:44 UTC
If you want to make an LibO Gallery there are two options:
1. you draw the gallery item with shapes within LibO and move them to the gallery
2. you add an image file to the gallery

If you draw an gallery item with shapes, the drawing was stored in an binary block. To edit it, you have to move the gallery item from the gallery to the drawing area, edit it delete the item from the gallery and add it again.

It would be way easier (and without binary block), to save the drawing as .odg file in the gallery folder together with the images and by edit the .odg file, the gallery item was updated.

So at the end you have .odg files (eat your own dogfood) which you preview in the gallery (code from the welcome page). By copy file to the correct folder, the user can edit the gallery.

Label of the gallery item can be the group name of the gallery item (like you show in the navigator) or the filename, when no groupname was available.

Pictures, Audio, Video can be stored native OR within an .odg file. So you have full flexibility and easy to maintain.
Comment 1 andreas_k 2022-02-10 13:35:17 UTC
as there is for all galeries within LibO an .odg drawing available, I can offer to do the update of the gallery content within LibO.
Comment 2 Heiko Tietze 2022-02-11 09:08:31 UTC
You asked for this in bug 126934 and related in bug 127627 to "use .stg .stv .str files". In fact, the gallery is build pretty straightforward from graphics and even audio files in extra/source/gallery/. Don't see how this can be made simpler.

*** This bug has been marked as a duplicate of bug 126934 ***