Bug 154333 - XML Form Document: Inconsistent function of Form Design Mode - differs from menu to toolbar Form Controls and Form Design
Summary: XML Form Document: Inconsistent function of Form Design Mode - differs from m...
Status: RESOLVED DUPLICATE of bug 128968
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.3.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Form-Controls
  Show dependency treegraph
 
Reported: 2023-03-22 17:03 UTC by Robert Großkopf
Modified: 2023-03-24 11:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
3 possibilities to set design mode for a form in XML-document (263.29 KB, image/png)
2023-03-22 17:03 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2023-03-22 17:03:53 UTC
Created attachment 186142 [details]
3 possibilities to set design mode for a form in XML-document

Open LO.
Start File → New → XML Form Document
You don't need to type or create anything.
You will see a toolbar "Form Controls", which isn't docked.
You will see a toolbar "Form Design", which is docked at the bottom of the window.
There are 3 positions to change the form from 
Design Mode → 'on'
to
Design Mode → 'off'
See attached screenshot.
Switch Design Mode off in toolbar "Form Controls".
Design Mode will be switched off in Form → Design Mode, but not in toolbar "Form Design". You could almost write content.

Expected: Design Mode will be switched 'off' at all positions.

Now switch off design mode in Toolbar "Form Design". No changing to content could be made.
You could switch design mode on in Toolbar "Form Controls", but nothing has been changed: Controls were activated but couldn't be added.
If you have set design mode in Toolbar "Form Controls" 'on' try to set design mode in Toolbar "Form Design" on also.
First click won't change the design mode in Toolbar "Form Design". It will deactivate the controls in Toolbar "Form Controls".
Second click on Toolbar "Form Design" will reactivate the controls in Toolbar "Form Controls" and will set the design mode in all position to 'on'.

Expected: All possibilities to set the design mode for a form should show the same behavior. All icons have to show the same state.

This bug first appears in
Version: 7.3.6.2 / LibreOffice Community
Build ID: c28ca90fd6e1a19e189fc16c05f8f8924961e12e
CPU threads: 6; OS: Linux 5.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded

In LO 7.3.0.3 the bug doesn't appear. The icon in all position had been the same here, changed somewhere on the way to LO 7.3.6.2
Comment 1 Robert Großkopf 2023-03-23 08:00:24 UTC
One hint: In older versions of LO all 3 Buttons will do the same. XML Formdocument couldn't be changed by the function, which is included to Form → Design Mode.
The only way to get the design mode, which will allow the whole design, is through toolbar on the bottom of the window, "Form Design".
Comment 2 Stéphane Guillou (stragu) 2023-03-23 09:29:32 UTC
(For me, in gtk3, the Form Controls toolbar is docked before the Standard toolbar, which is another issue.)

Two different commands are used:
- Form Design Controls and the Form menu both use the UNO command .uno:SwitchControlDesignMode
- Form Design toolbar uses .uno:SwitchXFormsDesignMode

...which explains why they are not entirely synced.

However, their tooltips are respectively "Design Mode" and "Design Mode On/Off", which is very prone to confusion. I assume most users would think they have exactly the same function.

I can reproduce the odd conflict in which the Form Design buttons are available to add controls but using them has no effect. However, I am not familiar at all with XML forms, so copying UX team in to have more input.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 64d1a735b2b371495bfd56faf7070fb3274533ad
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 3 Stéphane Guillou (stragu) 2023-03-23 09:31:42 UTC
Related conversation in bug 128968
Comment 4 Heiko Tietze 2023-03-24 11:36:30 UTC
(In reply to Stéphane Guillou (stragu) from comment #3)
> Related conversation in bug 128968

Not just related but a duplicate.

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