Bug 106841 - UI Position drop down lists have wrong items in case of anchored as character
Summary: UI Position drop down lists have wrong items in case of anchored as character
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Caolán McNamara
URL:
Whiteboard: target:5.4.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2017-03-28 23:10 UTC by Regina Henschel
Modified: 2017-03-29 12:33 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Combined screenshots of correct and buggy items (88.11 KB, image/png)
2017-03-28 23:10 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2017-03-28 23:10:22 UTC
Created attachment 132242 [details]
Combined screenshots of correct and buggy items

Insert an image and anchor it as character. Open the properties dialog, goto page "Type" and examine the items in the drop down lists for vertical alignment.
It should be
Vertical: Top/Bottom/Center/From Top
and
to: Base line/ Character / Row

That is correct in Version: 5.2.6.2
Build ID: a3100ed2409ebf1c212f5048fbe377c281438fdc
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
Locale: de-DE (de_DE); Calc: group

Now take a current build from master and do the same. You get
Vertical: Bottom paragraph border/Margin/Left Frame border/Right Frame border
and
to: Page text area/Top/Bottom

I see the bug in Version: 5.4.0.0.alpha0+
Build ID: a5c947579253a7f4e784004e18929af5ab22fa28
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2017-03-02_01:57:01
Locale: de-DE (de_DE); Calc: group
Comment 1 Regina Henschel 2017-03-28 23:19:38 UTC
The items for the other anchor types are broken too.
Comment 2 Xisco Faulí 2017-03-29 10:36:03 UTC
Regression introduced by:

author	Caolán McNamara <caolanm@redhat.com>	2017-02-06 11:51:27 (GMT)
committer	Caolán McNamara <caolanm@redhat.com>	2017-02-07 13:07:57 (GMT)
commit 1c48275a28fa3bccdeb6bc12e4f0bcea6c05a81b (patch)
tree ab2355dba87b8a59efa0c8c90f4a3f384ad8a19c
parent 7863798f2ab420fdb91ba3dcda6cea2ab2aded9d (diff)
convert resources containing strings to stringarray resources

Adding Cc: to Caolán McNamara
Comment 3 Commit Notification 2017-03-29 11:46:49 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=63da00becce1688ec6987e00199831e27ececc77

Resolves: tdf#106841 RID_SVXSW_FRAMEPOSITIONS is in wrong order

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.