Bug 163083 - Data -> Goal seek function not workin on 24.8.1 Libreoffice calc
Summary: Data -> Goal seek function not workin on 24.8.1 Libreoffice calc
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
24.8.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-09-21 16:07 UTC by Bruh
Modified: 2024-10-01 20:46 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Macro using Visual Basic on calc (421.86 KB, text/plain)
2024-09-21 17:26 UTC, Bruh
Details
Sample (261.27 KB, application/vnd.oasis.opendocument.spreadsheet)
2024-09-22 10:45 UTC, Bruh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruh 2024-09-21 16:07:24 UTC
Hello,

A have a sheet with a macro with many "Data -> Goal seek" functions  that used to work on LibreOffice_24.2.6 calc. In this new release 24.8.1 it doesn't work.

Had to re-install LibreOffice_24.2.6 calc and my sheet worked again.

Best,
Bruh
Comment 1 Rafael Lima 2024-09-21 17:11:52 UTC
Can you share a sample file where the problem is happening?

Please remove all personal data before uploading the file.
Comment 2 Rafael Lima 2024-09-21 17:12:21 UTC
Or maybe simply share the code for your macro, so we can test and verify the issue.
Comment 3 Bruh 2024-09-21 17:26:01 UTC
Created attachment 196594 [details]
Macro using Visual Basic on calc
Comment 4 Bruh 2024-09-21 17:26:52 UTC
Ok. Please mind you I can't really code and I believe it could be done better using "for" loops.
Comment 5 raal 2024-09-22 06:51:45 UTC
Please can you share sample file with macro?
Comment 6 Bruh 2024-09-22 10:45:46 UTC
Created attachment 196600 [details]
Sample
Comment 7 Bruh 2024-09-30 22:25:18 UTC
Hello,

Did the macro/spreadsheet freeze with you too?
Comment 8 Rafael Lima 2024-10-01 12:30:51 UTC
(In reply to Bruh from comment #7)
> Did the macro/spreadsheet freeze with you too?

When I run the "Macro0" in your document, my whole machine freezes completely.

But the freeze happens both in 24.2 and 24.8.

Tested with

Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 4:24.2.5-0ubuntu0.24.04.2
Calc: threaded

And With

Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded

No idea why it is freezing.

How long does it usually take to run this macro on your machine?
Comment 9 Bruh 2024-10-01 20:46:45 UTC
(In reply to Rafael Lima from comment #8)
> (In reply to Bruh from comment #7)
> > Did the macro/spreadsheet freeze with you too?
> 
> When I run the "Macro0" in your document, my whole machine freezes
> completely.
> 
> But the freeze happens both in 24.2 and 24.8.
> 
> Tested with
> 
> Version: 24.2.5.2 (X86_64) / LibreOffice Community
> Build ID: 420(Build:2)
> CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+xcb)
> Locale: pt-BR (pt_BR.UTF-8); UI: en-US
> Ubuntu package version: 4:24.2.5-0ubuntu0.24.04.2
> Calc: threaded
> 
> And With
> 
> Version: 24.8.2.1 (X86_64) / LibreOffice Community
> Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
> CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+xcb)
> Locale: pt-BR (pt_BR.UTF-8); UI: en-US
> Calc: CL threaded
> 
> No idea why it is freezing.
> 
> How long does it usually take to run this macro on your machine?

Heu, I'm using Libreoffice on Windows 10.

The macro takes around 7-8min to finish on 24.2.6.2.