Bug 127627 - use .stg .stv .str files for galleries in LO
Summary: use .stg .stv .str files for galleries in LO
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Gallery
  Show dependency treegraph
 
Reported: 2019-09-18 19:04 UTC by andreas_k
Modified: 2022-02-11 09:10 UTC (History)
6 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 2019-09-18 19:04:34 UTC
the gallery themes in LibO are no .stg .stv .str files they are linked .png or svg files.

.stg .stv .str files have the big issue that you can't edit each single graphic, but you can use there shapes and elements which were drawn with LibreOffice and than it's very easy to edit the gallery items when move into your document. If you add svg it's an graphic and you can't edit line, area colors, or any property.

So if someone can have a look at this patch or show me how to add an gallery to core, let me know.


https://gerrit.libreoffice.org/#/c/77480/
Comment 1 Heiko Tietze 2019-09-19 05:51:58 UTC
What can we do, Tomaz?
Comment 2 andreas_k 2019-09-19 07:07:58 UTC
Best solution would be to use .odg file for each symbol and link the .odg file like we do with .svg but add image dialogue didn't allow .odg files at gallery dialogue.
Comment 3 Heiko Tietze 2019-09-19 07:24:48 UTC
(In reply to andreas_k from comment #2)
> Best solution would be to use .odg file for each symbol and link the .odg
> file like we do with .svg but add image dialogue didn't allow .odg files at
> gallery dialogue.

Which was requested and rejected in bug 126934.
Comment 4 Xisco Faulí 2019-09-25 15:52:12 UTC
Hi Andreas,
The patch mentioned in the description was abandoned.
What should we do with this ticket ?
Comment 5 andreas_k 2019-09-25 17:38:40 UTC
Restored.

I dont know how the patch will work. Thats the reason of the bug report.
Comment 6 Heiko Tietze 2020-01-21 14:24:25 UTC
Don't see need for input from UX. Special binary formats are awkward for collaboration and sustainability, I wouldn't use st? files. Open document might be an option although I don't see how that could work.
Comment 7 Xisco Faulí 2020-01-21 14:26:27 UTC
(In reply to Heiko Tietze from comment #6)
> Don't see need for input from UX. Special binary formats are awkward for
> collaboration and sustainability, I wouldn't use st? files. Open document
> might be an option although I don't see how that could work.

@Andreas, any other input needed? Otherwise, I would suggest to close this issue as RESOLVED INVALID ( same as bug 126934 )
Comment 8 andreas_k 2020-01-21 16:22:40 UTC
I will submit this binary blocks for LibreOffice gallery stuff in the next month so if you want binary blocks, someone has to fix this bug otherwise it's how LibreOffice gallery stuff will work.
Comment 9 QA Administrators 2020-01-22 03:39:03 UTC Comment hidden (obsolete)
Comment 10 BogdanB 2020-09-16 17:23:36 UTC
Andreas and Heiko, something change about Gallery recently with "google summer of code". Have something change about this bug?...
Comment 11 Heiko Tietze 2020-09-16 17:43:19 UTC
It's not finished yet, AFAIK.
Comment 12 Xisco Faulí 2021-11-23 11:02:51 UTC
(In reply to Heiko Tietze from comment #11)
> It's not finished yet, AFAIK.

Hello Andreas, Heiko,
What is the status of this issue?
Comment 13 Heiko Tietze 2021-11-23 13:46:11 UTC
Still against binary blobs. The gallery content should be raster or vector graphics zipped into some st? file.
Comment 14 Heiko Tietze 2022-02-11 09:10:23 UTC
Quoting myself from the similar requests in bug 126934 "ODG is a binary document file for text, format, drawings, images etc. stored together. There is no sane way to extract only a few information, meaning standard shapes, from this file and ignore the rest." and bug 147346 "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."