Bug 156384 - Master document style interprets borders padding differently by adding white space
Summary: Master document style interprets borders padding differently by adding white ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Master-Doc
  Show dependency treegraph
 
Reported: 2023-07-19 21:04 UTC by Nicki Cha
Modified: 2023-09-07 17:50 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicki Cha 2023-07-19 21:04:53 UTC
In a ODM master document that has an ODT imported via the navigator a template style gives a different output in the ODM than in the ODT. 

In a paragraph style using borders with padding top and bottom paddings seem to be used twice.

Expected result:
The padding is applied inside the box only. 

Effective result:
Padding is used for “normal” geometry computation, like in the sub-document
and a second time around the page break, only in the master.

As per discussion from: https://ask.libreoffice.org/t/master-document-style-interprets-borders-padding-differently-by-adding-white-space/93714
Comment 1 ajlittoz 2023-07-20 08:26:49 UTC
This might not be related but who knows?

I already noticed faulty "geometry" usage (but not related to master vs. ordinary status):

- bug 125336 for frame positioning relative too left edge of paragraph with indent
- bug 154133 where border + padding does not offset tab positions which should be measured from paragraph left indent
Comment 2 Nicki Cha 2023-08-03 09:11:47 UTC
Just checked with 7.5.5.2. The bug still exists.
Comment 3 Buovjaga 2023-09-07 17:50:03 UTC
Confirmed with
https://ask.libreoffice.org/uploads/short-url/hzcSQMiCSgK1URDXb0ki0zOfsVe.odm
https://ask.libreoffice.org/uploads/short-url/j6fcC5AEXPv0W8WpqrPnHaY0G45.odt

Arch Linux 64-bit, X11
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8c982bf86ff9ca5a4ed86505ec1133cc183f1b58
CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 7 September 2023

Tried to bibisect the top gap in the second page with linux-64-5.3 repo, but got lots of crashing upon opening and had to skip with this loop: https://wiki.documentfoundation.org/QA/Bibisect#Unable_to_start_soffice

There are only 'skip'ped commits left to test.
The first bad commit could be any of: dc07afba1ed4f5e3fd549973cd3109426714976c 6ac90feddb0132c3451cc7d873c09fe5dc746df5 e1a220f90d075037aaa0cf8ef034cc2403bcb538 7a4677ae187702e94ea1fc198ecbc1fc4d007687 e8b6e6daea6927eabc7a7e38191869a1d5e34a4d 5345f8ac266d4112ca626949a2b90ae5b4832373 95bc5f6e996422768b6ff8dde123508b1f5a8c30 6c90395e352a0686b93808d39c877c37845e7eda a26a5423add1d43fb8e502be4a228334f507acf9 7bd7d2a18cf648fbbe43c9a6dafa203b7d4f01d5 7e5194ca0f55a064ae61b034813d9dc7da200c9d 284dd09a3bdfeeb352c9e5db7516b1b7a18ac27e 89d3872c2f5150a2558d8b8f7b9339947152c470 04e1b1901dfab3e0013e711893185a45abe1f30b b0fa31ee35a1f824d7f3a98b00f0a21f4a01cddb 619135dc8071039f7b6992cae1d4e5fa8cbae80a e170ce2da361d683f301e36cb6db70655da8a002 58d8527dfa192cd29415a0147f12f7d126a3475a 8f0824a4b69315544e4e162d947e0473f6827af7 d2a38630c8cc7ce2b55cad2d0a096c4951791cdd f6a061eee2fa9f4e8ee0f3404e72f7748b84da0a 3635cd3811cb2b0e2f6a509e4fcff834c9c8624a e01a7e5fbae066688314366bf330687b7ed3d529 dfbaaa8dd3706d3297a411ae5e25ad2e0b15d14e eff6f8ba40793903ee4b44620b2dbf6589c9e164 951f7925a2eaecdcd024a65d5d3abcfc5bbbb2fb c794fa5c1cfacb66026eb133f4fa32674154a630 737a5226384291bf1ae94e2990243d2dfea804a4 a2628b32814205306bd274de24361e174b595ee7 5ec6a19078e31abc41e35634ad2f4ff8252f4623 989c1ae6fb0d84c9ffe08a17b6e7bce365300ab8 12e76639acf0656e6128bc5fcf783e11f07f5a4b ef35865ae26b78cd5c5ad1d8f2a50f9ed70275f8 77520a8e7a5bd2db40bcd4ed253c1485a9ce7e73 b4f9a82a224acf605705ed9adafc84906300e892 5e27fc472f7b608814de8d4264af54983eb9aaa9 db9a997af6c648f93fdedf65489be10d62770846 4f1e7423e2181572c6d2c553f9757adce15beefe bbbd0426f8def1551c7b32a75c8e0a1eb86e0327 a37943a00ac2e27e948cde4449aa09ca9ed74b4f db5799df8113b480df0e9a8d545724783e860fc6 253d0c101a83e7fcf39d0556666a931e7624877c 846a92f1f2f020c5b8a3ac6302affc12b0f809a9 46e3fe96c9b603fc1db88f447941f24996142db0 7a87e19989c9a6c1b5c525ae2c2d677d14a38f6f 0002c2e59691690a74780d0b82ed7c69ad163349 e9319ebd5c14ff295c21ea49b0cd3db1dd41f24f d0af092a4ef672d1229cdfb9a95be52e0f7be393 d6ff67b0890b7f440438951cb5ccd84f7e45c07e 4c4e1a8a161ff5354d6f858d69014414c66acd8e b5ae7085e3b5457b379a7add630c070071ae6dc4 0856ba08c48d94f62af97e98042eb3679998af31 c4162398ad664b1bf9427c41e7201e7f3e81fff1 68ad8721c8f754149c4a365de24c1bbb58e05d03 c27ff7b58cef90356c499c5127e383d2ed30db53 3776267934d532df434b182c1074220fe5d1effb 4d7e4536b1d76835917f5482098b523d8ec264a0 72e3dbfd55c548ee7fc258337e95661b7311beef 991922a7bfb39a3396bf8043ffbdc7b45c74b64f df1a98b1f5651886a5a975df83b48df2532dc0af e5e364d01941c28cdbfe37c87533192d5184ff3c 1d5d66cf22d6a79baae8ed06bb2b717f743951eb e9eea30b2c004e1af46d3570b485800d5be69a33 4de29b56a656bb6ce4b854998cf35a44801f5d04 66fcdf2dcfb7f9610dfbb6598ad42910f114a103 b22e2df5529ebab5a8c20fef963318e85b872b2c faf54733c132ccfb850b1aeb84493cbc96fc4bad 0c820fc5a1446e9cc151c1f89793c6dab056af16 bfeb63f044a769a08de6effd39732fdf8aef1759 ab4d6e4d08551b9b399ab3e7c8d0920f1a2619fc e2312d83f9c086c3a839b5836bc109e22a02e8ee 1d6ec9c989fb4ca8266e6086dd4504352528093c f9173719c0e41f335ae035050b5607f77ce5282b 179d28fd3dbfd50a979d9df778ebc704cf32def7 8cde9d543b57557bec2282530371c82cd59b2e0b 3ae33d14d6f5b00f872a115ace01702e447bca45 512779f1e80c7a92c49deca407524ced49d24745 2ef0d9fc7e2e1a907ea6651ea3e53dd49d210bc8 84bf31ca9e91901d1eb577653617589c78d0d715 93e4bce71ab46ccf09fe7a284ba84f4bd04bb76a d88be701d86578fb63ed5426ea0181f738d966a2 76d8935d40cbae1517b628616ba5af42553c2668 9019c527f23f4069acd5b030b25c8e61118e4779 4b4a165e5deb37146fb25f4f3f1eca8f8fbcee80 69085d3bc90919aa199c3965b1c7eb5014d79157 76d2b9dc331adbb22adec53d21f349bfd088ed66 c3dce5e3844d3dc0af5455914bf4177d2652673a 4c029afdf724f275ad271a55a12ada08c035fb7e 548430c36aa57cb78e2d89f2d6a3037dfa1684cd 73a63fd50eb722d6ffebac8b2eefe0ab2c205dce e10a276b242440d4266ea24b63ee586f8a12cb5f 0cf40d869b0069058cfb88e1615a67dbdacf61f4 c941b5869af18e14dae98bc42f8af460de9145a4 13e912c850697688d0248207dbadeda2564a723c 4a5e3deb3882aabdb146c2945683d62d32821e9d 2e4c7e10dbd8120279d744028a752dbc7657ba3e dc6e160bf6423d6bb0062a5e0b5297796733c63b 27c3ab29efdda5f9135228cf6a98a885598a07fd 808d94ce5f030fb98b501bfca544ee4f11eb88a5 60282fadf898c33120796806335d4899d83f7611 91fc020413a7971b1ccce8b7f8524cc6383b3101 6d6936bef8f636b8a6efb9c7b50e86556b41b0eb ad596416cd1ebf0dd6ac8fde01ba090f266544fb df6b18700dc46173ab10bf268a9db8140c9750fb f35ee99455109b684d3698e08d28dd8f3571b39d 6ee4b9fe73acbb4ddab6b56380a45cfa141b6261 a65cfec000ea317a915591fc4c64cbd2c623cd8e 892d0b609aa8a49c009d335645882e07fd8f7900 ed5f266526528143da24c43d43443fca6a822cf4 a08f1a00eba8c2768e56514827076b2e8cd9dfb2 d96b74aedf642bc296eeb5555e662a94c6cb491a 37eec1ea90966a1ed509ab290bc573965b279b40 80c3dedff2558767c92f830232ea5622fa5b14f6 0e8b204d809b737054cbda5e21f93baaf0333e2d 20ea5e991d288ad118e598a7a825b9427b8ed1c9 73ad675f4551221c457b50589dad8c033e7a98f0 d30dcaf6d09bec1769048e8362488cd80522db13 6f763e63e18715d70684399ac417e39d7514710a 778f96e2b53706d09c1e79bbc59ce66e6e030221 65b752fface11fefcdff4d345a21910cbe93ff73 c45a14eae3cde5fc9be58c1d9d466e763be1d15f 47c2493a083ff85a6a7b6769ab80483d76ba7e59 9532559fac12faca2c77471ca200909aa8c9b476 8fb39dfa89529c4412ae4605248cbbcc0f6d1f36 f90461abdac733c9d2caf5e750bc694e01f29fc0 0e2617e3cf16e8bdd2c12e153b5ad61566de5c0e b496470a254d264be0b15764e76d3ae0cff325da 36d7eb7d0bbef7aef87df3d90c77fa37ea320098 49631dfbf1c52bf67a90f7668893c145c5073a34 1fde38db895191abef3374f712234eda1bda8b62 2f9b448aa24a01125511df3fd1c662c6e48302e3 0da061c4f094761c616ef9af0e2d57c2f6464c02 71cc01ced9f1a8c00e551067f78c5f422818e097 6e6439ab393ca5bf9751ea7db31eebdfd836944e 8061ed6ca47925733fe4e572ac4606191bd3a180 0b58f91b49ebc03be84d270ad3a3accb8c417b54 83db78198f83a1c735d2a2145606cf9b5794e371 91832d103c2b9676725d8aedcfd79fe6f2d83ceb eb7f2bf173c57a5090ec95ac8dbe076f610b8dfd a58a025062b07bf94cddea5530fb3725c714f1a3 bf022b71d485e05fdab14aca54b77b1151d82b96 81745e9f90bdea873bda010aed8799c8bfa51d23 f4dd513d39b9fc7d48204b98b6b34a4948b89b96 a937d2fa2f246337f515d64dda619175bba74b8e d6d710877efddc220dff6e378df3315cb8531edf 0e5ef5ffb1edf02cff33a0394811388f62d14ec2 a8a66ba45287cc7b9454be0cffe8f5c49f73a6c8 c21196ca0c5ba080e434c2bbdaae221d1e063ddf ce2b63ff419aedff03428019a1dfa58e2f1cc154 07f97473e90c720ead25d786776638e64365f0d7 de2a495e2146da39f6fdf021db47ca6c5bd5a415 096467936dc0ab0de536cc96566b036d5b209ebb 2cd634eb6c9f18851a22cb8ae10c3000e7d8deab 1443addeb6dfabc6b1459d6e7983fe5498e9867c 9eb5789d7df8cc1bf1b3f7c61301e5dd8ac734fb 1974831ce0864d8de63c56772f880b5df37f905e 909e659593404a41ff7fcbbde044a9d70e2180fc 10b242b06815803f6b4d4b23fa17219cdd8e5d7f fb36469fdffa520d3511111155fd052d664398b6 ad440ccbc219d4624c9076b824c948e4d3fbd466 c7b44dca9746d1805a6657702e0c15c039ef6511 0475ab92a46287d56222054f935b84e1a47111b3 5baa1cc416e64e9cfb7394833e1e0d62d832b3c1 36f60eff0cbc757a87fdf70dbb77612ec5af8799 4371338a7b0e20bbcf7f5387ae91034a1e959281 137fd5c5bb0171a833b416ff1f0fcf67fdd6d463 c4e347885142027ed3e08b954de7fe6a57fa7cb4 d4cd1e440bbdf9af648f07029e3309bf87c55cbd feaf1b0451fff95aa4ea40bb5249cd7222ea803a 027210ebac2fda913cb9232ad7566a3c0835f9e6 e0b5ff16498e0aa2489cfbaf39f327e35fca1f48 244a83f5873fa3223857b59c8360bbfd1a3a96ff 435cc9264020f3a3630763976989fdbc653b8962 570e777efc172d38d7ca380fa7a3833720dc6448 c47040ba1402dff3882d9967b233c5b466c9ee49 7cc367df60dbad81cef3a3a4c6e12a1d982b0602 d40443a7d34f6d479c6e9bff8c65647b6200bf4c 508a6d422a580860d823bd36d11f617a32cbc66f fdf1ddec40d4d1cd66f0dba3eefbcca82e0ee599 385d230535519d1df5a2ca1fddf1db1c7d4d1212 4cbfe46d7ea569d8d8c723a58d169140ec200324 d2ad480aac9248b54a8847abfb9d7384237efd2c fb0ec5edf29dc76be88a3b51062316306dfff9a8 9ba4a7574e7fcbe87f4673c90a006926ae63852e d6a8e9b0010392530a3b0849a56593f7b7a386aa 03ccedcd5a0625a630ebdee9a2cee45ac4a64b43 104688a1d4ffb2ab69281bc70cb65fe9d2f72673 13fb1cfc7db792634ce932c956f20fe157e7b2d9 55dcb3f85e968f84d5522fad07beeef5d422b629 05581b27841857bd6bea483864e8ea941f87aab3 f7fd7963562cecf8aefb7676dcab93c886a60329 40fe7fb99393898166bfd71bd60c399547a2ec21 e4c210bfa5b15d238e73380b87743231b3b62e05 23538d657663f23d347b590be76cbc69e6291a4d 9af771744e015032231aa0cbda23d88d8730ab9d 7fdf4c6a86169802472b0df95c5a2455b4fca7dc c4ae053c33a422be847b71f3ea5fa0c359460812 17d8234546ccc7b6cd69f3288c5ee086d48b7b1c a8a4928224cdc25ff48ab00a79e55db147f1353c b585990fa27a1bd140b872024bf83174955018e1 ddfcdc25005702490f6c34ded21492187279864b 69d699034eb47c2b3c44fd03c2d6e0689843eb13 c8aab462f57a5e663ae9dbd75d362bf22232ff3f b515c7f5bd78d38892e8b3f82f484ed6d4a1483e e2e7aa5957f413b94ca9b36a21e1b600c1fed9b7 a487524c1ed3923af20b92dbe72f04330f521df6 d4ac3bf48cfce7bc87386388801c37a5b96e7902 7a44c8bfd1e03e1180553fa483feac169f68f4f9 7c9d0a744bac547fc68b109a4f581137bd311690 2b2ce70029b889e7f04b2cc4ef4ecc614929a287 e0b591643cd2da04c6a368de5911bc725159b035 04dfa9f52442ef8f5d942ae065c351f0e0739aff f10795aee36cb541c973ebdfd286d899627fd1ae c0688d47fcaa897bc7d234d68a68b063747ccb68 f0851e76ef0b452a10642c6981ff118c9abf5236 8426bbb398b63c2a8db9cc804ad41ae68df482de e5c612b50899e1214252d524955cfd25137bf6d4 0ae1d81f55435742d0596ee58a1e5b7253780987 423835acdade5b0beeb8fd3f73d74344c747e99d 1b90e037dc733c492659e6e1b7286a78e98b7261 6b4ba60d3511563aed6e772a3210b593232fd390 2b9c643337aae75851143f35857926234fc30d4f 4a26cb7e74966f7cd23fb2b7ee069d1885ca3e40 121f9b855b7721c45c7f9b5ec04f2ea443c58c63 2aaddb35588d31b4d965f8de358153eef93a79ef 2b62000de108673cf5fa847a6b9d89ef02c6b169 ab1af39960a201dee0f5d4f1e3c05a83d09fa8a0 23f7db94817e7628b2fc85aca8ad427e627f371f 9e27dcdebefbfcf6659d85368152a02d84d4de61 74a1ac3ce5f89b0fcc1fce44b3b12fc0008a595d
We cannot bisect more!