Bug 131685 - Anchor to Paragraph: Different behaviour while dragging objects a page up or down
Summary: Anchor to Paragraph: Different behaviour while dragging objects a page up or ...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Anchor-and-Text-Wrap FontWork-WordArt
  Show dependency treegraph
 
Reported: 2020-03-29 21:14 UTC by Telesto
Modified: 2022-03-01 08:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (9.11 KB, application/vnd.oasis.opendocument.text)
2020-03-29 21:14 UTC, Telesto
Details
Screencast (1.65 MB, video/mp4)
2020-03-30 18:44 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-03-29 21:14:47 UTC
Description:
Positioning font work slightly jumpy

Steps to Reproduce:
1. Open the attached file
2. Drag the fontwork on the second page slightly up where the K slightly below the top page border. It will jump to the previous page.
3. Now drag Fontwork down, where F of font hits the border (nothing happens)

Actual Results:
Inconsistent behavior. Dragging down to page bottom is no issue. There is even resistance preventing to go further down (moving the next page) Dragging up to top of the page and it instantaneously snaps to the previous page

Expected Results:
Slightly more resistance


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: 7ae9c9572ccac55c0926b8a9779bb63c4236291c
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL
Comment 1 Telesto 2020-03-29 21:14:58 UTC
Created attachment 159132 [details]
Example file
Comment 2 Dieter 2020-03-30 18:27:22 UTC
I can't confirm with

Version: 7.0.0.0.alpha0+ (x64)
Build ID: 1c9ced04189c9d23ffea05d5570960b54b05ef28
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: CL
Comment 3 Telesto 2020-03-30 18:44:32 UTC
Created attachment 159172 [details]
Screencast
Comment 4 Dieter 2020-03-30 18:56:59 UTC
Screencast made it more clear to me, thanks. Fontwork jumps to second page, if the whole fontwork is on second page. Or more general: Fontwork jumps to the next/previous page, if anchor jumps to the next/previous page. I don't want to assess, if this is a bug or not. So what is the expected or desired behaviour?
Comment 5 Telesto 2020-03-30 19:01:28 UTC
(In reply to Dieter from comment #4)
> Screencast made it more clear to me, thanks. Fontwork jumps to second page,
> if the whole fontwork is on second page. Or more general: Fontwork jumps to
> the next/previous page, if anchor jumps to the next/previous page. I don't
> want to assess, if this is a bug or not. So what is the expected or desired
> behaviour?

If it where up to me.. more 'resistance' before the anchor is moved to previous page. Similar as the other way around
Comment 6 Dieter 2020-03-31 06:37:41 UTC
(In reply to Telesto from comment #5)
> If it where up to me.. more 'resistance' before the anchor is moved to
> previous page. Similar as the other way around

Same behaviour with images and shapes. So it's a broader issue. I would also expect, that behaviour is the same in both directions. I've changed bug summary a bit, to make the problem more clear

cc: Design-Team for further input and decision.
Comment 7 Heiko Tietze 2020-03-31 10:35:02 UTC
I vaguely remember to had this before. Let's just define the desirable behavior: 
* moving the object up to 1/3 of the object out of the page boundaries makes it jump to the top or bottom respectively
* moving the object further makes it jump to the bottom of the previous page or the top of the next page
This behavior would be independent from the anchoring type, which remains on moving beyond page boundaries.

Is that what you would expect, Telesto?
Comment 8 Heiko Tietze 2022-03-01 08:36:15 UTC
Looked again into the example document and cannot see anything suspicious. The rightmost ascender of the k quickly moves out of page so the anchor switches to the previous page. Moving the object down from there requires as much space on top as needed previously - in other words you move a a few pixel but down the whole image to not overrun the upper border. => NAB