[Libreoffice-bugs] [Bug 129898] Drawings during presentations wouldn't be shown when setting "mouse pointer as pen" in the slide show settings

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Apr 4 15:19:27 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=129898

--- Comment #5 from Regina Henschel <rb.henschel at t-online.de> ---
I have made some experiments. The painting while presentation is assigned to a
layer "DrawnInSlideshow". I have to admit that I did not know that such a layer
even existed.
If the "mouse as pen" is already set in the slide show settings, then the layer
is created, when leaving the presentation. But it arrives in edit mode with
visible=false. I don't know why. It seems to be generated in
SlideShowImpl::registerUserPaintPolygons(...).

If I switch in presentation mode to Screen > Black and draw something, that
drawing can be seen when back to normal presentation mode. And that drawing
exists in edit mode. So bug 122784 is at least related.

During my experiments I have got multiple layers all with layer name
"DrawnInSlideshow". That should not happen. There is likely a condition
missing, whether such layer already exists. If a file has already this
situation, the superfluous layers have to be removed. They are in sub-file
styles.xml in node draw:layer-set in office:master-styles.

Before looking, why visibility is wrong here, bug 122784 has to be solved. I
first thought, that it might be, that the layer is set to "locked", but that is
not the case. I do not know, where in code painting with "mouse as pen" is
done. A code pointer would be good.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200404/e0d6e4bf/attachment.htm>


More information about the Libreoffice-bugs mailing list