Summary: | EDITING Form Controls: Default anchor should be set "To Page", not "To Paragraph" | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Robert Großkopf <robert> |
Component: | Base | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | serval2412 |
Priority: | medium | ||
Version: | Inherited From OOo | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=146442 | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: |
Description
Robert Großkopf
2022-05-30 06:05:42 UTC
(In reply to Robert Großkopf from comment #0) > If controls are anchored to paragraph you couldn't set the > position exactly by PositionX and PositionY of the control. Not opposing the request itself (I have *no* preference myself) - just mentioning the flaw in this specific excerpt: you *can* define exact *positioning* of controls regardless of the *anchoring* - see FAQ [1]. [1] https://wiki.documentfoundation.org/Faq/Writer/AnchoringAndPositioning It seems that I need some macro locally, that would require me to take a deep breath and drink my morning coffee before sending stuff - because I clearly needed to do that before sending comment 1. Indeed, the dialog needed to set the positioning options is not available in report designer. I still believe we should fix that, making positioning ~independent of anchoring even there - but please disregard me for this bug. And of course, I couldn't resist from making another error in comment 2, confusing reports with forms ... definitely need to stop posting today. (In reply to Mike Kaganski from comment #1) > (In reply to Robert Großkopf from comment #0) > > If controls are anchored to paragraph you couldn't set the > > position exactly by PositionX and PositionY of the control. > > Not opposing the request itself (I have *no* preference myself) - just > mentioning the flaw in this specific excerpt: you *can* define exact > *positioning* of controls regardless of the *anchoring* - see FAQ [1]. Certainly you could position any control exactly. Might be my special problem with English language. If there is more than one paragraph in a form controls will be anchored to different paragraphs. PositionY won't help here to set controls at the same absolute y value. On pc Debian x86-64 with master sources updated today, I could reproduce this. After some test, related code seems to be in wizards/com/sun/star/wizards/form but I tried: git grep -in anchor and git grep -in parag it returns nothing. Are you sure it's about anchor type? (In reply to Julien Nabet from comment #5) > > After some test, related code seems to be in > wizards/com/sun/star/wizards/form but I tried: > git grep -in anchor > and > git grep -in parag > it returns nothing. > > Are you sure it's about anchor type? Think it has nothing to do with the wizard. Open a form for editing. Add a control. Have a look for the anchor. Anchor is set to paragraph automatically. This is the same behavior in Writer, because default anchor could only be set for images, not for form controls. |