[Libreoffice-bugs] [Bug 135572] New: Margins in sidebar are confusing
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Aug 9 08:40:11 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=135572
Bug ID: 135572
Summary: Margins in sidebar are confusing
Product: LibreOffice
Version: 7.1.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: himajin100000 at gmail.com
Description:
see steps to reproduce
Steps to Reproduce:
1. Launch Writer
2. Show [Page] Sidebar
3. Set [Margins:] to [Normal (1.90 cm)]
4. from Main menu, select [Format]->[Page Style]
Actual Results:
Margins are 2.00cm
Expected Results:
Either of :
* Margins should be 1.90 cm
but please be noted that
(1080 / (72*20)) * 2.54 = 1.905, already very close to 1.90
(1136 / (72*20)) * 2.54 = 2.0037
per
20 twips = 1pt
1 pt = 1/72 inch
1 inch = 2.54 cm
https://opengrok.libreoffice.org/xref/core/sw/source/uibase/sidebar/PageMarginUtils.hxx?r=01d0032f#22
https://opengrok.libreoffice.org/xref/core/sw/source/uibase/sidebar/PageFormatPanel.cxx?r=ec11b733#PaperModifyMarginHdl
* description should be changed to
Normal (2.00 cm)
BTW:
LibreOffice Draw has similar sidebar panel,
If I choose [Normal (2.54cm)] in the panel,
and see the dialog opened from [Page]-[Properties] in main menu
margins are 1.27, just the half of what is indicated value.
These look contradictory to me, but is this intentional?
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 7657fecbceb656d7745a0ae7674a733c722343d8
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: ja-JP (ja_JP); UI: en-US
Calc: CL
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200809/a360b4dd/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list