Bug 150128

Summary: Form Controls: numeric field not redrawn when right aligned and field width is changed
Product: LibreOffice Reporter: Ido <ido>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: dgp-mail
Priority: medium    
Version: 7.3.4.2 release   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107742    

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