[Libreoffice-bugs] [Bug 150300] Writer adds blank pages indefinitely when "as character" image is larger than the page and is followed by text

2023-05-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150300

BogdanB  changed:

   What|Removed |Added

 Blocks||48741
 CC||buzea.bog...@libreoffice.or
   ||g


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=48741
[Bug 48741] [META] Writer's page header and footer issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 150300] Writer adds blank pages indefinitely when "as character" image is larger than the page and is followed by text

2022-08-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150300

Mike Kaganski  changed:

   What|Removed |Added

 Attachment #181651|0   |1
is obsolete||

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

[Libreoffice-bugs] [Bug 150300] Writer adds blank pages indefinitely when "as character" image is larger than the page and is followed by text

2022-08-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150300

--- Comment #9 from Mike Kaganski  ---
Created attachment 181659
  --> https://bugs.documentfoundation.org/attachment.cgi?id=181659&action=edit
A prepared sample: just change the text box wrap to "Parallel"

This is only nominally a regression: this same layout loop may be easily
reproduced in older versions, just if you anchor your fly frame to a header's
paragraph, instead of footer's; you don't even need a large image object
anchored as character - simply using a large font size in the text body is
enough.

The attachment is created from scratch like this:

1. Set font size to 500 pt;
2. Type "A";
3. Add a header;
4. While in header, create a text box with text "TextBox in header" (make sure
you create it over the header area, or else it may be anchored elsewhere), set
its border to solid line for visibility;
5. Move the text box over ~center of the page area.

This is almost ready to create infinite loop in any LO version, including
3.3.0, and even OOo 2.2.0. The remaining step is:

6. Select the text box (use "Select" arrow tool on Drawing toolbar, and "draw"
a selection frame around the text box), and set its Wrap to "Parallel".

It didn't happen with footer-anchored objects because of the explicit
exclusions changed in the "regression" commit, but it really doesn't matter to
properly fix it.

It seems that maybe we should not move lines that are first on page, when the
reason is something in footer/header (and thus would repeat)? How to detect
that constellation?

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

[Libreoffice-bugs] [Bug 150300] Writer adds blank pages indefinitely when "as character" image is larger than the page and is followed by text

2022-08-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150300

--- Comment #8 from Mike Kaganski  ---
(In reply to Mike Kaganski from comment #7)
... but in this case, the check in SwTextFly::ForEach returns false, because
page height is 16838 twips, and fly height is 15511 twips ...

I have no idea how to approach this. From the logic PoV, we should check if
this is in text body; if this is anchored as character (and thus, its top is
necessarily inside the text body); if the object height is larger than page
body height (i.e., without margins and header/footer) ... and what about
footnotes?

Miklos: could you please take a look when you have time? Thanks.

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

[Libreoffice-bugs] [Bug 150300] Writer adds blank pages indefinitely when "as character" image is larger than the page and is followed by text

2022-08-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150300

Mike Kaganski  changed:

   What|Removed |Added

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

--- Comment #7 from Mike Kaganski  ---
See also: bug 127235, which was very similar, also caused by a very large
object, started after the same commit; and
37b79c872b2637912c5d6972812ee2c9d5b096c7 that fixed it.

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

[Libreoffice-bugs] [Bug 150300] Writer adds blank pages indefinitely when "as character" image is larger than the page and is followed by text

2022-08-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150300

Mike Kaganski  changed:

   What|Removed |Added

   Keywords|bibisectRequest |bibisected, bisected
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=12
   ||2878,
   ||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=13
   ||6220,
   ||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=14
   ||9424
 CC||patrick.j...@tu-dresden.de,
   ||vmik...@collabora.com

--- Comment #6 from Mike Kaganski  ---
Regression after commit 7ed962571df02d1d7b286e7af534fadd717a8003
  Author Patrick Jaap 
  Date   Wed Jan 23 10:01:36 2019 +0100
tdf#122878: enable wrap for flys in footer

Possible duplicate of tdf#149424

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

[Libreoffice-bugs] [Bug 150300] Writer adds blank pages indefinitely when "as character" image is larger than the page and is followed by text

2022-08-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150300

Mike Kaganski  changed:

   What|Removed |Added

 OS|Linux (All) |All
Version|7.3.5.2 release |6.3.0.4 release
   Keywords||bibisectRequest, regression
   Hardware|x86-64 (AMD64)  |All
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #5 from Mike Kaganski  ---
Works fine using Version: 6.2.0.3 (x64)
Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: CL

Fails (basically, hangs) using Version: 6.3.0.4 (x64)
Build ID: 057fc023c990d676a43019934386b85b21a9ee99
CPU threads: 12; OS: Windows 10.0; UI render: GL; VCL: win; 
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: CL

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

[Libreoffice-bugs] [Bug 150300] Writer adds blank pages indefinitely when "as character" image is larger than the page and is followed by text

2022-08-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150300

igor@protonmail.com changed:

   What|Removed |Added

Summary|Writer adds blank pages |Writer adds blank pages
   |indefinitely when "as   |indefinitely when "as
   |character" image is larger  |character" image is larger
   |than the page and contains  |than the page and is
   |text|followed by text

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