Bug 117840 - Layer properties visible/printable/locked are wrong in watch window
Summary: Layer properties visible/printable/locked are wrong in watch window
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-27 22:34 UTC by Regina Henschel
Modified: 2023-10-15 12:31 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Document with macro to reproduce the bug (10.92 KB, application/vnd.oasis.opendocument.graphics)
2018-05-27 22:34 UTC, Regina Henschel
Details
Screenshot Basic IDE (50.35 KB, image/png)
2021-10-13 21:21 UTC, Regina Henschel
Details
Screenshot layer properties (6.66 KB, image/png)
2021-10-13 21:23 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2018-05-27 22:34:04 UTC
Created attachment 142321 [details]
Document with macro to reproduce the bug

open attached document. It contains a macro to read the layer properties visible, printable and locked. It has a toolbar to easily access the macro and to open the Basic IDE.
Run the macro. Compare the text in the message with the actual setting of the layer. The text should be correct.

Now open the IDE and set a break point at the msgbox line. Run the macro again. (You might need to run the macro a second time to trigger the break point.) Watch the variable oLayout. The properties IsLocked, IsPrintable and IsVisible are always "false", regardless of the actual setting.
Comment 1 raal 2018-05-28 04:48:46 UTC
I can confirm with Version: 6.2.0.0.alpha0+
Build ID: c0fbf99e5601da27c59d131bcca24fafd259e508
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3;
Comment 2 QA Administrators 2019-05-29 02:52:48 UTC Comment hidden (obsolete)
Comment 3 Regina Henschel 2019-05-29 15:29:41 UTC
The error still exists in Version: 6.3.0.0.alpha1+ (x64)
Build ID: bfd26fd04ba06d0eac3fb516c6548a1e6eacc6df
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded
Comment 4 Andreas Heinisch 2021-10-13 20:28:06 UTC
I cannot reproduce the error in:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 8fb366c13ac1b23c455c32afc085bca2edff03bb
CPU threads: 6; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: en-US (de_DE); UI: en-US
Calc: CL

The properties are the same as shown in the message box.
Comment 5 Regina Henschel 2021-10-13 21:21:11 UTC
Created attachment 175724 [details]
Screenshot Basic IDE
Comment 6 Regina Henschel 2021-10-13 21:23:24 UTC
Created attachment 175725 [details]
Screenshot layer properties

I see the error still in Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: a3416ed058884a1fcaae0659ff6e71f5a7dff8d0
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: default; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: threaded

Compare the screenshot of the Basic IDE with the screenshot of the layer properties.
Comment 7 Andreas Heinisch 2021-10-14 20:14:56 UTC
Sry for the noise. You are right. Error still reproducible in:

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 8fb366c13ac1b23c455c32afc085bca2edff03bb
CPU threads: 6; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: en-US (de_DE); UI: en-US
Calc: CL
Comment 8 QA Administrators 2023-10-15 03:16:05 UTC Comment hidden (obsolete)
Comment 9 Regina Henschel 2023-10-15 12:31:50 UTC
The problem still exists in Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7ef3d937415185ef66e32dd3043783eddcd03db5
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded