Bug 156379 - Writer file properties: word count lacks space to display 4 and more digits
Summary: Writer file properties: word count lacks space to display 4 and more digits
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.5.2 release
Hardware: All All
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Word-Count
  Show dependency treegraph
 
Reported: 2023-07-19 13:31 UTC by HTK300
Modified: 2023-07-19 19:52 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot properties (24.68 KB, image/jpeg)
2023-07-19 13:31 UTC, HTK300
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HTK300 2023-07-19 13:31:17 UTC
Description:
for writer doc the space to display the number of lines in the properties pop up isn't sufficient. Half of the right digit is not displayed anymore

Steps to Reproduce:
1. have a writer document open that contains as many letters to over 1000 lines
2. click on File > properties
3. see the pop-up screed half of the last digit to the right is almost not visible


Actual Results:
soon I will pass 1000 lines in my docs, please increase the visual space to display the result of the line count

Expected Results:
soon I will pass 1000 lines in my docs, please increase the visual space to display the result of the line count


Reproducible: Always


User Profile Reset: No

Additional Info:
nothing
Comment 1 HTK300 2023-07-19 13:31:47 UTC
Created attachment 188468 [details]
screenshot properties
Comment 2 Rafael Lima 2023-07-19 14:36:16 UTC
I can reproduce this in

Version: 7.5.4.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 4:7.5.4-0ubuntu0.23.04.1
Calc: threaded

If the file has more than a thousand lines, there's not enough width for the line count value.

Setting to NEW
Comment 3 Julien Nabet 2023-07-19 14:53:17 UTC
On pc Debian x86-64 with master sources updated today + gen rendering I could reproduce this.

Remark: I don't reproduce this with gtk3 rendering.

code pointer: sw/uiconfig/swriter/ui/statisticsinfopage.ui

I thought about putting back hexpand in ui file but no better so no idea but I suppose someone will have one.
Comment 4 Rafael Lima 2023-07-19 15:03:03 UTC
(In reply to Julien Nabet from comment #3)
> Remark: I don't reproduce this with gtk3 rendering.

Seems to be a backend dependent issue.

Repro with kf5

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a4af5432753408c4eea8a8d56c2f48202160c5fe
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded

Repro with gen

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a4af5432753408c4eea8a8d56c2f48202160c5fe
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: x11
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded

NOT repro with gtk3

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a4af5432753408c4eea8a8d56c2f48202160c5fe
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded