Bug 117953 - VIEWING: Default text position in form text box changes with scale (zoom) when aligned to right in Writer
Summary: VIEWING: Default text position in form text box changes with scale (zoom) whe...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: low minor
Assignee: Not Assigned
Depends on:
Blocks: Form-Controls Zoom
  Show dependency treegraph
Reported: 2018-06-01 09:35 UTC by cdlvcdlv
Modified: 2023-10-19 08:59 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description cdlvcdlv 2018-06-01 09:35:31 UTC
To replicate this:

1. Go to Form/Text Box
   Create the box anywhere in document.
      a. Less tall than characters.
      b. Too narrow for the default text you will enter.
      c. Wide and tall enough (even in excess) for the default text you need.
2. On the new text box, Right-click/Control
   Default text: Write some words
   Alignment: Left
3. Close Properties Text Box
4. Change Scale (View/Zoom or Ctrl-Mouse Wheel)
   It only works right in case c. In the two others the position of the text changes every time. If you export as PDF it works as expected always.
5. Now change the height or width of the box. The right one will work fine even when you change the dimensions to be too small. The wrong ones will not work right from now (the only way to get it right is delete and recreate it).

So I think there is a workaround (ALWAYS create the form text boxes oversized and change the size to what you need afterwards) but it should not be this way.
Comment 1 cdlvcdlv 2018-06-01 09:37:07 UTC
Sorry, my fault. Alignment should be RIGHT, not LEFT.
Comment 2 Buovjaga 2018-06-21 17:03:32 UTC
Repro. It fluctuates so we might see a letter in the right disappear in a certain zoom state.

There are similar issues elsewhere in LibreOffice.

Arch Linux 64-bit
Build ID: 0929a98acca8ec4d86caa97d3090a39f89f35f90
CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on June 20th 2018

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-
Comment 3 QA Administrators 2019-06-22 02:49:46 UTC Comment hidden (obsolete)
Comment 4 LeroyG 2020-12-16 20:09:07 UTC Comment hidden (off-topic)
Comment 5 QA Administrators 2022-12-17 03:19:25 UTC Comment hidden (obsolete)
Comment 6 Stéphane Guillou (stragu) 2023-10-19 08:59:38 UTC
Reproduced as in description in:

Build ID: 639b8ac485750d5696d7590a72ef1b496725cfb5
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded

and recent trunk build:

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

(In reply to LeroyG from comment #4)
> Choose menu Insert - Text Box. Drag to create the text box. Type some text.
> Change zoom factor, and the text box will travel to the right side of the
> page.

This sounds different, let's keep focus on text box control text disappearing beyond the border.