Summary: | page anchored shapes (with run around) leaves empty rectangles elsewhere in doc | ||
---|---|---|---|
Product: | [Applications] calligrawords | Reporter: | Sven Langkamp <sven.langkamp> |
Component: | opendocument | Assignee: | Calligra Words Bugs <calligra-words-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | cbo |
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/2b0ea66ee4d671e3da24776e3228e429d3c8c43c | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
File to reproduce the problem
Screenshot showing the bug after load |
Description
Sven Langkamp
2013-01-09 23:50:58 UTC
Created attachment 76348 [details]
File to reproduce the problem
Created attachment 76349 [details]
Screenshot showing the bug after load
We need to move away all page anchored images before starting the layout. so they don't create empty rectangles on the first page. I recall we once had set them to invisible until we were able to place them. Git commit 3b6b1973f182109e89fc1d40437bb1223c0c6e73 by C. Boemann. Committed on 12/01/2013 at 05:22. Pushed by boemann into branch 'master'. Shape moving restrictions based on anchor properties. This is the page anchors equivalent of the char and paragraph anchors code we already have. This makes a difference both on initial layout (nice improvements) and on interactive moving of page anchored shapes. This commit also fixes the default anchoring properties to be the same as in LO. This commit also fixes it so the page anchored iages doesn't leave empty rects on page 1 after reload Related: bug 312193, bug 310715 REVIEW: 108358 M +10 -1 libs/kotext/KoTextAnchor.cpp M +10 -6 plugins/defaultTools/defaulttool/ShapeMoveStrategy.cpp M +1 -0 plugins/defaultTools/defaulttool/ShapeMoveStrategy.h M +4 -0 words/part/KWCanvasBase.cpp M +12 -2 words/part/KWRootAreaProvider.cpp M +81 -1 words/part/frames/KWFrameLayout.cpp M +2 -0 words/part/frames/KWFrameLayout.h http://commits.kde.org/calligra/3b6b1973f182109e89fc1d40437bb1223c0c6e73 Git commit 2b0ea66ee4d671e3da24776e3228e429d3c8c43c by C. Boemann. Committed on 12/01/2013 at 05:22. Pushed by boemann into branch 'calligra/2.6'. Shape moving restrictions based on anchor properties. This is the page anchors equivalent of the char and paragraph anchors code we already have. This makes a difference both on initial layout (nice improvements) and on interactive moving of page anchored shapes. This commit also fixes the default anchoring properties to be the same as in LO. This commit also fixes it so the page anchored iages doesn't leave empty rects on page 1 after reload Related: bug 312193, bug 310715 REVIEW: 108358 M +10 -1 libs/kotext/KoTextAnchor.cpp M +10 -6 plugins/defaultTools/defaulttool/ShapeMoveStrategy.cpp M +1 -0 plugins/defaultTools/defaulttool/ShapeMoveStrategy.h M +4 -0 words/part/KWCanvasBase.cpp M +12 -2 words/part/KWRootAreaProvider.cpp M +81 -1 words/part/frames/KWFrameLayout.cpp M +2 -0 words/part/frames/KWFrameLayout.h http://commits.kde.org/calligra/2b0ea66ee4d671e3da24776e3228e429d3c8c43c |