Bug 154914

Summary: Elements overlapped in Base form created with wizard
Product: LibreOffice Reporter: Alexander Van den Panhuysen <dralexander_vandenpanhuysen>
Component: BaseAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dralexander_vandenpanhuysen, iplaw67, noelgrandin, stephane.guillou
Priority: medium Keywords: bibisected, bisected
Version: 7.5.0.0 alpha1+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: This attachment shows clearly what I did and what the result looks like.
before finishing (left), result with overlapped elements (right)

Description Alexander Van den Panhuysen 2023-04-19 17:03:29 UTC
Description:
In Base, use a database, click on Forms, use the Wizard to create a form, the result is that labels are on top of each other, also the textfields and number fields are on top of each other AND there is no way to reposition a field.

Actual Results:
Labels are on top of each other, also the textfields and number fields.

Expected Results:
I expect a normal form where the fields are spread over the form.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 4; OS: Mac OS X 13.3.1; UI render: default; VCL: osx
Locale: nl-BE (nl_BE.UTF-8); UI: en-US
Calc: threaded
Comment 1 Alexander Van den Panhuysen 2023-04-19 17:06:01 UTC
Created attachment 186796 [details]
This attachment shows clearly what I did and what the result looks like.
Comment 2 Stéphane Guillou (stragu) 2023-04-19 19:23:31 UTC
Thank you for the report.

Reproduced in 7.5.2.2 and a recent master build:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 61b41646c5a93ca24f2c9f143cdb0da2c9258989
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Bibisected the issue with the linux-64-7.5 repo to the first bad commit 6f10bfc3f53a7d88037a32deadcc7f3be94c061e which points to the core commit:

commit 8611f6e259b807b4f19c8dc0eab86ca648891ce3
author	Noel Grandin <noel.grandin@collabora.co.uk>	Thu May 27 10:27:46 2021 +0200
committer	Noel Grandin <noel.grandin@collabora.co.uk>	Mon Aug 29 13:44:02 2022 +0200
ref-count SdrObject
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138837

Steps to reproduce:
1. Open database with some fields
2. Forms > Use wizard to create form
3. Field selection: all fields
4. Arrange controls: "Columnar - labels on top" (same with "Columnar - labels left" and "In block - labels above")
5. Click Finish

Results: elements overlap. gen and kf5 VCLs not affected.

Noel, can you please have a look? Same commit caused bug 154827 and bug 154428.
Comment 3 Stéphane Guillou (stragu) 2023-04-19 19:28:13 UTC
Created attachment 186800 [details]
before finishing (left), result with overlapped elements (right)

Screenshot showing before finishing the wizard, and result.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 61b41646c5a93ca24f2c9f143cdb0da2c9258989
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 4 Alex Thurgood 2023-04-20 14:59:50 UTC
(In reply to Stéphane Guillou (stragu) from comment #3)
> Created attachment 186800 [details]
> before finishing (left), result with overlapped elements (right)
> 

Hi Stéphane, I believe that this is a DUP of bug 152614 ?
Comment 5 Stéphane Guillou (stragu) 2023-04-20 20:19:42 UTC
Good spotting, thank you. I moved the info there.

*** This bug has been marked as a duplicate of bug 152614 ***