Description: If no range selection is made, ".uno:AddWatch [F7]" adds an invalid property (method). Steps to Reproduce: 1. Open New Calc. 2. Create Simple Basic Code. ex. [Show Cell width] Sub ShowCellWigth Dim oCel As Object oCel = ThisComponent.CurrentSelection If Not oCel.supportsService("com.sun.star.sheet.SheetCell") Then Exit Sub msgbox oCel.Size.width End Sub 3. Move the cursor to somewhere in "ThisComponent.CurrentSelection". (Do not select the range) 4. Execute the command ".uno:AddWatch [F7]". Actual Results: 5. "ThisComponent.CurrentSelection" is added to the observer variables. If the property is attached to the back, it will be <Out of Scope> and cannot be referenced. Expected Results: 5. "ThisComponent" or "CurrentSelection" is added to the observer variables. "CurrentSelection" can be used as a variable name, so it is not a bug if either is added. Reproducible: Always User Profile Reset: No Additional Info: Of course, there is a similar problem with "oCel.Size.width" and an invalid property is added. Not Reproduced with Version: 24.2.5.2 (X86_64) / LibreOffice Community Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59 CPU threads: 4; OS: Windows 10.0 Build 10240; UI render: Skia/Raster; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: threaded Reproducible with Version: 24.8.0.0.beta1+ (X86_64) / LibreOffice Community Build ID: 12b0d0dd2e22a1abc955a11bfe4ae87631409622 CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 10240); UI render: Skia/Raster; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: threaded Reproducible with Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 57f46e0244bdc1165ebbc5e09e4069cc075ff7ae CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 10240); UI render: Skia/Raster; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: threaded
Reproducible with Version: 24.8.0.3 (X86_64) / LibreOffice Community Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583 CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 10240); UI render: Skia/Raster; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: threaded
New findings: Works fine in English locale. Invalid properties are added for Japanese locale.
Reproducible with Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 4e04e96334a841865914c1629202912e343c4cb2 CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 10240); UI render: Skia/Raster; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: threaded
Not Reproduced with Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 03a701516ea94b786ba6e1b35bf6dad22cceced5 CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win Locale: en-US (ja_JP); UI: en-US Calc: CL threaded Reproducible with Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 03a701516ea94b786ba6e1b35bf6dad22cceced5 CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: default
Same cause as bug 162912, commit 14c6cde779d64596eab0f4d3f32f181ce2243929 tdf#49885 Updated CJK BreakIterator to use ICU Nothing to do with locale, repro by changing UI language to Japanese. Please use the keywords regression, bibisectRequest when you notice something is a regression (in comment 0 you say this is not seen in 24.2).
No problems are found in the final version of version 24.2. Not Reproduced with Version: 24.2.7.2 (X86_64) / LibreOffice Community Build ID: ee3885777aa7032db5a9b65deec9457448a91162 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: default And the title "[24.8]" obviously starts with version 24.8 and is based on my own rules which include a desire to have it fixed before the official release. Don't worry about it.
The commit fixing bug 162912 took care of this as well. *** This bug has been marked as a duplicate of bug 162912 ***
It seems to be working correctly. Thanks. Version: 25.2.0.0.beta1+ (X86_64) / LibreOffice Community Build ID: 5ddccd3896abe24de2ff4b4f3cc9bf609305990a CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win Locale: ja-JP (ja_JP); UI: ja-JP Calc: CL threaded