Bug 150128 - Form Controls: numeric field not redrawn when right aligned and field width is changed
Summary: Form Controls: numeric field not redrawn when right aligned and field width i...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Form-Controls
  Show dependency treegraph
 
Reported: 2022-07-25 05:34 UTC by Ido
Modified: 2022-08-09 06:08 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ido 2022-07-25 05:34:27 UTC
Description:
numeric field default value not redrawn when right aligned and field width is changed.

Steps to Reproduce:
1. Open new writer document and activate design mode
2. create a numeric field, set default value to 0 and align to right
3. resize field by dragging or enter width 

Actual Results:
the value is not redrawn in right aligned position in the field 

Expected Results:
value redrawn in new location


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
work around: change default value or re-open document.
Comment 1 Ido 2022-07-25 05:55:22 UTC
Version: 7.3.4.2 (x64) / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 16; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-NZ (en_NZ); UI: en-US
Calc: CL
Comment 2 Dieter 2022-08-09 06:08:33 UTC
I confirm it with

Version: 7.3.5.2 (x64) / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Additional information
Setting in control properties -> General -> Alignment is still right
Workaround (in addition to comment 0): change alignment to left and then again to right