Bug 144203 - Lilo Macro starbase which utilize cursor position and selection is freezing calc document
Summary: Lilo Macro starbase which utilize cursor position and selection is freezing c...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-08-31 00:45 UTC by elias estatistics
Modified: 2024-07-11 03:47 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
calc sheet with macro (24.19 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-08-31 00:45 UTC, elias estatistics
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elias estatistics 2021-08-31 00:45:25 UTC
Created attachment 174657 [details]
calc sheet with macro

Lilo Macro starbase is freezing calc document and I cannot unfreeze it without closing it. 


Please run the macro that is INSIDE the calc sheet.

You will find that calc sheet is freezed while only macro is utilizing cersor position and selection.

Unfreezing is almost impossible without terminating the process.
Comment 1 elias estatistics 2021-08-31 01:28:54 UTC
Here says that it can create freezing. 
So it may not be a bug. 



https://wiki.openoffice.org/wiki/Writer/API/View_cursor
Comment 2 Buovjaga 2022-05-25 13:56:59 UTC
So I assume we are supposed to copy the macro from the text content of cells O37:AB74 into a macro and run it.

I got this:

BASIC runtime error.
An exception occurred 
Type: com.sun.star.uno.RuntimeException
Message: no text selection at /home/tonttu/libreoffice/sw/source/uibase/uno/unotxvw.cxx:963.

pointing to line oVCur.collapseToEnd

However, LibreOffice froze. It created a Writer document with a chart.

It seemed to be a regression that started in 7.2. I bibisected it, but the blamed commit does not look related:
https://git.libreoffice.org/core/commit/5e75b7ca828954f9a23d7a3e8c3be3e0934210b3
macOS: use HITheme to draw listbox window border

Arch Linux 64-bit
Version: 7.4.0.0.alpha1+ / LibreOffice Community
Build ID: ff2b4bff61d2e1679bb525d754c960c48b81c495
CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 25 May 2022
Comment 3 QA Administrators 2024-05-25 03:27:58 UTC Comment hidden (obsolete)
Comment 4 elias estatistics 2024-05-25 11:48:29 UTC
Original commentator checked and i found: 

Not present anymore in 

Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 24; OS: Linux 6.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Debian package version: 4:24.2.3-1
Calc: threaded