Bug 170019 - daily build has wrong path to gallery in chart data point properties type Icon
Summary: daily build has wrong path to gallery in chart data point properties type Icon
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
26.8.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Heiko Tietze
URL:
Whiteboard: target:26.8.0 target:26.2.0.2
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Impress-Bullet-Number Gallery
  Show dependency treegraph
 
Reported: 2025-12-17 10:45 UTC by Regina Henschel
Modified: 2025-12-26 14:42 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Chart to reproduce the error (15.56 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-12-17 10:45 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2025-12-17 10:45:22 UTC
Created attachment 204689 [details]
Chart to reproduce the error

The data point icon type "gallery" has a wrong path for the gallery. Should point to .../share/gallery/bullets/ in the installation path. Instead it has
file:///home/ht/sources/libreoffice/extras/source/gallerey/bullets/

Open attached document
Bring chart into edit mode
Select data series and open its properties
On tab page "line" open the drop-down for Icon and go to type Gallery.
It opens and you get a list of provided icons.

Because the path is wrong, selecting a bullet from that list does not work. If you try it, the data point becomes invisible.

I see the error with a new user profile in Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
Comment 1 m_a_riosv 2025-12-17 23:09:51 UTC
Reproducible
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 680(Build:0)
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 2 m_a_riosv 2025-12-17 23:13:59 UTC
Also reproducible with
Version: 26.2.0.0.beta1 (X86_64)
Build ID: 620(Build:0)
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded

Last working
Version: 25.8.4.2 (X86_64)
Build ID: 290daaa01b999472f0c7a3890eb6a550fd74c6df
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 3 Regina Henschel 2025-12-18 09:41:54 UTC
It is OK in Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b1c0c4838d2e006ffa8e72516569ce8d13bdbe01
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
That is of 2025-09-30

It is broken in a build of 2025-10-27. At that time the Build ID was missing in the About-info.
Comment 4 Saburo 2025-12-18 23:46:00 UTC
bibisected with linux-64-26.2
commit 480ef73deef62c458e5735cd496a1d74ef408ed8
author	Heiko Tietze

Revert^2 "tdf#139076 update Bullet icons with sexy .svg icons"

This reverts commit 45e8dcec908878c07e3835fde7aa9db754d45ace.

Reason for revert: Misses just an update for bullets.sdm/thm and png's

Change-Id: Ic62efdbf78a96dfbec577f6d6f81a07145759678
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193029

***
adding CC: Heiko Tietze
please, take a look?
Comment 5 Heiko Tietze 2025-12-20 09:12:37 UTC
Bo0th, bullet.sdg and .thm contain the reference to my local file system. The Gallery files are binary and I have no idea how to create except via the sidebar, which ends in this situation.

Any idea Regina, or how to progress?

Supposedly the updated bullets are shown in the B&N dialog. IIRC it is read from the PNGs but those require a Gallery as well, at least it was the issue with https://gerrit.libreoffice.org/c/core/+/109532.
Comment 6 Regina Henschel 2025-12-20 15:52:35 UTC
(In reply to Heiko Tietze from comment #5)
> Any idea Regina, or how to progress?

No idea. I've seen your mail to the dev-list. Maybe you get infos there.

There are some hints in the README.md of module extras.
Comment 7 Regina Henschel 2025-12-20 17:06:16 UTC
It seems gengal.exe in the program folder is related, to be run from command line.
It's help says
Utility to generate LibreOffice gallery files

using: gengal --name <name> --path <dir> [ --destdir <path> ]
              [ files ... ]

options:
 --name <theme>         defines the user visible name of the created or updated theme.
 --path <dir>           defines directory where the gallery files are created
                        or updated.
 --destdir <dir>        defines a path prefix to be removed from the paths
                        stored in the gallery files. It is useful to create
                        RPM packages using the BuildRoot feature.
 --relative-urls                flags that after removing the destdir, the URL should be a path relative to the gallery folder in the install
                        primarily used for internal gallery generation at compile time.
                        theme files.
 files                  lists files to be added to the gallery. Absolute paths
                        are required.
Comment 8 Heiko Tietze 2025-12-22 09:45:06 UTC
(In reply to Regina Henschel from comment #7)
> It seems gengal.exe in the program folder is related...
Thanks a lot, this solved the problem. Patch submitted under https://gerrit.libreoffice.org/c/core/+/196081
Comment 9 Commit Notification 2025-12-22 21:37:54 UTC
Heiko Tietze committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/bffea76bd1b1a53a68afb7aabf208c891d942649

Resolves tdf#170019 - Relative links in Bullets gallery

It will be available in 26.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 10 Heiko Tietze 2025-12-23 05:58:47 UTC
Please test the patch.
Comment 11 Regina Henschel 2025-12-23 20:14:48 UTC
The bullets are now shown with the correct path. Tested with own build of current master. Thus "gengal" seems the way to go till the Gallery is converted to something using XML.

However, the quality of the bullets is bad. Why not svg? AOO1.4 has, besides the old gif images, a lot of svg images in its "bullets" gallery theme.
Comment 12 Saburo 2025-12-24 04:00:15 UTC
missing cross-red.png

another issue
cross-red.png is glay
https://opengrok.libreoffice.org/xref/core/extras/source/gallery/bullets/cross-red.png?r=480ef73deef62c458e5735cd496a1d74ef408ed8

Will the square bullets from before commit 480ef73deef62c458e5735cd496a1d74ef408ed8 ever be revived?
Comment 13 Heiko Tietze 2025-12-24 07:56:15 UTC
Thanks for testing. Going to revert the previous patch and applying the updated version from https://gerrit.libreoffice.org/c/core/+/196186. It has a now red cross and SVG icons (thought at some point this caused the Gallery not to work but actually it was my misunderstanding of the destdir parameter).
Comment 14 Heiko Tietze 2025-12-24 10:14:16 UTC
(In reply to Heiko Tietze from comment #13)
> Going to revert the previous patch...
Works without reverting
Comment 15 Commit Notification 2025-12-24 10:14:19 UTC
Heiko Tietze committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/49b705a47754be5e7fa0490d6ef3965820144ff5

Resolves tdf#170019 - Relative links in Bullets gallery

It will be available in 26.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 16 Regina Henschel 2025-12-25 22:05:02 UTC
The new Bullets Gallery works now. Tested with own build Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: 2a149fcc6a1e378a6ee356ba032757a8b1b332ea
CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded
Comment 17 Commit Notification 2025-12-26 14:42:23 UTC
Heiko Tietze committed a patch related to this issue.
It has been pushed to "libreoffice-26-2":

https://git.libreoffice.org/core/commit/806794add0115c2896ed19f52e51f89492b8c4f4

Resolves tdf#170019 - Relative links in Bullets gallery

It will be available in 26.2.0.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.