Bug 100632 - SIDEBAR, FILEOPEN: Certain Position & Size fields in Sidebar are not filled for this SVG
Summary: SIDEBAR, FILEOPEN: Certain Position & Size fields in Sidebar are not filled f...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
(earliest affected) release
Hardware: All All
: medium minor
Assignee: Not Assigned
Whiteboard: target:5.3.0 target:7.0.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Sidebar-Properties Sidebar-Properties-PositionAndSize
  Show dependency treegraph
Reported: 2016-06-27 02:36 UTC by Aron Budea
Modified: 2020-03-24 09:09 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2016-06-27 02:36:11 UTC
Open this attachment from bug 99088 in Draw:

Select the rectangle. You will see the following Horizontal/Vertical positions/Width/Height in the Sidebar:
- 0.07/0.07/0.84/0.08
- & 0.07/0.00/0.84/0.08
- 0.07/0.00/0.84/0.00

=> regression
There was a fix to bug 82616, which might be related (pushed for 4.5/5.0).
Bug 99711 might also be a distant relative.

There is an additional, related issue that existed from the introduction of the Sidebar.
Sidebar's Position and Size doesn't display the exact same values as right click -> Position and Size...
-Sidebar: 0.07/0.07/0.84/0.08
-Dialog: 0.07/0.07/0.85/0.07

(note a naming inconsistency: Position X/Position Y in dialog vs. Horizontal/Vertical in Sidebar)

Setting confirmed based on Heiko's reply:
Comment 1 Commit Notification 2016-07-10 18:13:39 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":


Related: tdf#100632 naming consistency

It will be available in 5.3.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:

Affected users are encouraged to test the fix and report feedback.
Comment 2 Heiko Tietze 2016-07-14 09:24:30 UTC
Positional values in the sidebar still don't get updated.

Is: 0.07/0.00/0.84/0.00 
Expected: 0.07/0.07/0.84/0.07 (according the position & size dialog)

Build ID: b93cfe09c21b996cd3f1c40037e0ebf712922006
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: de-DE (de_DE.UTF8); Calc: group
Comment 3 Aron Budea 2016-08-30 07:55:14 UTC
Bibisecting between 4.4 and 5.0:

# bad: [dda106fd616b7c0b8dc2370f6f1184501b01a49e] source-hash-0db96caf0fcce09b87621c11b584a6d81cc7df86
# good: [5b9dd620df316345477f0b6e6c9ed8ada7b6c091] source-hash-2851ce5afd0f37764cbbc2c2a9a63c7adc844311
git bisect start 'latest' 'oldest'
# bad: [0c30a2c797b249d0cd804cb71554946e2276b557] source-hash-45aaec8206182c16025cbcb20651ddbdf558b95d
git bisect bad 0c30a2c797b249d0cd804cb71554946e2276b557
# bad: [770ff0d1a74d2450c2decb349b62c5087e12c46b] source-hash-549b7fad48bb9ddcba7dfa92daea6ce917853a03
git bisect bad 770ff0d1a74d2450c2decb349b62c5087e12c46b
# bad: [227af65db5e34efcf8dcb0b53333efecd30f37f8] source-hash-193c7ba9be48f00b46f9e789f233db577e7b3303
git bisect bad 227af65db5e34efcf8dcb0b53333efecd30f37f8
# bad: [579722ff16592be24bae52c4fea90bbef0609601] source-hash-509e54df095712a91ff9ab3c6b885998936f79a0
git bisect bad 579722ff16592be24bae52c4fea90bbef0609601
# good: [a0988ef749c18c8314dba773f1a7f1f7a70678db] source-hash-54d9755ab4a0825d35e605b47376e01b72d1a57c
git bisect good a0988ef749c18c8314dba773f1a7f1f7a70678db
# good: [dbbb93c56521379f12ae02baf1fe4b23c23a6a00] source-hash-8f031861f590ba914321816657a003375d93ef5d
git bisect good dbbb93c56521379f12ae02baf1fe4b23c23a6a00
# bad: [521ce44d67a6c79978e96762633f582d64b2bb08] source-hash-fa15d039e3a553da8500c17190d27169a9477cf2
git bisect bad 521ce44d67a6c79978e96762633f582d64b2bb08
# good: [afb8e925b843cdbfd433a9a2b25db78d1702163c] source-hash-4368e050406ddfa09a4b42a8cecbfd9d662aaaab
git bisect good afb8e925b843cdbfd433a9a2b25db78d1702163c
# bad: [c97b9bf218da33e15639134ef609a8c4c3820553] source-hash-1386c348f81738a9966d1217db89d1f603466317
git bisect bad c97b9bf218da33e15639134ef609a8c4c3820553
# good: [285a5272bd378d0894d07f6b0868add226ed1efe] source-hash-426ef2847cbdc74c068531915efb852a727cd3ee
git bisect good 285a5272bd378d0894d07f6b0868add226ed1efe
# good: [8ddc211f530e964a0659785fe14c30bbf01b4ea0] source-hash-8bc56801af0540c0496c1f8ddd335578a8791017
git bisect good 8ddc211f530e964a0659785fe14c30bbf01b4ea0
# good: [2af005afc858c7651cf0b70bc9a9355937f740a4] source-hash-a4b6266311a95347696bc79baa84ddd09f69366e
git bisect good 2af005afc858c7651cf0b70bc9a9355937f740a4
# good: [511805b45446b088481ed364f590dbfcfebe02af] source-hash-e22325ca9076de4cf11c82f21da611b8c7ba1b5a
git bisect good 511805b45446b088481ed364f590dbfcfebe02af
# first bad commit: [c97b9bf218da33e15639134ef609a8c4c3820553] source-hash-1386c348f81738a9966d1217db89d1f603466317
Comment 4 Aron Budea 2016-08-30 07:59:00 UTC
Katarina, can you please take a look? This concerns the 2nd 0.07 becoming 0.00 in the Sidebar (Unit of Measurement has to be set to Centimeters).

The other 0.00 needs to be bibisected separately, but might be in the same piece of code.

c97b9bf218da33e15639134ef609a8c4c3820553 is the first bad commit
commit c97b9bf218da33e15639134ef609a8c4c3820553
Author: Matthew Francis <mjay.francis@gmail.com>
Date:   Wed May 27 16:48:36 2015 +0800

    commit 1386c348f81738a9966d1217db89d1f603466317
    Author:     Katarina Behrens <bubli@bubli.org>
    AuthorDate: Fri Nov 28 11:20:04 2014 +0100
    Commit:     Katarina Behrens <bubli@bubli.org>
    CommitDate: Sat Nov 29 08:18:34 2014 +0000
        fdo#82616: set limits on spinboxes according to size of workarea
        Do it the same way as position'n'size dialog does, for that matter
        move shared code into a separate header/class.
        This fixes regression from .ui migration that omitted spinbox limits
        Change-Id: I884904719b2608dd80aecc5d7ffb3923de71774d
        Reviewed-on: https://gerrit.libreoffice.org/13174
        Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
        Reviewed-by: Katarina Behrens <bubli@bubli.org>
Comment 5 Aron Budea 2016-08-31 21:56:11 UTC
Xisco, the bibisectRequest is still valid for this change, since I only bibisected the one between 4.4 and 5.0:
- & 0.07/0.00/0.84/0.08
- 0.07/0.00/0.84/0.00

I don't know if there's a protocol for that, but I added an extra whiteboard tag for clarification.
Comment 6 Aron Budea 2016-09-18 03:52:45 UTC
The second change is caused by this commit:

tdf#82396:Incorrect behavior on update of Size values in sidebar

Rishabh, can you please take a look?
Comment 7 QA Administrators 2017-12-21 03:37:26 UTC Comment hidden (obsolete)
Comment 8 Aron Budea 2017-12-22 11:35:58 UTC
Still the same in / Windows 7.
Comment 9 QA Administrators 2019-10-29 03:29:17 UTC Comment hidden (obsolete)
Comment 10 Aron Budea 2020-03-24 09:09:50 UTC
The selection rectangle is wrong since 6.1, reported bug 131523 on that. Thus the  exact numbers can't be verified, but they are filled now.

1. Height is filled since bug 111922's fix.

2. Position fields are filled since the following commit:
author		Caolán McNamara <caolanm@redhat.com>	2019-12-23 16:05:02 +0000
committer	Caolán McNamara <caolanm@redhat.com>	2019-12-30 10:39:48 +0100

"weld PosSizePropertyPanel"

Let's assume fixed. Thanks to Gabor Kelemen and Caolán McNamara!