Bug 165638 - "Save changes to document" message box appears just opening and closing (without edits)
Summary: "Save changes to document" message box appears just opening and closing (with...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
24.8.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: ModifiedStatus
  Show dependency treegraph
 
Reported: 2025-03-08 10:47 UTC by Gerald Pfeifer
Modified: 2025-05-24 16:08 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Minimal reproducer (33.18 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2025-03-08 11:32 UTC, Mike Kaganski
Details
Modified minimal reproducer: a blank slide inserted before the problematic one (33.17 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2025-05-24 16:08 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2025-03-08 10:47:20 UTC
1. Start LibreOffice
2. Open attachment 58046 [details] from bug 46987 (OWASP_Top_10_-_2010 Presentation.pptx)
3. Quit LibreOffice or close the document window (<Ctrl><W>)
4. Expected behavior: LibreOffice is closed or document is closed
   Actual behavior: "Save changes to document" message box appears

This is a regression between 

  Version: 24.2.8.0.0+ (X86_64) / LibreOffice Community
  Build ID: 0e74b05b607d931d63762b7d8f69f59b457c1e17
  CPU threads: 12; OS: Linux 6.13; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US

and

  Version: 24.8.6.0.0+ (X86_64) / LibreOffice Community
  Build ID: 99efa4efea813d8aa9e9c7bb934206095806aebe
  CPU threads: 12; OS: Linux 6.13; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US

It is *not* a duplicate of my bug #157776 where the reproducer still 
works as expected.
Comment 1 Gerald Pfeifer 2025-03-08 10:49:25 UTC
Also seen with 24.8.4.2.
Comment 2 Mike Kaganski 2025-03-08 11:32:38 UTC
Created attachment 199694 [details]
Minimal reproducer

Regression after 6e5529d7382558a38e547074e2f674e85e11e66e
Comment 3 Regina Henschel 2025-03-09 00:49:59 UTC
I cannot reproduce the problem with Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 32; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Vulkan; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded

Both the "Minimal reproducer" and the attachment 58046 [details] can be closed without that the "save changes to document" message box appears.
Comment 4 Aron Budea 2025-05-24 15:06:10 UTC
For me it's still reproducible with LO 25.8.0.0.alpha0+ (9bc5b89c149497a83117edfadc3fb0b96d2f9899) / Windows.
Comment 5 Mike Kaganski 2025-05-24 15:34:00 UTC
1. I see that the problem is linked to detected spelling error. When the automatic spell checking is disabled, or configured in such a way that spelling mistakes aren't detected, the problem doesn't occur. This may possibly explain what Regina reported.

2. About attachment 58046 [details]: it has the first problematic object on slide 7. The problem reported here will only appear when respective slide is processed. So for this original reproducing document to create the problem, the slides panel must be shown, and the size of the application must allow to see the slide 7 thumbnail in it. I didn't see the problem, when my app window size was small, but resizing the window until slide 7 thumbnail appeared, it immediately happened.
Comment 6 Mike Kaganski 2025-05-24 16:08:15 UTC
Created attachment 200942 [details]
Modified minimal reproducer: a blank slide inserted before the problematic one

I see that when the spell checker is disabled, the problem can be still reproduced with thumbnails. Curiously, when the problematic slide is the active one, its thumbnail itself doesn't provoke the bug (my previous minimal reproducer doesn't work with spell checker disabled); but here is slightly modified version (I simply inserted a blank slide at position 1, and so the slide with the problematic object is now displayed initially only as a thumbnail, which makes the bug reproducible for me without spell checker).