Bug 68327 - SVG: draw:glue-points cannot be defined outside svg:viewbox
Summary: SVG: draw:glue-points cannot be defined outside svg:viewbox
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: Shape-Points
  Show dependency treegraph
 
Reported: 2013-08-20 11:55 UTC by Laurent Balland
Modified: 2024-09-02 13:46 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file with a glue point defined outside viewbox (29.97 KB, application/vnd.oasis.opendocument.graphics)
2013-08-20 11:55 UTC, Laurent Balland
Details
Example of an object bigger than viewbox (9.79 KB, application/vnd.oasis.opendocument.graphics)
2016-05-03 17:25 UTC, Laurent Balland
Details
Calculated gluepoint, which shows a use case (10.42 KB, application/vnd.oasis.opendocument.presentation)
2018-06-25 09:24 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Balland 2013-08-20 11:55:40 UTC
Created attachment 84327 [details]
Example file with a glue point defined outside viewbox

Problem description: 

Steps to reproduce:
1. create a new document with a shape
2. save it as flat XML (fodg) to ease next step, and close it
3. edit file with a XML editor
4. jump to the <draw:custom-shape...> shape
5. inside <draw:enhanced-geometry...> add draw:glue-points="5400 43200" (at least one value higher than the values define in svg:viewBox (default 0 to 21600))
6. save file
7. open file in LibO
8. select shape
9. activate glue-point tool

Current behavior:
defined glue-point appears at the limit of the view box and not outside

Expected behavior:
defined glue-point should be set where it has been defined

OASIS specifications do not mention this limitation
http://valhalla.fciencias.unam.mx/odfdomdoc/doc-files/OpenDocument-v1.2-part1-cd04.xhtml#attribute-draw_glue-points

If file is saved, larger value for glue-point position is kept in XML code.
Operating System: All
Version: 3.3 all versions
Comment 1 Laurent Balland 2013-08-20 12:03:57 UTC
Issue 121380 with AOO
https://issues.apache.org/ooo/show_bug.cgi?id=121680
Comment 2 QA Administrators 2015-04-01 14:42:38 UTC Comment hidden (obsolete)
Comment 3 Laurent Balland 2015-04-01 20:38:18 UTC
Reproduce on Win7 with:
- Version: 4.3.6.2
Build ID: d50a87b2e514536ed401c18000dad4660b6a169e
- Version: 4.4.2.2
Build ID: c4c7d32d0d49397cad38d62472b0bc8acff48dd6
Locale : fr_FR
- Version: 4.5.0.0.alpha0+
Build ID: 0986fe775563a9fd2a463f1c1b288fb5209b0b52
TinderBox: Win-x86@42, Branch:master, Time: 2015-03-31_07:17:19
Locale: fr_FR
Comment 4 tommy27 2016-04-16 07:25:28 UTC Comment hidden (obsolete)
Comment 5 Laurent Balland 2016-04-16 12:23:07 UTC
Confirmed with:
- Version: 5.1.2.2 (x64)
Build ID: d3bf12ecb743fc0d20e0be0c58ca359301eb705f
Threads CPU : 4; Version de l'OS :Windows 6.1; UI Render : par défaut; 
Locale : fr-FR (fr_FR)

- Version: 5.2.0.0.alpha0+ (x64)
Build ID: 042f16a19e3d5f884759dae71264433b988df0e6
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86_64@62-TDF, Branch:MASTER, Time: 2016-03-16_10:03:38
Locale: fr-FR (fr_FR)
Comment 6 Heiko Tietze 2016-05-03 15:49:44 UTC
(In reply to Laurent BP from comment #0)
> OASIS specifications do not mention this limitation
> http://valhalla.fciencias.unam.mx/odfdomdoc/doc-files/OpenDocument-v1.2-
> part1-cd04.xhtml#attribute-draw_glue-points

Wouldn't that be the same as placing a glue point outside of an object? Why would you want to do so, even when the spec not forbids it explicitly.
Comment 7 Laurent Balland 2016-05-03 17:25:43 UTC
Created attachment 124825 [details]
Example of an object bigger than viewbox

(In reply to Heiko Tietze from comment #6)
> Wouldn't that be the same as placing a glue point outside of an object? Why
> would you want to do so, even when the spec not forbids it explicitly.
No. You can define your object outside viewBox. Check attachment.
Comment 8 QA Administrators 2017-05-22 13:40:39 UTC Comment hidden (obsolete)
Comment 9 Laurent Balland 2017-05-22 20:40:48 UTC
Confirmed with:
- Version: 5.3.2.2 (x64)
Build ID: 6cd4f1ef626f15116896b1d8e1398b56da0d0ee1
Threads CPU : 4; Version de l'OS :Windows 6.1; UI Render : par défaut; Moteur de mise en page : nouveau; 
Locale : fr-FR (fr_FR); Calc: group

- Version: 5.4.0.0.alpha1+
Build ID: d33e262a244f351febc9dbe605b05f76cb834eeb
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-05-08_00:26:09
Locale: fr-FR (fr_FR); Calc: CL
Comment 10 Xisco Faulí 2017-06-07 20:21:29 UTC
You can't confirm yourself a bug. Moving back to UNCONFIRMED
Comment 11 Buovjaga 2017-06-11 10:16:55 UTC
It is confirmed in the AOO issue.
Comment 12 QA Administrators 2018-06-25 02:40:18 UTC Comment hidden (obsolete)
Comment 13 Regina Henschel 2018-06-25 09:24:10 UTC
Created attachment 143092 [details]
Calculated gluepoint, which shows a use case

Here is a copy of my test-file and description from AOO bugtracker:
Open attached file. It has a "non-primitive" custom shape triangle. The upper point is set by a handle and can be moved horizontally. There are two glue points. On is fixed on the lower edge of the shape, the other is calculated so that it has the same position as the upper point. This two glue points are connected with a straight connector.
Move the handle right and left and notice, that the glue point and the connector follow the movement of the handle.
Now drag the handle far to the right, leaving the viewBox. You see the path of the shape follows the movement, but the glue point stops at the right edge.

PowerPoint 365 shows it correctly.

The error is still in Version: 6.2.0.0.alpha0+ (x64)
Build ID: c3e552ac25be001a623469c549ee8d0719b98133
CPU threads: 8; OS: Windows 10.0; UI render: default; 
Locale: de-DE (de_DE); Calc: CL
Comment 14 QA Administrators 2019-06-26 02:46:07 UTC Comment hidden (obsolete)
Comment 15 Laurent Balland 2019-09-04 19:53:02 UTC
I can confirm behavior described in comment 13 with
- Version: 6.3.0.4
Build ID: 057fc023c990d676a43019934386b85b21a9ee99
Threads CPU : 8; OS : Linux 4.15; UI Render : par défaut; VCL: gtk3; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded
- Version: 6.4.0.0.alpha0+
Build ID: 1a999aa44f236c662fbf7ca6f6c23b7966ec13a9
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: fr-FR (fr_FR.UTF-8); UI-Language: en-US
Calc: threaded
Comment 16 QA Administrators 2021-09-04 04:01:54 UTC Comment hidden (obsolete)
Comment 17 Laurent Balland 2021-09-04 18:42:23 UTC
I can confirm behavior described in comment 13 with
- Version: 7.1.5.2 (x64) / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded
- Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4debb7e8cc12563f46d1aaa58afdcb831f21cc83
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded
Comment 18 QA Administrators 2023-09-05 03:13:25 UTC Comment hidden (obsolete)
Comment 19 Laurent Balland 2023-09-09 07:56:39 UTC
Confirmed with:
- Version: 7.5.6.2 (X86_64) / LibreOffice Community
Build ID: f654817fb68d6d4600d7d2f6b647e47729f55f15
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: threaded
- Version: 7.6.1.2 (X86_64) / LibreOffice Community
Build ID: f5defcebd022c5bc36bbb79be232cb6926d8f674
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded
- Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 65325f9c2f9aff6782fa5df910e8f2f5e63dfd93
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded