Bug 121491 - Objects silently resized when changing margins by sidebar
Summary: Objects silently resized when changing margins by sidebar
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks: Sidebar-Properties-Page Sidebar-Page
  Show dependency treegraph
 
Reported: 2018-11-18 14:39 UTC by Urber Guintoru
Modified: 2022-09-08 21:03 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Snapshot with before and after (235.22 KB, image/jpeg)
2022-09-08 14:11 UTC, Galuxttor
Details
relevant setting (826 bytes, patch)
2022-09-08 21:03 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Urber Guintoru 2018-11-18 14:39:36 UTC
(sorry for my English)
Sidebar's Page properties allow changes in paper size and margins;  but when changing *margins*, alla shapes are resized without any warning !

This shouldn't happen: changing margins from menu  Page->Properties...   preserves object properties 

(I believe this is an old issue because every now and then I didn't understand the reason of some drawing measures)
Cheers. G.
Comment 1 Urber Guintoru 2018-11-18 14:50:42 UTC
I've to say I use Italian and En-US UI:  in both sidebar presents following margin options:

None
Narrow
Moderate
Normal 0.75'' 
Normal 1''
Normal 1.25''
Wide

Displaying imperial measures both in IT and in EN-US interface.
Comment 2 V Stuart Foote 2018-11-18 16:02:44 UTC
Can not confirm on Windows 10 Home 64-bit en-US with
Version: 6.2.0.0.alpha1+ (x64)
Build ID: 525ed5d1fcb89412f0b80be0b1e35410b048c337
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-15_23:08:09
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

Adjusting page margins has no affect on size/proportion of objects that have no relation to page, e.g. Frame, Draw Text Box, Draw Object.  

Their Anchor position shifts, following page-paragraph-or character as set.

And for objects that do take value(s) from page margins, e.g. Tables, Columns--resize to match page margin is expected behavior.
Comment 3 Urber Guintoru 2018-11-18 16:59:36 UTC
I've tried now on 6.2.0.0.alpha1 and happens there too.

Just to clarify: the problem is only in draw and only when page margins are changed by the dropdown in the sidebar on the right.
Comment 4 V Stuart Foote 2018-11-18 19:32:08 UTC
OK, now I see it. Yes the changing page margin settings of the Draw canvas are affecting Draw object attributes--visible directly for each object's Position & Size dialog.  That seems incorrect.


Version: 6.2.0.0.alpha1+ (x64)
Build ID: 525ed5d1fcb89412f0b80be0b1e35410b048c337
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-15_23:08:09
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded


Version: 6.1.3.2 (x64)
Build ID: 86daf60bf00efa86ad547e59e09d6bb77c699acb
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: en-US (en_US); Calc: CL
Comment 5 Xisco Faulí 2018-12-05 18:10:15 UTC
The option was added to the sidebar in https://cgit.freedesktop.org/libreoffice/core/commit/?id=fba28df77d7e98663d1cf77ac206f8799fce4108
Comment 6 QA Administrators 2022-09-08 05:06:15 UTC Comment hidden (obsolete)
Comment 7 Galuxttor 2022-09-08 14:10:08 UTC
(In reply to QA Administrators from comment #6)
> Dear Urber Guintoru,
> 
> To make sure we're focusing on the bugs that affect our users today,
> LibreOffice QA is asking bug reporters and confirmers to retest open,
> confirmed bugs which have not been touched for over a year.
> 
> There have been thousands of bug fixes and commits since anyone checked on
> this bug report. During that time, it's possible that the bug has been
> fixed, or the details of the problem have changed. We'd really appreciate
> your help in getting confirmation that the bug is still present.
> 
> If you have time, please do the following:
> 
> Test to see if the bug is still present with the latest version of
> LibreOffice from https://www.libreoffice.org/download/
> 
[...]

Bug still there in 7.4.0.0 beta 1
Comment 8 Galuxttor 2022-09-08 14:11:49 UTC
Created attachment 182308 [details]
Snapshot with before and after
Comment 9 Regina Henschel 2022-09-08 21:03:45 UTC
Created attachment 182319 [details]
relevant setting

The usual setting of this member is 'false' in Draw and 'true' in Impress. That can be set by the user with checkbox 'Fit object to paper format' (not persistent) in the Page Properties dialog, tab Page.

Because Impress does not have this setting in the sidebar, I guess it is save to force it to 'false' here. But I'm busy with other things and will not investigate further.