Bug 155638 - Forms: Form couldn't be closed after it has been opened.
Summary: Forms: Form couldn't be closed after it has been opened.
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha1+
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Julien Nabet
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 158138 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-06-01 17:28 UTC by Robert Großkopf
Modified: 2023-11-09 16:57 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
bt with debug symbols (7.00 KB, text/plain)
2023-06-02 17:34 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2023-06-01 17:28:21 UTC
Open this attached database wilt LO 7.6.0.0. alpha 1. : https://bugs.documentfoundation.org/attachment.cgi?id=187644
Open the form.
Try to close the form by File → Close or closing the window.
Form couldn't be closed.
It will only be closed when closing the whole database document.

This bug appears with OpenSUSE 15.4 64bit rpm Linux.
Comment 1 Julien Nabet 2023-06-01 20:05:40 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this with gtk and gen rendering.
With LO Debian package 7.4.5.1, I don't reproduce this.

Increasing the importance since:
- it's regression
- it's a very common use case (at least when using Base)

Badfully, no specific trace on console.
Comment 2 Julien Nabet 2023-06-01 20:06:43 UTC
BTW, it can be reproduced with a brand new odb file (hsqldb embedded is ok) after having created a basic table and a basic form (both with wizard).
Comment 3 raal 2023-06-02 15:23:00 UTC
This seems to have begun at the below commit in bibisect repository/OS linux-64-7.6.
Adding Cc: to Samuel Mehrbrodt ; Could you possibly take a look at this one?
Thanks
 8e4eadb43a3573cc8729614e06dec7f8e0d877ca is the first bad commit
commit 8e4eadb43a3573cc8729614e06dec7f8e0d877ca
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Mon May 22 14:37:04 2023 +0200

    source e7e9991fd06ba2e0484ae5e6b6acc323ab8bf66b

151535: tdf#146547 Mark read-only docs as modified | https://gerrit.libreoffice.org/c/core/+/151535
Comment 4 Julien Nabet 2023-06-02 17:34:42 UTC
Created attachment 187669 [details]
bt with debug symbols

Great job Raal!
Indeed, I confirm that by reverting the quoted patch, it works!
I retrieved a bt from this point.
Comment 5 Julien Nabet 2023-06-06 17:41:52 UTC
I've submitted the reverting patch here:
https://gerrit.libreoffice.org/c/core/+/152685
Comment 6 Julien Nabet 2023-06-06 19:44:57 UTC
I pushed the patch following the Jenkins boxes ok.
Comment 7 Julien Nabet 2023-06-06 19:45:51 UTC
Robert: here's the precise link https://git.libreoffice.org/core/+/4d5fe05d3926d8106f47cac2cfdefac8ec7b36d7%5E%21 in case you want to give a try with a daily build in the next 24/48 hours.
Comment 8 Buovjaga 2023-11-09 16:57:43 UTC
*** Bug 158138 has been marked as a duplicate of this bug. ***