Bug 145956 - X and Y of property Origin of extruded custom shape are relative to bounding box
Summary: X and Y of property Origin of extruded custom shape are relative to bounding box
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Regina Henschel
URL:
Whiteboard: target:7.4.0 target:7.3.0.0.beta2
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-29 22:45 UTC by Regina Henschel
Modified: 2021-12-17 10:58 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
extruded custom shape with bounding rectangle different from logical rectangle (131.50 KB, application/msword)
2021-11-29 22:45 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2021-11-29 22:45:28 UTC
Created attachment 176582 [details]
extruded custom shape with bounding rectangle different from logical rectangle

In RTF and DOC, the properties c3DOriginX and c3DOriginY are relative to the bounding box of the shape (enclosing rectangle of the actual drawing). LibreOffice uses the logical rectangle of the shape (roughly what you see as handles if you click on the shape). This origin determines the position of the viewpoint.

The attached file has an extruded shape - based on a block arc, and a screenshot of the shape in Word. The extruded shape has a wireframe surface, so that the viewpoint can be better determined. Because origin is (0 0) here, viewpoint X and Y equal origin. The viewpoint is nearer  to the shape (smaller Z-component) as in default settings. That emphasizes the perspective.
Comment 1 Regina Henschel 2021-12-11 14:32:37 UTC
I#m going to work on it.
Comment 2 Commit Notification 2021-12-15 07:23:48 UTC
Regina Henschel committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/453c5b6214654b440fe1d3e926cddfb695e17f10

tdf#145904,tdf#145956 improve extrusion of custom shapes

It will be available in 7.4.0.

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

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2021-12-15 12:36:04 UTC
Regina Henschel committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/90b925307da4066cd18fcbf31b903e948fa55e82

tdf#145904,tdf#145956 improve extrusion of custom shapes

It will be available in 7.3.0.0.beta2.

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

Affected users are encouraged to test the fix and report feedback.
Comment 4 Commit Notification 2021-12-17 00:33:46 UTC
Regina Henschel committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/b9c159361abd79862b30412c433fb355d63299e2

tdf#145904,tdf#145956 unit test extrusion of shapes

It will be available in 7.4.0.

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

Affected users are encouraged to test the fix and report feedback.
Comment 5 Commit Notification 2021-12-17 10:58:25 UTC
Regina Henschel committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/e9d927b0a0ab56a7abdb7afad3c0fcc0c0c51e44

tdf#145904,tdf#145956 unit test extrusion of shapes

It will be available in 7.3.0.0.beta2.

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

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