Bug 108906 - Page background image dialog should allow XY values in custom position
Summary: Page background image dialog should allow XY values in custom position
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.4.2 release
Hardware: x86-64 (AMD64) All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Area-Fill-Tab-Image
  Show dependency treegraph
 
Reported: 2017-07-02 17:22 UTC by denis campbell
Modified: 2022-08-31 16:18 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description denis campbell 2017-07-02 17:22:01 UTC
Format/Page/Bitmap/SAtyle/Custom/Position.
This gives a list of pre-set positions, eg Top Left, Top Center etc.
It would be desirable to be able to set the position in XY co-ordinates.
This is available in the Tiled option, but not in the Custom option.
Comment 1 Heiko Tietze 2017-07-06 08:20:05 UTC
From the format specification:

<cite>
19.508.2<style:background-image>

The style:position attribute specifies the position of a background image. Its value can be a space separated combination of top, center or bottom for the vertical position and left, center or right for the horizontal position. The vertical and horizontal positions can be specified in any order. If one position is specified, the other position defaults to center.

For a <style:background-image> 17.3 element the default value for this attribute is center.

The style:position attribute is usable with the following element: <style:background-image> 17.3.

The values of the style:position attribute are left, center, right, top, bottom, or two white space separated values, that may appear in any order. One of these values is one of: left, center or right. The other value is one of: top, center or bottom.
</cite>

Meaning it's a WONTFIX. But I'm also against this request from a UX POV. We should make things simple not add complexity, which was initially done for this dialog. If you think a bitmap fits not perfectly into the page background you should change the bitmap with an external tool.
Comment 2 denis campbell 2017-07-06 12:40:02 UTC
Thanks for the very comprehensive explanation, and the workaround of adjusting the bitmap.

However I don't agree with your opposition to the change on the basis that it adds complexity - because the option to choose XY coordinates already exists with the Tiling option, and even appears greyed-out in the other styles.

Refusing my requested option makes it more complex, as it involves messing around with the bitmap.

It is your call of course, but it remains a problem and shouldn't be classed as RESOLVED.
Comment 3 Xisco Faulí 2017-07-10 10:47:42 UTC
Moving it back to UNCONFIRMED. This bug was never confirmed by a third person...
Comment 4 Buovjaga 2017-08-07 13:54:29 UTC
Denis: so you propose to alter the Open Document Format specification?
Comment 5 Yousuf Philips (jay) (retired) 2017-08-07 17:15:21 UTC
Yes this is a bug, as it was functionality that worked before the redesign and should be available.

The 'Tiling Position' label should be renamed 'Position Offset' and the X and Y spinboxes should be enabled.
Comment 6 Yang Ruflo 2021-04-02 02:13:27 UTC Comment hidden (spam)
Comment 7 Stéphane Guillou (stragu) 2022-08-31 16:16:00 UTC
Still not available in:

Version: 7.4.0.3 / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

To reproduce in recent versions:

1. Open Writer
2. Go to "Format > Page Style... > Area > Image"
3. In "Options > Style", choose "Custom position/size"

Actual result:

There is no option to set an X/Y position

Expected result:

The "Tiling Position/Offset" section is replaced by a "Position Offset" section allowing the user to use X and Y offsets (from the origin selected in the Position dropdown) to place the image anywhere on the page.