Bug 103636 - SIDEBAR: Resizing shape when change page orientation
Summary: SIDEBAR: Resizing shape when change page orientation
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Katarina Behrens (Inactive)
URL:
Whiteboard: target:5.4.0
Keywords: implementationError
Depends on:
Blocks: Sidebar-Properties-Page Draw-Images
  Show dependency treegraph
 
Reported: 2016-11-02 06:12 UTC by i135026
Modified: 2017-02-07 12:06 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample draw with shape and image (9.60 KB, application/vnd.oasis.opendocument.graphics)
2016-11-02 14:18 UTC, i135026
Details
Screenshot for bug report (160.85 KB, image/png)
2016-11-03 12:34 UTC, i135026
Details
Screenshot for bug report (81.00 KB, image/png)
2016-11-03 12:34 UTC, i135026
Details

Note You need to log in before you can comment on or make changes to this bug.
Description i135026 2016-11-02 06:12:58 UTC
OS: Windows 10
LibreOffice: 5.2.2.2 (Build ID: 8f96e87c890bf8fa77463cd4b640a2312823f3ad)

When I have some images/shapes on page and the change page orientation, LibreOffice resize these images/shapes too.
Comment 1 Xisco Faulí 2016-11-02 08:41:08 UTC Comment hidden (obsolete)
Comment 2 i135026 2016-11-02 14:18:35 UTC
Created attachment 128439 [details]
Sample draw with shape and image

This drawing contains one shape and one image from Gallery. After I change page orientation to Landscape, all sizes of shapes/images are changed.
Comment 3 Xisco Faulí 2016-11-02 14:46:45 UTC
I can't reproduce it in

Version: 5.3.0.0.alpha1+
Build ID: 1b0aa768f2c5da65074a6eacfed5f61a121fb13d
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; VCL: gtk3; Layout Engine: old; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 4 Vera 2016-11-02 16:26:32 UTC
I cannot reproduce it either in LO version 5.2.3.2 in Ubuntu 16.04.
Locale: hu-HU (hu_HU.UTF-8)
Comment 5 i135026 2016-11-03 12:34:09 UTC
Created attachment 128464 [details]
Screenshot for bug report

before.png show initial draw with two shapes in Portrait orientation and after.png show draw after I change page orientation to Landscape.
Comment 6 i135026 2016-11-03 12:34:44 UTC
Created attachment 128465 [details]
Screenshot for bug report
Comment 7 i135026 2016-11-03 12:35:25 UTC
I attach screenshot about bug
Comment 8 Xisco Faulí 2016-11-03 12:43:10 UTC
oh, this is interesting, it can only be reproduced when changing the orientation from the sidebar, but not from Format - Page Properties dialog.

Confirmed in 

Version: 5.3.0.0.alpha1+
Build ID: 8a2a3f1032b4e60f7607e3ecb1ff99a6bb9af7f9
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; VCL: gtk2; Layout Engine: new; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 9 Commit Notification 2017-02-06 23:25:25 UTC
Katarina Behrens committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=83e059af2203ec0cd15dea08cfa538555ba14bd7

tdf#103636: In Draw sidebar, switch fitting objs to paper format off

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.
Comment 10 Cor Nouws 2017-02-06 23:42:31 UTC
(In reply to Commit Notification from comment #9)

> tdf#103636: In Draw sidebar, switch fitting objs to paper format off

Ah wow, the patched behavior even looks like a feature. Someone may want to add an expert option for it :)
Comment 11 Katarina Behrens (Inactive) 2017-02-07 07:15:29 UTC
No eye deer if this was a bug or a feature, I've simply made the behaviour consistent between Format > Page dialog and sidebar.

"Fit objects to paper format" is on in Impress and off in Draw and it's been like this, afaics, since the beginning of (OOo) time. The option is however not persistent ('fire and forget'), it's not saved anywhere, it's not a property of a document or a page style (after changing the value, open the dialog one another time and you see the old value again).

But that, fwiw, is a separate issue and should be filed as a new ticket
Comment 12 Katarina Behrens (Inactive) 2017-02-07 12:06:05 UTC
I'm closing this one as fixed and creating a related issue.

Until that one is dealt with, the only thing to be done is to make the behaviour consistent across different means (dialog vs. sidebar) of formatting the page