[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

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

--- Comment #16 from Gabor Kelemen (allotropia)  ---
A fresh debug build spews this on the console every second or two:

warn:legacy.osl:23929:23929:sw/source/core/layout/layact.cxx:755: LoopControl_3
in Interrupt formatting in SwLayAction::InternalAction

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

[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

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

Gabor Kelemen (allotropia)  changed:

   What|Removed |Added

 Blocks||132261
 CC||kelem...@ubuntu.com


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=132261
[Bug 132261] [META] Table layouting: PrepareMake, MakeAll loops and crashes
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

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

Mike Kaganski  changed:

   What|Removed |Added

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

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

[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

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

Timur  changed:

   What|Removed |Added

  Regression By||Patrick Jaap
 CC||patrick.j...@tu-dresden.de

--- Comment #15 from Timur  ---
(In reply to Julien Nabet from comment #14)
> Trying to revert this:
> it still doesn't work for 149424 UNA-AGOSTO.doc and 149424 UNA-CIGA.doc but
> seems to work for 149424 UNA-EI.doc

This bug may be layout in general, but also it can be focused on fixable
regression for UNA-EI.doc where behavior is the same for UNA-EI.docx.

I add Patrick to CC.

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

[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

2022-06-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149424

--- Comment #14 from Julien Nabet  ---
(In reply to Timur from comment #12)
> Here is a bibisect in 6.2. Julien please verify.
> 
>  source sha:7ed962571df02d1d7b286e7af534fadd717a8003
>  prev sha:66f633086e2cf0c814df04627bff810d08e73329
> 
> authorPatrick Jaap2019-01-23 
> committer Miklos Vajna 2019-02-11
> tdf#122878: enable wrap for flys in footer
> This patch removes the check for a footer node,
> intoduced by 23f698ecee033612ac3a9f5cfd7674b08bb3ccd1
> preserving the behaviour for the connected bug reports
> i13832 and i24135.
> 
> Without this check, the wraping becomes enabled for footer
> objects, too.
> 
> With this enhencement, the commits 7df33caac85ac90c26e97dedbc201f46dc9e4cb4
> d3db6ff43a531ecf1afc858a0a8832353d091644
> are directly affected and therefore the unit test is edited.

Trying to revert this with:
diff --git a/sw/source/core/text/txtfly.cxx b/sw/source/core/text/txtfly.cxx
index 88f0687de8c1..d51a686bed4a 100644
--- a/sw/source/core/text/txtfly.cxx
+++ b/sw/source/core/text/txtfly.cxx
@@ -799,6 +799,7 @@ bool SwTextFly::GetTop( const SwAnchoredObject*
_pAnchoredObj,
// #i13832#, #i24135# wrap around objects in page header
( !pIDSA->get(DocumentSettingId::USE_FORMER_TEXT_WRAPPING)
&&
  nullptr != ( pHeader = pTmp->FindFooterOrHeader() ) &&
+ !pHeader->IsFooterFrame() &&
  m_pCurrFrame->IsInDocBody(
 {
 if( pHeader || RndStdIds::FLY_AT_FLY == rNewA.GetAnchorId() )
diff --git a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
index d0c42576202e..b4ef84d70cc1 100644
--- a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
+++ b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
@@ -1186,6 +1186,7 @@ void
DomainMapperTableHandler::ApplyParagraphPropertiesFromTableStyle(TableParag
 rParaProp.m_rPropertySet->setPropertyValue(
"FillStyle",  uno::Any(drawing::FillStyle_SOLID) );
 }
 }
+else if (!m_rDMapper_Impl.IsInHeaderFooter()) // FIXME:
tdf#116989 floating objects anchored
 else
 {
 // apply style setting only on text portions without
direct modification of it

it still doesn't work for 149424 UNA-AGOSTO.doc and 149424 UNA-CIGA.doc but
seems to work for 149424 UNA-EI.doc
At least, it opens and doesn't lag too much when scrolling even if there are
these kind of logs:
warn:sw.core:42443:42443:sw/source/core/view/vdraw.cxx:246: Trying to move
anchor from invalid page - fix layouting!
warn:legacy.osl:42443:42443:vcl/source/outdev/bitmap.cxx:249: CopyBits with
zero or negative width or height

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

[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

2022-06-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149424

--- Comment #13 from Timur  ---
Created attachment 180560
  --> https://bugs.documentfoundation.org/attachment.cgi?id=180560=edit
UNA-EI.docx saved in MSO

Bibisect was for UNA-EI.doc. And here is UNA-EI.docx saved in MSO.

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

[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

2022-06-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149424

Timur  changed:

   What|Removed |Added

   Keywords||bibisected, bisected
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=12
   ||2878

--- Comment #12 from Timur  ---
Here is a bibisect in 6.2. Julien please verify.

 source sha:7ed962571df02d1d7b286e7af534fadd717a8003
 prev sha:66f633086e2cf0c814df04627bff810d08e73329

author  Patrick Jaap2019-01-23 
committer   Miklos Vajna 2019-02-11
tdf#122878: enable wrap for flys in footer
This patch removes the check for a footer node,
intoduced by
23f698ecee033612ac3a9f5cfd7674b08bb3ccd1
preserving the behaviour for the connected bug reports
i13832 and i24135.

Without this check, the wraping becomes enabled for footer
objects, too.

With this enhencement, the commits
7df33caac85ac90c26e97dedbc201f46dc9e4cb4
d3db6ff43a531ecf1afc858a0a8832353d091644
are directly affected and therefore the unit test is edited.

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

[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

2022-06-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149424

Timur  changed:

   What|Removed |Added

 Attachment #180559|0   |1
is obsolete||

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

[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

2022-06-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149424

Timur  changed:

   What|Removed |Added

   Keywords||regression

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

[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

2022-06-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149424

--- Comment #11 from Nestor  ---
Created attachment 180559
  --> https://bugs.documentfoundation.org/attachment.cgi?id=180559=edit
UNA-EI-OFIC.doc

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

[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

2022-06-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149424

--- Comment #10 from Timur  ---
Created attachment 180558
  --> https://bugs.documentfoundation.org/attachment.cgi?id=180558=edit
UNA-EI.doc

Repro in 7.4+ for UNA-EI.doc. But not in 5.4. 
So all examples are different. This one seems regression in range 6.0-6.4. 

Since regression is easiest to catch, I think that this bug should focus no
this example.

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

[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

2022-06-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149424

--- Comment #9 from Timur  ---
Created attachment 180557
  --> https://bugs.documentfoundation.org/attachment.cgi?id=180557=edit
UNA-CIGA.doc

Repro in 4.1 and 7.4+ open problem for UNA-CIGA.doc, high CPU and no response.

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

[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

2022-06-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149424

--- Comment #8 from Timur  ---
Created attachment 180556
  --> https://bugs.documentfoundation.org/attachment.cgi?id=180556=edit
UNA-AGOSTO.doc

Annoying report with multiple files zipped elsewhere with similar names. 
I add here renamed. 

No repro for UNA-AGOSTO. Opens and converts to PDF normally.

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

[Libreoffice-bugs] [Bug 149424] Layout loop in doc files

2022-06-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=149424

Julien Nabet  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
Summary|Problems converting files   |Layout loop in doc files
   |to PDF  |
 Ever confirmed|0   |1

--- Comment #7 from Julien Nabet  ---
Let's revamp this tracker since failing pdf conversion must be due to the pb of
never ending (at least not in the 30s whereas the files are not big) layout
loop.

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