Bug 157054 - Impress: Removing ink during presentation doesn't actually remove the persistent shapes from a previous presentation
Summary: Impress: Removing ink during presentation doesn't actually remove the persist...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.5.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: annotation(pen)
  Show dependency treegraph
 
Reported: 2023-09-01 13:53 UTC by Bernard Decock
Modified: 2024-02-28 10:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Macros to delete Inks in edit mode (1.70 KB, text/plain)
2023-09-01 21:32 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Decock 2023-09-01 13:53:52 UTC
Description:
If one uses ink on a slide and ends the presentation, then one can notice that these drawings are saved as a lot of shapes (see navigator): Lines, Horizontal lines and vertical lines. If one issues the command "Erase all ink on slide" then the ink is removed during the presentation, but after ending the presentation it is still visible. The command to remove the ink doesn't remove the shapes. 

Steps to Reproduce:
1. Create an empty presentation in impress
2. Slide Show -> Slide Show Settings -> Mouse pointer as pen
3. Start presentation and make a drawing
4. Erase ink
5. End presentation
6. Start presentation => old ink is visible

Actual Results:
Drawing is made and can be erased, but the shapes aren't erased. After starting the presentation again, the "old" ink is still visible

Expected Results:
Erase ink should remove the objects as well. Else there is no way to remove these Shapes by a simple command


Reproducible: Always


User Profile Reset: No

Additional Info:
Erase ink should remove all according shapes
Comment 1 Regina Henschel 2023-09-01 21:32:29 UTC
Created attachment 189308 [details]
Macros to delete Inks in edit mode

The drawings from a previous slideshow run are on a separate, ordinary layer. Whereas the just made drawings are on a temporarily overlay.

You can delete the drawings in edit mode same as other objects. Only that it is cumbersome in LO 7.5, because that are hundreds of little segments. That will become better with LO 24.2. You can test it in a daily build.

The attached file contains two macros to erase these drawings, one for erasing from the current active page, the other for erasing from all pages.

The macros are for use in edit mode, not in running slideshow. Make a copy of the file before trying the macros. I have not tested the macros intensively, but they work for me.
Comment 2 Bernard Decock 2023-09-02 07:35:29 UTC
I wondered why I ran into this problem, because I didn't encounter this problem before. The thing is, when you draw something in presentation-mode and you remove the ink before showing another slide, then the shapes are not created at all (which is fine for me, because the drawings made are initiated by questions from the audience). Yesterday I encountered this problem as I made a drawing in presentation-mode. After making the drawing and not removing the ink, I stopped the presentation for making a correction into the slide. So I noticed hundreds of ink-shapes in the edit-mode. So as long as you don't stop the presentation, and you carefully erase all ink on the slides, no ink-shapes are generated.

Now that I understand the behavior, I can live with it. I removed the ink on the slide by removing the slide and pasting it from a backup-copy. A proper use-case would be that at closing the presentation, a dialog pops up, asking if the ink should be saved or not.
Comment 3 Stéphane Guillou (stragu) 2023-09-15 18:02:34 UTC
Not reproduced with your steps. However, full steps would be:

1. Create an empty presentation in impress
2. Slide Show -> Slide Show Settings -> Mouse pointer as pen
3. Start presentation and make a drawing
4. End presentation: see that ink remains on slide as a shape
5. Start presentation again, remove the ink the slide from the context menu
6. End presentation

Result:
Even though the ink was removed from the slide, it is still present in edit mode.

So I guess we do have the issue that the ink drawings that were made permanent can be "erased" during the slideshow, but that they persist in edit mode. It was mentioned in bug 136249, but it's not the focus of the report anymore.

Maybe the fix should be that "Erase all ink on slide" only removes what was drawn _during this presentation_, not the previous persistent one?
I think something needs to change, it currently feels like a bug.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b3fdd999f87312447d03915585812b3a5cd48141
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 4 Marie Justus 2024-02-28 10:23:19 UTC Comment hidden (spam)