[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2023-03-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

Justin L  changed:

   What|Removed |Added

   See Also|https://bugs.documentfounda |https://bugs.documentfounda
   |tion.org/show_bug.cgi?id=13 |tion.org/show_bug.cgi?id=15
   |4257|3964

--- Comment #16 from Justin L  ---
Bug 153964 documents the logic of what is happening here, at least for
non-section page and column breaks for DOCX.

In MS formats, we have a paragraph with a break in it somewhere

  ... some possible runs of text (or shape anchors etc.)
  w:br type="page" or "column"
  ... some more possible runs of text


In LO we have the break as a paragraph property, but in Word it is more of a
character property. In LO we have two paragraphs, but in Word it is only one
paragraph. And that explains why paragraph top margin, top border, first line
indent etc don't apply on the "new page" - because they were already applied to
the start of the paragraph on the previous page or column before the break.

In older versions of MS Word, that logic wasn't always consistently applied -
especially if w:br was the first "run" in the paragraph.

Personally, I think it makes sense for a normal paragraph to not have any
spacing above when it naturally starts on a new page. The whole point of having
spacing is to separate it from other content, and at the top of a page or
column it certainly is separated from the previous content. Otherwise it is a
waste of space.

To make it more export compatible with MS Word, we would need to specify that
"top margin" would need to be ignored for normal breaks, and only applied for
"with page style" breaks(aka section break).

However, I personally like the current consistent ODT logic that any "forced
page start" must not ignore top margin for the first paragraph. I would not
advise a change for that (unless it is added to a make-LO-work-like-mso
compatibility flag).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-09-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

--- Comment #15 from Justin L  ---
Created attachment 174775
  --> https://bugs.documentfoundation.org/attachment.cgi?id=174775=edit
126677_paraSpacing_Word2016.pdf

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-09-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

--- Comment #14 from Justin L  ---
Created attachment 174774
  --> https://bugs.documentfoundation.org/attachment.cgi?id=174774=edit
126677_paraSpacing.docx: last modified by MS Word 2016 - showing 4 instances

(In reply to Mike Kaganski from comment #12)
>  I meant that in its checked state, the behaviour
> of the feature is inconsistent (meaning, one can't say that it does what it
> needs to do to be compatible).
In my observations of how MS Word 2016 acted, I see:
1.) Document start - show the spacing above
2.) Paragraph naturally breaks across a page - don't show spacing above.
3.) Paragraph naturally starts on a new page - don't show spacing above.
*4*) Paragraph starts on a new page after a normal page break - don't show
spacing above (but LO does...)
5.) Paragraph starts on a new page after a section page break - show the
spacing above.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-08-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

--- Comment #13 from Justin L  ---
I missed the relevance/meaning of this useful bit of info:

// mbParaSpaceMaxAtPages def = false, true since SO8

So it sounds like at the introduction of the variable, it was set to false, but
it has been true since StarOffice 8 (or something like that).

likely from commit 45de8eb0c980f308b668aba9bcdb8f839eaafc38
Author: Kurt Zenker on Mon Aug 2 13:33:08 2004 +


A visual inspection suggests that Businesscard-with-logo doesn't need this
obsolete setting. So I suggest
git grep -l AddParaTableSpacingAtStart *{.fodt,.xml} | xargs sed -i
/AddParaTableSpacingAtStart/d

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-08-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

--- Comment #12 from Mike Kaganski  ---
(In reply to Justin L from comment #11)
> I'm not sure what Mike means by being inconsistent. Perhaps because all of
> these extras/source/autotext/lang/bg/standard/***/settings.xml are set to
> false?

I'm sorry for being unclear. I meant that in its checked state, the behavior of
the feature is inconsistent (meaning, one can't say that it does what it needs
to do to be compatible). Hence I confirmed that this is a bug. Maybe just
stating the obvious, sorry :)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-08-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

Justin L  changed:

   What|Removed |Added

 CC||jl...@mail.com
Version|6.2.5.2 release |Inherited From OOo

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-08-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

--- Comment #11 from Justin L  ---
In regards to tools -> options -> Writer -> compatibility "add paragraph and
table spacing at tops of pages":

This is DocumentSettingId::PARA_SPACE_MAX_AT_PAGES/ParaSpaceMaxAtPages
also known as  AddSpacingAtPages
also known as ADD_PARA_TABLE_SPACING_AT_START/AddParaTableSpacingAtStart
[yikes]

(In reply to Mike Kaganski from comment #10)
> The compatibility setting that was introduced for compatibility with Word
> seems to be never set automatically now (at least it is always
> checked for new ODF
confirmed that compatibility with Word is enabled in almost every case. Seems
to be coming from this setting having a value of "true"
officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs:  

> as well as for RTF, DOC and DOCX).
true for DOC, but not absolutely guaranteed for DOCX/RTF.
m_rDoc.getIDocumentSettingAccess().set(DocumentSettingId::PARA_SPACE_MAX_AT_PAGES,
true );  //ww8par.cxx

> But its checked state is inconsistent, so I suppose there's still a bug here.
It defaults to 
unotools/source/config/compatibility.cxx: setValue(
Index::AddSpacingAtPages, false );
but that seems is irrelevant.

I'm not sure what Mike means by being inconsistent. Perhaps because all of
these extras/source/autotext/lang/bg/standard/***/settings.xml are set to
false?

Although it LOOKS like you can save the "off" state as a user default in the
UI, it doesn't actually save there. So it appears to me that in NO CASE is it
ever off UNLESS THE DOCUMENT SETTINGS turn it off. And THAT could only happen
if a user flips that switch. I don't think it is off even for very old
documents that pre-date this setting.

Advanced settings are needed to change this at the _Default level.


At this point I didn't expect to be able to find documents with this value, and
yet it seems we have Businesscard-with-logo template and a few other things
with this as false.

The only actionable conclusion I can come to is ensure that DOCX/RTF have this
value set to true.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-04-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

Mike Kaganski  changed:

   What|Removed |Added

   See Also||https://bz.apache.org/ooo/s
   ||how_bug.cgi?id=11859,
   ||https://bz.apache.org/ooo/s
   ||how_bug.cgi?id=25901

--- Comment #10 from Mike Kaganski  ---
(In reply to Regina Henschel from comment #9)

The compatibility setting that was introduced for compatibility with Word (see
#i11859) seems to be never set automatically now (at least it is always checked
for new ODF, as well as for RTF, DOC and DOCX as far as I can tell). But its
checked state is inconsistent, so I suppose there's still a bug here.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-04-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

Regina Henschel  changed:

   What|Removed |Added

 CC||rb.hensc...@t-online.de

--- Comment #9 from Regina Henschel  ---
(In reply to Dieter from comment #2)
> I confirm that spacing is different in case 3. I also agree, that behaviour
> should be the same in all three cases. But I would prefer, that case 1 and 2
> treat spacing before the same as case 3.

The behavior for spacing after a page break is determined by the compatibility
setting "Add paragraph and table spacing at tops of pages". To get the same
behavior as case 3 you have to uncheck it.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-04-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

Heiko Tietze  changed:

   What|Removed |Added

 CC|libreoffice-ux-advise@lists |heiko.tietze@documentfounda
   |.freedesktop.org|tion.org
   Keywords|needsUXEval |

--- Comment #8 from Heiko Tietze  ---
Kind of duplicate to bug 50068

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-04-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

--- Comment #7 from Mike Kaganski  ---
(In reply to Heiko Tietze from comment #5)
> Looks like a bug to me.

I totally agree.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-04-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

Mike Kaganski  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=50
   ||068

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-04-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

Heiko Tietze  changed:

   What|Removed |Added

 CC||mikekagan...@hotmail.com

--- Comment #6 from Heiko Tietze  ---
Mike, what do you think?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-04-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

--- Comment #5 from Heiko Tietze  ---
Created attachment 170998
  --> https://bugs.documentfoundation.org/attachment.cgi?id=170998=edit
Screenshot

Looks like a bug to me. Use some larger spacing below the paragraph for Text
Body- the spacing is cut-off on a new page and the following paragraph put on
top without any spacing (neither its own before).

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-03-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

Dieter  changed:

   What|Removed |Added

 CC||andreaspar...@gmail.com

--- Comment #4 from Dieter  ---
*** Bug 140877 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2021-03-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

Dieter  changed:

   What|Removed |Added

   Keywords||needsUXEval
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org

--- Comment #3 from Dieter  ---
Still present in 

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

But now I'm nin doubt, if that's a bug or the expected result. Behaviour after
a paragraph break is correct (no doubt), but perhaps spacing after a page break
is also expecte.

cc: Design-Team

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2020-06-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

Dieter  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=13
   ||4257

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2019-08-30 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

Dieter Praas  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 126677] Inconsistent behavior handling paragraph spacing at the beginning of a page

2019-08-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=126677

Dieter Praas  changed:

   What|Removed |Added

Summary|Inconsistent behavior   |Inconsistent behavior
   |handling line spacing at|handling paragraph spacing
   |the beginning of a page |at the beginning of a page

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs