https://bugs.freedesktop.org/show_bug.cgi?id=61297
Priority: medium
Bug ID: 61297
Assignee: [email protected]
Summary: UI - Forms incorrectly switching from print to web
layout and back
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: All
Status: UNCONFIRMED
Version: 4.0.0.3 release
Component: Database
Product: LibreOffice
Description:
Forms in "Print" layout are automatically switching to "Web" layout whenever
they are edited. Forms, even ones that are not being edited, in "Web" layout
automatically switch to "Print" layout when you select print.
Reproduction:
Print -> Web
1) Create or open a form for editing (right-click the form then select edit)
2) Ensure the form is in "Print Layout" by selecting View->Print Layout.
3) Save the form.
4) Edit the form. The layout automatically changes to "Web", not honoring the
layout it was in when it was last saved.
In this case the desired behaviour is for the form, when edited, to open in the
last mode it was saved it. This mode is obviously preserved, because when it's
opened not for editing, it works correctly.
Web -> Print
1) Create or open a form for editing.
2) Ensure the form is in "Web Layout" by selecting View->Web Layout
3) Save the form.
4) Run the form (double-click on it rather than editing)
5) Select File->Print. The layout automatically changes to "Print" layout and
you cannot change it back without closing the form and reopening it.
In this case the desired behaviour for a form that is not opened for editing is
to either have the layout not be changed, or for the layout to return to what
it was prior to printing.
Discussion:
Sometime in the 3.6 series, the decision was made that "Web" layout was going
to be the default layout for Base forms. While in most cases this is probably
appropriate, the way it was implemented was done without thinking through the
consequences.
First of all, the implementation switches all forms from "Print" to "Web"
layout any time they are edited. This must be then manually reversed before
the form is edited and saved.
Secondly, when a form is being run and not edited, the layout options are
disabled. However you can still, of course, select File->Print. When printing
the form, the layout automatically changes to "Print". This cannot be changed
back because those options are disabled. If changing the whole visual layout
to "Print" is required before LO can actually print, then it should be reverted
to what it was before it was printed after it's complete.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs