Bug 148512 - Position and Size dialog box jumps when selecting "page text area bottom" in "to" field for Vertical Position
Summary: Position and Size dialog box jumps when selecting "page text area bottom" in ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyMedium, easyHack, skillDesign, topicDesign
Depends on:
Blocks: Dialog-UX
  Show dependency treegraph
 
Reported: 2022-04-11 11:24 UTC by sdc.blanco
Modified: 2022-04-12 04:36 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Screencast of the issue (976.57 KB, video/mp4)
2022-04-11 12:19 UTC, Heiko Tietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sdc.blanco 2022-04-11 11:24:43 UTC
1. Right-click on Textbox or Shape, choose Position and Size > Position and Size tab.

2. In "to" field for Vertical Position, select "Page text area bottom" in dropdown menu.

3. Then select another value in the "to" field, and continue trying values other than "Page text area bottom"


Actual result:  Dialog box jumps when selecting "Page text area  bottom" or moving away from that choice to another value.   (no jumps when selecting other values).

Additional information:   "page text area bottom" was first added in 8af2c4e3a517e3b75f2ace9719c1ca03153baddf  (May 2020)

Appears that the this entry is longer than existing entries, so the UI adjusts the width of the dropdown box, which gives a jump.
Comment 1 Heiko Tietze 2022-04-11 12:18:02 UTC
Yes, the alignment of controls needs a bit adjustment.

Code pointer is sw/uiconfig/swriter/ui/frmtypepage.ui

Perhaps we do a set_size_request() for the dropdowns m_xHoriRelationLB and m_xVertRelationLB in sw/source/ui/frmdlg/frmpage.cxx to cover for long names if expanding the frame wont help.

Andreas, one for you?
Comment 2 Heiko Tietze 2022-04-11 12:19:06 UTC
Created attachment 179457 [details]
Screencast of the issue