I have (a confidential) Visio diagram, which provides drawing blocks and lines on multiple layers. Some of those layer have been deactivated, others are active.
While Visio shows only the active layers overlaid of each other, LibreOffice drawing shows all drawings overlaid of each other independently whether they have been marked as visible or not.
Likely the same happens for printing. (Have not tested that.)
Could you prepare a public example of such layered file?
Created attachment 84666 [details]
Zip file containg Visio examples and screenshorts
Please find the attached examples for viewing and printing attributes.
Note to the above attachment.
First zip file within the zip-file:
The Box with the text "layer3" has deactivated visibility ("sichtbar").
Thus it should not be shown on the screen, however it is shown by LibreOffice 18.104.22.168.
Second zip file within the zip-file:
The Box with the text "layer3" has deactivated visibility ("sichtbar") and printability ("drucken").
Thus it should not be printed on the printer, however it is printed by LibreOffice 22.214.171.124.
I have set it to high importance, since if you use it in a factory some lines the wrong product may be build or an architect might build some walls visible in a deactivated layer.
(This is an automated message.)
LibreOffice development currently prioritizes bugs with the so called MAB (most annoying bugs) -- as this bug has not run through that process (including writing a short rationale for this bug being a candidate and other who are watching the tracker bug silently approving that rationale etc.) its priority is set to high. Note this is effectively no change in the urgency assigned to this bug, as we are currently not making a difference between high and highest and severity is untouched.
You can find out more about MABs and how the process works by contacting libreoffice qa on irc:
The QA wiki page also gives you hints on how to get in contact with the team (if IRC fails you, your next best choice is the mailing list):
@Fridrich, interested ?
Layers attributes are in the PageSheet->LayerList->LayerIX chunks.
Attributes decoded by OLEToy, so visible/printable/color/transparency etc are known. Layer name seems to be in formula blocks, hence libvisio is not ready to extract that.
Shapes are linked to layers via PropList->LayerMem chunks.
I can confirm this problem. It makes big troubles for Visio files having many layers. For example, some older Visio files (before 2010 which introduces multi-language texts) have many layers containing texts in different languages. These files can't be effectively imported into LibreOffice Draw because they are converted to total "mashup".
This libvisio commit
together with this libodfgen commit
fixes this issue. It will need a release of both libvisio and libodfgen and their integration in LibreOffice to be accessible to wide public. But I fixed it, so resolving this bug.