Bug 119988 - EDITING The Scale property of the image button form control cannot be modified
Summary: EDITING The Scale property of the image button form control cannot be modified
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOCX-ActiveX-Legacy Regressions-imageHandling
  Show dependency treegraph
 
Reported: 2018-09-19 16:57 UTC by Gabor Kelemen (allotropia)
Modified: 2024-10-29 09:05 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Writer with an image button form control. (9.69 KB, application/vnd.oasis.opendocument.text)
2018-09-19 16:57 UTC, Gabor Kelemen (allotropia)
Details
Screenshot of the problem in Writer. (137.62 KB, image/png)
2018-09-19 16:57 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2018-09-19 16:57:09 UTC
Created attachment 145033 [details]
Example file from Writer with an image button form control.

The Scale property of the image button form control cannot be modified.

Steps to reproduce:
    1. Create a new document in LibreOffice Writer.
    2. On the Form tab, click Design Mode.
    3. Insert an image button form control.
    4. Right-click the control, and click Control Properties.
    5. Click the Graphics property and insert an image.

Actual results:
The Scale property is gray.

Expected results:
The Scale property should be modifiable.

LibreOffice details:
Version: 6.2.0.0.alpha0+
Build ID: efe119aaa50e9f532b3fac1ef153469c80f24b80
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-09-10_00:02:50
Locale: en-US (hu_HU); Calc: threaded
Comment 1 Gabor Kelemen (allotropia) 2018-09-19 16:57:38 UTC
Created attachment 145034 [details]
Screenshot of the problem in Writer.
Comment 2 raal 2018-09-20 09:03:44 UTC
This seems to have begun at the below commit.
Adding Cc: to Tomaž Vajngerl; Could you possibly take a look at this one? Thanks
 3edd5cef56c560567a2995fa94cf5506a5a7545c is the first bad commit
commit 3edd5cef56c560567a2995fa94cf5506a5a7545c
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Sat Mar 10 17:06:28 2018 -0800

    source cefef4b2e59de45d51504a69ae23c803b0dd9590

author	Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>	2018-03-10 21:10:37 +0900
committer	Tomaž Vajngerl <quikee@gmail.com>	2018-03-11 01:51:00 +0100
commit cefef4b2e59de45d51504a69ae23c803b0dd9590 (patch)
tree 793c759ff144c57d7fdf4c7279200592b13a17f9
parent c21f156e8e5abce387316b3482aacd8f8f309231 (diff)
xmloff: convert form controls to use Graphic property on import
Comment 3 QA Administrators 2019-10-12 02:45:59 UTC Comment hidden (obsolete)
Comment 4 NISZ LibreOffice Team 2019-10-14 14:05:52 UTC
Still happens with:

Version: 6.4.0.0.alpha0+ (x86)
Build ID: 489eef894e7034873ad262f9dfca554022db1b09
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-10-01_23:43:38
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL
Comment 5 QA Administrators 2022-04-14 03:40:51 UTC Comment hidden (obsolete)
Comment 6 Gabor Kelemen (allotropia) 2022-05-17 13:11:50 UTC
Still happens in

Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 817b8fe7001a83cb74910eb09b7c14a3b95b8a39
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: de-DE (hu_HU); UI: en-US
Calc: threaded
Comment 7 QA Administrators 2024-09-30 03:16:05 UTC Comment hidden (obsolete)
Comment 8 Noel Grandin 2024-10-22 13:31:35 UTC
This seems to be working in

Version: 25.2.0.0.alpha0+ (AARCH64) / LibreOffice Community
Build ID: 991120af7e29d5005ef2b5e54446ad320357c2ad
CPU threads: 8; OS: macOS 14.7; UI render: Skia/Metal; VCL: osx
Locale: en-ZA (en_ZA.UTF-8); UI: en-US
Calc: threaded
Comment 9 Gabor Kelemen (allotropia) 2024-10-29 09:05:23 UTC
I can still see it with the example file under

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b0195d40f3abc343b88f767f4fe109a9c1d44347
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: x11
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

The Scale property is greyed out.

Also inserting one image seems to work, but inserting a second one does not. And even this works only after deleting the user profile.

For this behavior I seem to get another 6.1 commit:

https://git.libreoffice.org/core/+/4671c863815826c1fbbb4343b53f9d74803aaa7d%5E%21/#F0

author	Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>	Sat Apr 21 14:10:23 2018 +0900
committer	Tomaž Vajngerl <quikee@gmail.com>	Sat Apr 21 16:51:27 2018 +0200

Get rid of GraphicObject URL in extensions - PropertyController