[Libreoffice-bugs] [Bug 80926] Moving paragraph-bound anchor on ODT file load.

2017-09-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=80926

--- Comment #12 from Jan-Marek Glogowski  ---
So this workaround fixes the bug. I spend some time in analysing the layout
code to fix the underlying problem, where some part of layout works with old,
other with new values, but eventually gave up.

Guess nothing is more stable then temporary, workaround code ;-)

-- 
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 80926] Moving paragraph-bound anchor on ODT file load.

2017-09-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=80926

Yousuf Philips (jay)  changed:

   What|Removed |Added

 Blocks||87740


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=87740
[Bug 87740] [META] Anchor and text wrapping bugs and enhancements
-- 
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 80926] Moving paragraph-bound anchor on ODT file load.

2017-09-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=80926

Björn Michaelsen  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Björn Michaelsen  ---
(In reply to Xisco Faulí from comment #10)
> Is this bug fixed?
> If so, could you please close it as RESOLVED FIXED?

Just assuming so now.

-- 
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 80926] Moving paragraph-bound anchor on ODT file load.

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80926

Matthew Francis  changed:

   What|Removed |Added

   Keywords||bisected, regression
 CC||fdb...@neosheffield.co.uk
 Whiteboard|odf lhm-limux target:4.4.0  |odf lhm-limux bibisected
   ||target:4.4.0

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


[Libreoffice-bugs] [Bug 80926] Moving paragraph-bound anchor on ODT file load.

2014-09-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80926

Commit Notification  changed:

   What|Removed |Added

 Whiteboard|odf lhm-limux   |odf lhm-limux target:4.4.0

--- Comment #8 from Commit Notification 
 ---
Jan-Marek Glogowski committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=508d2d2b1a6a23043c8c0f0d3fea4ec033ac2684

fdo#80926 Don't move anchors of invalid pages



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

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


[Libreoffice-bugs] [Bug 80926] Moving paragraph-bound anchor on ODT file load.

2014-08-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80926

Michael Stahl  changed:

   What|Removed |Added

 Attachment #102471|application/odt |application/vnd.oasis.opend
  mime type||ocument.text

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


[Libreoffice-bugs] [Bug 80926] Moving paragraph-bound anchor on ODT file load.

2014-07-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80926

--- Comment #7 from Jan-Marek Glogowski  ---
Created attachment 102765
  --> https://bugs.freedesktop.org/attachment.cgi?id=102765&action=edit
Instrumented LO dbgutil run - gdb output.

The attached text shows the origin problem. Actually it also happens in all OOo
versions I tested. The layouting code is already broken.

Actually
commit 09f50c017fe106b7bf94f60933667b55130ea1b5  
and
commit 120922361a5928ea4437ffe253ce209abd7060b0
really broke it.

For the trace I was using a document with two pages and two "lines".

All ratios are approximations. The actualy sizews are much larger, more like
"1 x 25000" for the two page view. All the layouting in LO is absolute. 

So LO is doing the initial full layouting (incl. anchored frames) just for the
visible pages, partial layouting for the for the next page / rest. At this
point the view is still "initial", and just has space for a single page. All
the layouting of the "hidden" pages is going to be done later. So the 2nd page
is invisible.

The document with two pages has the size "100 x 400". The initial view is "120
x 150". Every page has the size "80 x 150". There are spaces between and gray
area around the page.

And there comes the "resize view". This changes the visual area to "220 x 150",
but the layouting is still based on the single page layout (100 x 400).

So the actually IsShortCut checks the new view against the old layout, which
basically says, that the 2nd page is still outside of the view, so the
additional layouting can be skipped:

sw/source/core/layout/layact.cxx:1146bRet = true;

An initial "fix" is included in private/jmux/layout-fixes, which prevents
moving anchors of invalid pages on view resize. Actually this code should never
happen.

I'm still looking for a real fix.

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


[Libreoffice-bugs] [Bug 80926] Moving paragraph-bound anchor on ODT file load.

2014-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80926

--- Comment #6 from Christoph Lutz  ---
I opened your document test-line3.odt with LO 4.2.0.4 on Windows and noticed
that on the second page the line ist moved little bit in direction "top left"
and on the third page it is moved another little bit in this direction (so here
it is really close to the left top of the page corner).

I then manually edited the content.xml to add some more of these paragraphs
(with that line) and from the 4th page on, it looks like on page one.

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


[Libreoffice-bugs] [Bug 80926] Moving paragraph-bound anchor on ODT file load.

2014-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80926

Jan-Marek Glogowski  changed:

   What|Removed |Added

 Whiteboard|odf |odf lhm-limux

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


[Libreoffice-bugs] [Bug 80926] Moving paragraph-bound anchor on ODT file load.

2014-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80926

--- Comment #5 from Jan-Marek Glogowski  ---
Just as an information: this is also broken in AOO 4.1.

I've started to debug SwToCntntAnchoredObjectPosition::CalcPosition using the
extended test document with three pages. But the the problem seems to be
outside of the CalcPosition function, because the arguments to _CalcRelPosX is
already broken.

sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx:982 
  SwFmtHoriOrient aHori( rFrmFmt.GetHoriOrient() );

creates an already wrong object. The object for page 1 + 3 (and all other
pages) is:

$1 = (SwFmtHoriOrient) {
   = {
_vptr.SfxPoolItem = 0x640e37e8, 
m_nRefCount = 0, 
m_nWhich = 102, 
m_nKind = 0
  }, 
  members of SwFmtHoriOrient: 
  nXPos = 0, 
  eOrient = 0, 
  eRelation = 0, 
  bPosToggle = false
}

while for page 2 it is:

$2 = (SwFmtHoriOrient) {
   = {
_vptr.SfxPoolItem = 0x640e37e8, 
m_nRefCount = 0, 
m_nWhich = 102, 
m_nKind = 0
  }, 
  members of SwFmtHoriOrient: 
  nXPos = -1706, 
  eOrient = 0, 
  eRelation = 0, 
  bPosToggle = false
}

I also checked the ODTs content.xml. Here is the output for page 2 and 3:


  



  

  


  

  


If you manually correct the X value of the 2nd line after loading using the GUI
(to 0in) and save the document, you don't get svg:x1="0in" and svg:x2="1in" but
a fraction smaller values.

I'm still trying to understand the styles.xml; even for this simple document
it's kind of "huge". Probably someone else can spot a problem, but for me it
looks correct.

Currently I'm looking for the code, where the SwFmtHoriOrient of the SwFrmFmt
is actually initialized (or changed).

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


[Libreoffice-bugs] [Bug 80926] Moving paragraph-bound anchor on ODT file load.

2014-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80926

--- Comment #4 from Jan-Marek Glogowski  ---
Created attachment 102471
  --> https://bugs.freedesktop.org/attachment.cgi?id=102471&action=edit
Document with the same line on 1st, 2nd and 3rd page for debugging.

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


[Libreoffice-bugs] [Bug 80926] Moving paragraph-bound anchor on ODT file load.

2014-07-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80926

Jay Philips  changed:

   What|Removed |Added

   Hardware|x86-64 (AMD64)  |All
 Status|UNCONFIRMED |NEW
 Whiteboard||odf
   Severity|major   |minor
   Priority|medium  |low
 CC||philip...@hotmail.com
Version|4.4.0.0.alpha0+ Master  |3.6.7.2 release
 Ever confirmed|0   |1

--- Comment #3 from Jay Philips  ---
Confirmed in Linux Mint in 3.6.7, 4.2.5 and master. It didnt happen in 3.3.0 as
when i reopened the file, it didnt show the two pages side by side.

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


[Libreoffice-bugs] [Bug 80926] Moving paragraph-bound anchor on ODT file load.

2014-07-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80926

Jay Philips  changed:

   What|Removed |Added

 Attachment #102284|text/plain  |application/vnd.oasis.opend
  mime type||ocument.text

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


[Libreoffice-bugs] [Bug 80926] Moving paragraph-bound anchor on ODT file load.

2014-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80926

--- Comment #2 from Jan-Marek Glogowski  ---
Just tested our good, old OOo 3.2.1, which works correct.

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


[Libreoffice-bugs] [Bug 80926] Moving paragraph-bound anchor on ODT file load.

2014-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80926

--- Comment #1 from Jan-Marek Glogowski  ---
Ok - I just did another bibisect and I realized the same effect always happens,
if your screen is wide enought to show two pages side by side.

And this happens to me in all versions. Steps to reproduce:

1. Open the LO with the attached file.
2. Change the size of the window, so the two pages are shown side by side.

The anchor is still correct, so is the displayed line!

3. Close LO.
4. Start LO with the file.

LO shows both pages and the line has moved to the left. This even happens
independend from the Zoom factor!

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