Bug 85772 - In svg image, child elements are not evaluated, when parent element has visibility="hidden"
Summary: In svg image, child elements are not evaluated, when parent element has visib...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.4.0.0.alpha1
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: SVG-Open
  Show dependency treegraph
 
Reported: 2014-11-02 19:43 UTC by Regina Henschel
Modified: 2018-06-20 17:03 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Chield elements have to be evaluated for their visibility (879 bytes, image/svg+xml)
2014-11-02 19:43 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2014-11-02 19:43:43 UTC
Created attachment 108808 [details]
Chield elements have to be evaluated for their visibility

I have tested the new implementation for svg visibility in Version: 4.4.0.0.alpha1+ Build ID: b167d1127e1579468a74c4414e7f4f33d9d24122
TinderBox: Win-x86@51-TDF, Branch:MASTER, Time: 2014-11-02_03:04:44

If a parent has set visibility="hidden" the child elements have still to be evaluated and shown in case they have set visibility="visible".
Read http://www.w3.org/TR/SVG/painting.html#VisibilityControl
" ‘visibility’, however, only applies to individual graphics elements. Setting ‘visibility’ to hidden on a ‘g’ will make its children invisible as long as the children do not specify their own ‘visibility’ properties as visible."


Hi Christina, I've put you in CC because you have implemented it.
Comment 1 Buovjaga 2014-11-15 16:54:54 UTC
Confirmed. In Draw, I'm seeing the red circle and the text is not visible.

Win 7 64-bit Version: 4.4.0.0.alpha2+
Build ID: b021b5983c62e266b82d9f0c5c6d8d8900553827
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-12_01:10:08
Comment 2 Robinson Tryon (qubit) 2015-12-09 18:52:36 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2017-10-30 08:29:21 UTC Comment hidden (obsolete)
Comment 4 Regina Henschel 2017-11-06 00:08:17 UTC
The error no longer reproducible in Version: 6.0.0.0.alpha0+
Build ID: 6c68f38bc28bb55a4f0d53b8f38957516d3935d1
CPU threads: 4; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2017-09-04_22:05:26
Locale: de-DE (de_DE); Calc: group