[Libreoffice-bugs] [Bug 129360] IDE cannot get the content of structs in the watch window
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Jan 11 14:26:17 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=129360
--- Comment #2 from Regina Henschel <rb.henschel at t-online.de> ---
Created attachment 157079
--> https://bugs.documentfoundation.org/attachment.cgi?id=157079&action=edit
Macro to access a shape in Draw
I have tested current daily Version: 6.5.0.0.alpha0+ (x64)
Build ID: ce685f64f38551e7984155783c9c7660d986abf6
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: GL; VCL: win;
Locale: en-US (en_US); UI-Language: en-US
Calc: CL
The problem is not solved.
Start Draw and insert a shape. Open Basic IDE (Tools > Macro > Edit Macro). Use
a new module. Delete all content of the module. The basic IDE has an icon
"Import Basic"; import the attached macros. Set a breakpoint in line "dummy=1"
in sub "examineShape_inDraw".
Go back to document, but keep IDE open.
Select the shape, then press Alt+F11. Chose the macro "examineShape_inDraw" and
run it.
Go back to IDE. Set cursor in "oShape" and press F7 to add the variable to the
watch window.
The watch window shows a tree with several + branches. Try them out. Some work,
some not. For example not working are: Style,
CustomShapeGeometry->CustomShapeGeometry(0), LineEnd, Size, Position.
Do the same in a version about 6 weeks ago, to see how it should work, e.g. in
Version: 6.5.0.0.alpha0+ (x64)
Build ID: 790b5de8941d8f8d98c73ed1343289d7220211ad
CPU threads: 8; OS: Windows 10.0 Build 18362; UI render: default; VCL: win;
Locale: de-DE (en_US); UI-Language: en-US
Calc: threaded
This is a severe regression and makes debugging a pain.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200111/773fd046/attachment.htm>
More information about the Libreoffice-bugs
mailing list