https://bugs.documentfoundation.org/show_bug.cgi?id=153304
Buovjaga <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Severity|normal |minor CC| |ilmari.lauhakangas@libreoff | |ice.org --- Comment #3 from Buovjaga <[email protected]> --- (In reply to Mike Kaganski from comment #0) > Created attachment 185043 [details] > A sample with two images > > The attachment has first image anchored as-character to the empty second > paragraph, and the second image anchored to paragraph 3, positioned to the > right of the paragraph, and wrapped optimally. > > Executing these two Basic commands: > > ThisComponent.GraphicObjects(0).setPropertyValue("RelativeWidth", 80) > ThisComponent.GraphicObjects(0).setPropertyValue("RelativeHeight", 80) > > is expected to make the first (as-char) image much larger, and shift the > last paragraph down (presumably the second image would not fit to the first > page; possibly it would need to move to the second page, together with the > last paragraph, which is its anchor point). > > Three problems arise: > > 1. The document does not get "modified" state after the macro. > 2. There is no "undo" after the macro. > 3. The layout of the document gets broken: the first image moves somewhere > to the bottom of the first page (out from its paragraph, despite being > anchored as character) - its *empty* frame is partially visible there *at > some scroll positions* below the second, to-paragraph image. > > It is possible that the last problem is independent from the first two. I now only reproduce problem number 3. Arch Linux 64-bit, X11 Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 6dfa9c7c0db91a71f3787226636864161d5367ca CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 23 March 2023 -- You are receiving this mail because: You are the assignee for the bug.
