Bug 123167 - BASIC: Pictures in buttons are not persistent in a dialog
Summary: BASIC: Pictures in buttons are not persistent in a dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
6.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
: 147944 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-05 01:43 UTC by Douglas R Almeida
Modified: 2024-10-04 03:12 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Doc with a dialog and a button (9.72 KB, application/vnd.oasis.opendocument.text)
2019-02-05 01:44 UTC, Douglas R Almeida
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas R Almeida 2019-02-05 01:43:44 UTC
Description:
When I set a picture to a button in Basic Dialog Editor, it works.
But, I save the dialog and the file and, after reopening, all pictures have gone.

Steps to Reproduce:
1.Go to Tools - Macros - Organize Dialogs, and then click New.
2.Afer give a name, click in Edit. The Basic dialog editor opens.
3.Add a button. Set a picture.
4.Save the dialog and the file.
5.Close the file.
6.Reopen the file and go to Dialog Editor again.


Actual Results:
The button is shown without the picture.

Expected Results:
The button should be shown with the picture.


Reproducible: Always


User Profile Reset: No



Additional Info:
Versão: 6.2.0.3 (x64)
ID de compilação: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
Threads da CPU:4; SO:Windows 10.0; Realizador da interface: padrão; VCL: win; 
Local: pt-BR (pt_BR); Idioma de IU: pt-BR
Calc: threaded
Comment 1 Douglas R Almeida 2019-02-05 01:44:52 UTC
Created attachment 148884 [details]
Doc with a dialog and a button
Comment 2 raal 2019-02-05 06:17:17 UTC
Confirm with Version: 6.3.0.0.alpha0+
Build ID: 1ac54de7869d5809a312acad0a37d48028ad9d3b
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 


regression, works in Version: 4.1.0.0.alpha1+
Build ID: a2c9d4f8bbde97f175bae4df771273a61251f40
Comment 3 Oliver Brinzing 2019-02-05 18:18:53 UTC
maybe a dup of:

Form-Control: Button lost icon
https://bugs.documentfoundation.org/show_bug.cgi?id=121044
Comment 4 Oliver Brinzing 2019-02-07 18:30:38 UTC
reproducible with;

Version: 6.1.5.2 (x64)
Build ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
CPU threads: 4; OS: Windows 10.0; UI render: default; 
Locale: de-DE (de_DE); Calc: 

dialog1.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "dialog.dtd">
<dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="Dialog1" dlg:left="140" dlg:top="63" dlg:width="196" dlg:height="135" dlg:closeable="true" dlg:moveable="true">
 <dlg:bulletinboard>
  <dlg:button dlg:id="CommandButton1" dlg:tab-index="0" dlg:left="31" dlg:top="25" dlg:width="145" dlg:height="74" dlg:value="CommandButton1" dlg:image-src="Pictures/10000000000002C20000020182AD71E15F457B2B.jpg"/>
 </dlg:bulletinboard>
</dlg:window>

but "teste.odt" does not contain a folder "picture"

with lo 6.0.7.3 the graphic is linked, eg.:
dlg:image-src="file:///D:/Downloads/test.JPG"
Comment 5 Buovjaga 2020-06-05 19:46:25 UTC
(In reply to Oliver Brinzing from comment #3)
> maybe a dup of:
> 
> Form-Control: Button lost icon
> https://bugs.documentfoundation.org/show_bug.cgi?id=121044

I think it might be. However, it seems this is tricky to bibisect: tried with win32-6.1 repo and it has commits, where the image will simply not show, when you assign it to the button! Oldest and latest commits both work in this aspect at least. So I'm not sure how to confirm, if I can't see the image immediately after assigning it.

Any ideas?
Comment 6 QA Administrators 2022-06-06 03:27:04 UTC Comment hidden (obsolete)
Comment 7 raal 2022-10-04 21:11:01 UTC
*** Bug 147944 has been marked as a duplicate of this bug. ***
Comment 8 QA Administrators 2024-10-04 03:12:47 UTC
Dear Douglas R Almeida,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug