Bug 157931 - Top right close button fails to close form
Summary: Top right close button fails to close form
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Database-Forms
  Show dependency treegraph
 
Reported: 2023-10-26 11:26 UTC by Alex Kempshall
Modified: 2024-03-11 16:38 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
LO Base file with macro. Form wll not close. (11.91 KB, application/vnd.oasis.opendocument.database)
2023-10-26 11:26 UTC, Alex Kempshall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Kempshall 2023-10-26 11:26:04 UTC
Created attachment 190437 [details]
LO Base file with macro. Form wll not close.

The attached LibreOffice Base file illustrates a problem that appears in 7.6.2.2 but not in 7.4.3.2. I'm using Slackware 15.0. I see the same problem in Win10.

In 7.4.3.2
Open file aik_backgroundcolor.odb enable macros if necessary
Open Form1
mouse click the button "Change form color" which invokes a macro
The color of the form changes
mouse click the top right close button
the form closes successfully

In 7.6.2.2
Open file aik_backgroundcolor.odb enable macros if necessary
Open Form1
mouse click the button "Change form color" which invokes a macro
The color of the form changes
mouse click the top right close button
the form fails to close
Comment 1 Buovjaga 2023-10-31 18:05:51 UTC
Bibisected with win64-7.6 to bde746141f9b382156a5ce79ebf82c5e32fc455b
tdf#146547 sfx2: allow read-only documents to be modified

I see the commit touches code related to Base forms.
Comment 2 Alex Kempshall 2024-02-09 14:32:23 UTC
AFter a minimum amount of thought added this line to macro



	ThisComponent.setModified(False)

my issue solved