After inserting (loading) the icon and saving the document, the icon is not saved and is not displayed when you open the dialog box.
Steps to Reproduce:
1. Create a dialog in any document, add a button to it, add an icon (graphics) from any file to this control.
2. Save the document, close LO.
3. Open LO and open the document but the icon was not saved.
The icon is visible at first, but then disappears. After reopening the file, the Graphics property shows something like: Pictures/1000000100000018000018E6444D7B53297AD8.png
There is no such folder in the file structure. Poltergeist.
The icon should be displayed at least on the same button or other control (e.g., image control, etc.)
User Profile Reset: No
This is a long-standing bug, but I couldn't find any duplicates of it.
Created attachment 178840 [details]
RefEdit Control Demo
How to add an icon like Shrink.png to the buttons?
Version: 184.108.40.206 / LibreOffice Community
Build ID: eead5aec017556e2cdbf9dfff06537ec58969b73
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Win 10 LO 220.127.116.11 - same problem.
I think, that bug 131290 or bug 123167 covers your problem. If yes, please set this report as duplicate.
BTW, as far as I know, the ImageURL property of a command button in a Basic dialog expects an absolute URL.
Yes, both bugs indicate the same problem.
*** This bug has been marked as a duplicate of bug 123167 ***