Bug 132831 - Finish button has no effect when using form creation wizard at the end of creation process. UI.
Summary: Finish button has no effect when using form creation wizard at the end of cre...
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
6.4.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 133004 133307 133738 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-05-08 00:43 UTC by Bill Hammond
Modified: 2020-06-07 09:02 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test database (2.73 KB, application/vnd.oasis.opendocument.database)
2020-05-08 00:49 UTC, Bill Hammond
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Hammond 2020-05-08 00:43:18 UTC
Description:
I've recently upgraded to Ubuntu 20.04 and LibreOffice 6.4.3.2 and tried to add a form to an existing data base using the form creation wizard. When I get to the final page of the procedure and click on the Finish button, nothing much happens. The Cancel button gets highlighted and the dialog just sits there. The other buttons seem to work. The only way out is to click Cancel, but that doesn't save the form. I seem to have this problem in a previously created database under an earlier version of Base and a database created with this latest version.

Steps to Reproduce:
1. Open the form creation wizard.
2. Create a form as usual.
3. Click the Finish button at the end of the creation process.

Actual Results:
I was able to progress through the steps to create a form. At the end of the procedure, I pressed the Finish button and the Cancel button was highlighted. Subsequently clicking Finish had no effect. The only way out of the dialog was to press the Cancel button and abort the creation process.

Expected Results:
Upon clicking Finish, the creation dialog should have gone away and the form should have been open for data entry.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.4.3.2
Build ID: 1:6.4.3-0ubuntu0.20.04.1
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Bill Hammond 2020-05-08 00:49:35 UTC
Created attachment 160514 [details]
Test database

This is a simple, blank database that I used to reproduce the bug.
Comment 2 Julien Nabet 2020-05-08 12:04:21 UTC
On pc Debian x86-64 with LO Debian package 6.4.3 + gtk3, I don't reproduce this.
I just gave a try with your file + by default options (I selected all fields, then next and finish).

Could you give a look at https://wiki.documentfoundation.org/QA/FirstSteps ?
Also, did you try by default options when creating form?
Comment 3 Julien Nabet 2020-05-13 17:16:43 UTC
*** Bug 133004 has been marked as a duplicate of this bug. ***
Comment 4 Julien Nabet 2020-05-13 17:19:13 UTC
Steve: as I asked to Bill, could you give a look at https://wiki.documentfoundation.org/QA/FirstSteps ?
Also, did you try by default options when creating form?
Comment 5 Steve 2020-05-13 17:59:10 UTC
I've gone through the suggested document as suggested.  Tried cleaning the profile, UI render is default.  Ran in safe mode with no change in behaviour.

If I simply choose a table, select all fields to be included then click 'Finish', I am sent to the last screen of the wizard that asks me for a name.  I then click the 'Finish' button - visually it responds as I'd expect but still doesn't run the code behind it to finish the form creation!

Next step was to try on my laptop, also running Ubuntu 18.04. The wizard works perfectly...

My programmer's head tells me that code either works or doesn't - so there must be some configuration issue that is beyond my current knowledge sphere!

I'm happy to spend time investigating but will need to be guided to a starting point.
Comment 6 Julien Nabet 2020-05-13 18:09:55 UTC
In Tools/Options/Advanced, could you check if you got same Java version in your both machines?
I suppose it should be since you use same Ubuntu version but I'd like to be sure.

Also, are the machines configured with same apt repos and been updated recently for security backports or whatever?

If you launch LO from console/terminal, any traces?

Finally perhaps an strace may help here (see https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux:_How_to_get_an_strace_log)
Comment 7 Alex Thurgood 2020-05-14 08:48:50 UTC
No repro on
Version: 7.0.0.0.alpha1
Build ID: 6a03b2a54143a9bc0c6d4c7f1...
CPU threads: 8; OS: Mac OS X 10.15.4; UI render: default; VCL: osx; 
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded

Specific to Ubuntu packages ?
Comment 8 Alex Thurgood 2020-05-14 08:58:00 UTC
Just tested on

Ubuntu 20.04 using Blackbox DM and distrib-provided LO6432
Confirming.

The wizard fails to react when clicking on the "End" ("Terminer" in my FR version) of the form creation wizard.

This is almost certainly an Ubuntu package-specific bug, and not a LO bug.
Comment 9 Julien Nabet 2020-05-14 09:31:31 UTC
(In reply to Alex Thurgood from comment #8)
> Just tested on
> 
> Ubuntu 20.04 using Blackbox DM and distrib-provided LO6432
> Confirming.
> 
> The wizard fails to react when clicking on the "End" ("Terminer" in my FR
> version) of the form creation wizard.
> 
> This is almost certainly an Ubuntu package-specific bug, and not a LO bug.

In this case RESOLVED/NOTOURBUG?
Comment 10 Steve 2020-05-14 12:05:27 UTC
Ran from terminal, following error occurs when I click the 'Finish' button on the wizard.

May 14, 2020 12:57:14 PM com.sun.star.wizards.db.DBMetaData storeDatabaseDocumentToTempPath
SEVERE: null
com.sun.star.task.ErrorCodeIOException: SfxBaseModel::impl_store </frm700lookup.odt> failed: 0x81a(Error Area:Io Class:Parameter Code:26)
	at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
	at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
	at com.sun.proxy.$Proxy38.storeAsURL(Unknown Source)
	at com.sun.star.wizards.db.DBMetaData.storeDatabaseDocumentToTempPath(DBMetaData.java:935)
	at com.sun.star.wizards.form.Finalizer.finish(Finalizer.java:131)
	at com.sun.star.wizards.form.FormWizard.finishWizard(FormWizard.java:290)
	at com.sun.star.wizards.ui.WizardDialog.finishWizard_1(WizardDialog.java:578)
	at com.sun.star.wizards.ui.WizardDialog.access$600(WizardDialog.java:46)
	at com.sun.star.wizards.ui.WizardDialog$5.actionPerformed(WizardDialog.java:416)
	at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
	at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
	at com.sun.proxy.$Proxy72.execute(Unknown Source)
	at com.sun.star.wizards.ui.UnoDialog.executeDialog(UnoDialog.java:541)
	at com.sun.star.wizards.ui.UnoDialog.executeDialog(UnoDialog.java:555)
	at com.sun.star.wizards.form.FormWizard.start(FormWizard.java:349)
	at com.sun.star.wizards.form.CallFormWizard$FormWizardImplementation.trigger(CallFormWizard.java:75)
Comment 11 Alex Thurgood 2020-05-14 12:43:23 UTC
Works fine with

Version : 6.4.3.2
Build ID : libreoffice-6.4.3.2-snap1
Threads CPU : 4; OS : Linux 5.4; UI Render : par défaut; VCL: gtk3; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded

The assistant terminates correctly in the above version and the form is created.

The problem lies with Ubuntu's packages, please open a Launchpad bug.
Comment 12 Alex Thurgood 2020-05-14 12:45:56 UTC
(In reply to Steve from comment #10)
> Ran from terminal, following error occurs when I click the 'Finish' button
> on the wizard.

Confirming that I see the same error when running 20.04 default distrib-provided packages from a terminal.

The problem is not present in the corresponding snap package.
Comment 13 Steve 2020-05-18 16:40:40 UTC
Today I noticed something that I'd previously missed - I looked properly at the build number.  I noticed that my laptop is running the snap and my PC running an apt version.

I removed the apt from PC, installed snap and the problem has disappeared.  Not sure if this alters anything re status?

I'm a happy bunny, I can work effectively again!
Comment 14 Julien Nabet 2020-05-23 17:54:53 UTC
*** Bug 133307 has been marked as a duplicate of this bug. ***
Comment 15 John Deal 2020-05-26 17:22:44 UTC
Confirmed on different Xubuntu 20.04/ibreOffice 6.4.3.2 fully-updated system.  Form Wizard failed as described.

Ran again on same system using built LibreOffice 7.0.0.alpha1+ right after the above on same DB.  Form Wizard worked fine.  Seems to be fixed but this seems to imply not a Ubuntu package issue.
Comment 16 Julien Nabet 2020-06-07 09:02:38 UTC
*** Bug 133738 has been marked as a duplicate of this bug. ***