Bug 147944 - A dialog control (e.g., button) does not save an icon
Summary: A dialog control (e.g., button) does not save an icon
Status: RESOLVED DUPLICATE of bug 123167
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.3.1.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-12 18:53 UTC by Igor
Modified: 2022-10-04 21:11 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
RefEdit Control Demo (11.60 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-03-12 18:57 UTC, Igor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Igor 2022-03-12 18:53:38 UTC
Description:
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.

Actual Results:
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.

Expected Results:
The icon should be displayed at least on the same button or other control (e.g., image control, etc.)


Reproducible: Always


User Profile Reset: No



Additional Info:
This is a long-standing bug, but I couldn't find any duplicates of it.
Comment 1 Igor 2022-03-12 18:57:29 UTC
Created attachment 178840 [details]
RefEdit Control Demo

How to add an icon like Shrink.png to the buttons?
Comment 2 Igor 2022-03-12 19:09:53 UTC
Version: 7.3.1.3 / 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
Calc: threaded

Win 10 LO 7.3.1.3 - same problem.
Comment 3 Regina Henschel 2022-03-13 01:44:46 UTC
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.
Comment 4 Igor 2022-03-13 05:24:05 UTC
Yes, both bugs indicate the same problem.
Comment 5 raal 2022-10-04 21:11:01 UTC

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