Start a Writer document. Open Development tools and click on 'Current Selection' and 'Properties'. Insert a Fontwork shape and select it. Error: There is Class name: SwXTextRanges and the Properties window is empty. 'Refesh' does not change it. Expected: The properties of the shape are shown in the window and there is Class name: com.sun.star.drawing.SvxShapeCollection The same problem and likely the underlying reason exists in Basic macros. In dim oDoc as object: oDoc=ThisComponent dim oShapeCollectionWriter as variant oShapeCollectionWriter = oDoc.CurrentSelection The variable oShapeCollectionWriter is empty. I have seen a similar problem with extruded shapes in bug 146316. For normal shapes the variable oShapeCollectionWriter is not empty.
I confirm it with Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 4c96abd81460977d413d4d28e891bbbac5769ede CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL but not with Version: 7.4.0.3 (x64) / LibreOffice Community Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Class name in LO 7.4 is lso SwXTextDocument, but properties windwo is not empty.
Tested on Ubuntu 20.04: Version: 7.5.0.1 (X86_64) / LibreOffice Community Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Steps: 1) New Writer document 2) Tools > Development Tools > Current selection 3) Insert > Fontwork > Simple > OK Result: - With the fontwork object selected (i.e. I can see the resizing handles around the object), the class name is SwXTextRanges, and pressing Refresh (or changing tabs) shows all empty tabs. - Double-clicking the object to edit it (i.e. text can now be changed) updates the class to com.sun.star.drawing.SvxShapeCollection, with content in the tabs. Same thing since 7.2, in which Development Tools was introduced: Version: 7.2.7.2 / LibreOffice Community Build ID: 8d71d29d553c0f7dcbfa38fbfda25ee34cce99a2 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded So I don't see it as a regression, behaviour has not changed. Regina, do you see the same thing? Dieter, are you sure you used "Current selection" and refreshed / switched tabs in your tests?
(In reply to Stéphane Guillou (stragu) from comment #2) > Steps: > 1) New Writer document > 2) Tools > Development Tools > Current selection > 3) Insert > Fontwork > Simple > OK > > Result: > - With the fontwork object selected (i.e. I can see the resizing handles > around the object), the class name is SwXTextRanges, That is already wrong. You should see the same as with a 'smiley'-shape for example, that is com.sun.star.drawing.SvxShapeCollection and pressing Refresh > (or changing tabs) shows all empty tabs. Which clearly shows that there is an error. > Same thing since 7.2, in which Development Tools was introduced: > > Version: 7.2.7.2 / LibreOffice Community > Build ID: 8d71d29d553c0f7dcbfa38fbfda25ee34cce99a2 > CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 > Locale: en-AU (en_AU.UTF-8); UI: en-US > Calc: threaded > > So I don't see it as a regression, behaviour has not changed. It is not a problem in the development tools but in the underlying Basic. I have tested the macro with AOO and the error is there too. So you are right, it is not a regression but an error inherited from OOo.
Thank you, Regina. Confirming.
Dear Regina Henschel, 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
The error still exists in Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 35b9371acf5a1295ef7c12bbfa285efb7ea4b485 CPU threads: 32; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-US Calc: threaded