Bug 141289 - Usability : Base Form Label creation does not create label at the expected place when user only clicks
Summary: Usability : Base Form Label creation does not create label at the expected pl...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Database-Forms
  Show dependency treegraph
 
Reported: 2021-03-27 17:25 UTC by frank.derville
Modified: 2022-10-19 10:38 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description frank.derville 2021-03-27 17:25:54 UTC
Description:
When editing a form in Base, if user wants to add a Label control, user needs to drag the mouse to draw the box of the label. 
When user only clicks, it seems that a label of the size of the form is created and you can add text to the label which is written at the top left corner of the form. When removing the text, it removes all controls of the form !!!
Expected behavior : create a label with top left corner where the user clicked with a default size (e.g. 1 line height and for instance 20 chars length)

Steps to Reproduce:
1. Edit an existing form
2. Select Label tool
3. Click somewhere on the Form
4. write
5. delete

Actual Results:
Label is not created at the expected place
Then all form controls are removed

Expected Results:
Label created where user clicked


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.4.2 (x64)
Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); Langue IHM : fr-FR
Calc: CL
Comment 1 Robert Großkopf 2021-10-15 08:25:26 UTC
Have tried this one.
Have opened a form.
Have chosen Form → Label.
Have clicked, not drawn the label control (as the cursor will show).

There is no label control anywhere. You could see where you are writing when setting View → Formatting Marks.

If I will write now some content I write it on the page of the form. The Cursor will be in the left upper corner. All controls are linked to the paragraph of the form. If I delete this paragraph together with the new written "Label content" I will delete all controls, which are anchored to the paragraph. The only possibility to prevent this is to link all controls to the page.
Comment 2 Buovjaga 2022-10-19 10:38:45 UTC
Already observed in oldest of 6.3 Linux bibisect repo.

Arch Linux 64-bit
Version: 7.4.2.3 / LibreOffice Community
Build ID: 40(Build:3)
CPU threads: 8; OS: Linux 6.0; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.4.2-1
Calc: threaded