Bug 159370 - Form based on tabs can not be closed after switching tab
Summary: Form based on tabs can not be closed after switching tab
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2024-01-25 10:49 UTC by Longi
Modified: 2024-03-11 21:33 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
File to check how a tabbed form freezes (28.83 KB, application/zip)
2024-01-25 10:55 UTC, Longi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Longi 2024-01-25 10:49:10 UTC
Description:
I have a tabbed form in base, made wit several sections in it and showing one or another, depending on the selection I do between various controls (five labels in this case).
The label calls a macro which shows the section I want (depending on the tag of the label).
Now, In LO 7.6.4.1 (64 bits) and in LO 24.02.0.0 Beta1 (32 bits) when I select a section, that section appears, which is correct, but the form freezes and I can’t close it.
It doesn’ occurs in LO 7.4.7.2 (32 bits) nor in LO 7.5.9.2 (32 bits)
I attache an example,  but I think it needs an explanation :
To see how it works better if you use the three first labels. They shows memo fields to write long texts if you want.
In 'steps to reproduce' you have my tests

Steps to Reproduce:
1. I Opened the form an close it. It worked fine in all versions.
2.I Opened the form, navigated throught it an closed it. It worked fine in all versions.
3.I Opened the form, wenr to a new record, write in the field ‘Feitos’, save it an close the form. It worked fine in all versions.
4.  I Opened the form, went to a new record, write in the field ‘Feitos’, save it, then, select the label ‘Lexislacion’ or the label ‘Informe anexo’, write in the field and save it.
I’m able to close in  versions LO 7.4.7.2 (32 bits) or in LO 7.5.9.2 (32 bits)
In versions LO 7.6.4.1 (64 bits) and in LO 24.02.0.0 Beta1 (32 bits) I can’t close the form
5. I Opened the form. In the first record, without writing anything, I selected the label ‘Lexislacion’ or the label ‘Informe anexo’, without writing anything and it happend the same as the 4th point.

Actual Results:
In versions LO 7.6.4.1 (64 bits) and in LO 24.02.0.0 Beta1 (32 bits) I can’t close the form

Expected Results:
In versions LO 7.6.4.1 (64 bits) and in LO 24.02.0.0 Beta1 (32 bits) I would like to close the form


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.6.4.1 (x86) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: es-ES
Calc: CL threaded

Versions LO 7.4.7.2 (32 bits), LO 7.5.9.2 (32 bits) and LO 24.02.0.0 Beta1 (32 bits) all of them in parallel instalation
Comment 1 Longi 2024-01-25 10:55:47 UTC
Created attachment 192161 [details]
File to check how a tabbed form freezes

It is probable it is related with other problems.
Other user reported me that he have similar problem when he put a new field inside a form in the execution time. 
He uses Linux.
Comment 2 Buovjaga 2024-03-05 18:30:48 UTC
1. Open attachment 192161 [details]
2. Double-click to open form
3. Change to Lexislacion tab
4. Try to close form

This is caused by aca32a55456aa4e907b216fb490b3c15d26c3d55
tdf#146547 sfx2: allow read-only documents to be modified
Comment 3 Longi 2024-03-11 21:33:46 UTC
Sorry!
The example in my PC doesn't work