libreoffice-math save icon reset upon arrow action

Bug #1921949 reported by Heather Ellsworth
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LibreOffice
Fix Released
High
libreoffice (Ubuntu)
Fix Released
Medium
Heather Ellsworth
Bionic
Won't Fix
Medium
Heather Ellsworth
Focal
Won't Fix
Medium
Heather Ellsworth
Groovy
Fix Committed
Medium
Heather Ellsworth
Hirsute
Won't Fix
Medium
Heather Ellsworth

Bug Description

The save icon (in libreoffice-math only) will indicate there are changes to be saved. However, if you arrow anywhere, it changes the save icon to indicate there are no changes needing to be saved.

You can close the doc in this state and you *will not* be prompted to save/discard changes and all changes will be lost.

Steps to reproduce:
1. open new math doc
2. add any equation -> see the save icon indicates there are changes that need to be saved.
3. arrow anywhere -> see the save icon go back to indicating there are no changes.

You can keep making changes to see the save icon indicate there are changes. Then arrow to make it go away. You can do this repeatedly.

This problem manifests itself in:
  - bionic vm with stock 6.0.7-0ubuntu0.18.04.10
  - focal vm with stock 6.4.6-0ubuntu0.20.04.1
  - hirsute vm with 7.1.2~rc2-0ubuntu0.21.04.1~lo4 (provided by the prereleases ppa)
  - a debian 10 vm, with stock 6.1.5-3+deb10u7

description: updated
description: updated
Revision history for this message
Ken VanDine (ken-vandine) wrote :

Can you please look for an upstream bug reference, and submit a bug there if necessary

Changed in libreoffice (Ubuntu Hirsute):
assignee: nobody → Heather Ellsworth (hellsworth)
Changed in libreoffice (Ubuntu Focal):
assignee: nobody → Heather Ellsworth (hellsworth)
Iain Lane (laney)
Changed in libreoffice (Ubuntu Focal):
status: New → Triaged
Changed in libreoffice (Ubuntu Hirsute):
status: New → Triaged
Changed in libreoffice (Ubuntu Focal):
importance: Undecided → Medium
Changed in libreoffice (Ubuntu Hirsute):
importance: Undecided → Medium
Revision history for this message
Rico Tzschichholz (ricotz) wrote :

I was able to confirm this issue with 7.1.2 on Windows 10 and MacOS 10.15.x, so this is not a platform specific bug.

description: updated
description: updated
description: updated
Changed in libreoffice (Ubuntu Bionic):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Heather Ellsworth (hellsworth)
summary: - math save icon reset upon click or arrow action
+ libreoffice-math save icon reset upon arrow action
Revision history for this message
In , Heather Ellsworth (hellsworth) wrote :

Description:
The save icon (in libreoffice-math only) will indicate there are changes to be saved. However, if you arrow anywhere, it changes the save icon to indicate there are no changes needing to be saved.

You can close the doc in this state and you *will not* be prompted to save/discard changes and all changes will be lost.

Steps to Reproduce:
1. open new math doc
2. add any equation -> see the save icon indicates there are changes that need to be saved.
3. arrow anywhere -> see the save icon go back to indicating there are no changes.

You can keep making changes to see the save icon indicate there are changes. Then arrow to make it go away. You can do this repeatedly.

Actual Results:
You see the save icon go from indicating that there are changes needed saving to indicating no changes. If the document is closed in this state, all changes are lost without a dialog giving the user an opportunity to save before quitting.

Expected Results:
Once there is a change to an empty document, the save icon should indicate changes until the document is saved.

Reproducible: Always

User Profile Reset: No

Additional Info:
This problem manifests itself in:
  - bionic vm with stock 6.0.7-0ubuntu0.18.04.10
  - focal vm with stock 6.4.6-0ubuntu0.20.04.1
  - hirsute vm with 7.1.2~rc2-0ubuntu0.21.04.1~lo4
  - a debian 10 vm, with stock 6.1.5-3+deb10u7

There is a corresponding launchpad bug: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1921949

Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → New
Revision history for this message
In , Uwe-8 (uwe-8) wrote :

Repro on

Version: 7.1.2.2 / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Changed in df-libreoffice:
status: New → Confirmed
Revision history for this message
In , Mmachova (mmachova) wrote :

This bug started to occur in 7.1.2 in all SUSE and openSUSE distributions and it is still here.

Version: 7.1.3.1 / LibreOffice Community
Build ID: 10(Build:1)
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: x11
Locale: en-US (en_US.utf8); UI: en-US
Calc: threaded

Steps to reproduce:
1. open Math Formula editor
2. make some changes
3. kill it with Ctrl+q

Expected: 'save changes' dialog pops out
Actual: no dialog, changes lost

I did not test other distributions. Could you please look into it? Thanks!

Revision history for this message
In , Gerald (gerald-pfeifer) wrote :

I does not reproduce in all situations, but many, and deterministically.

Here is a concrete reproducer:

 1. Open Math Formula editor.
 2. Select +[ ] symbol (unary plus) from the list.
 3. Enter "abc" and click outside symbol + string (leaving edit mode).
 4. <Ctrl>+<Q> - "Save changes" message box pops up.
 5. Click at the string "abc" (entering edit mode again).
 5. <Ctrl>+<Q> exits Math Formula editor without question.

NOT reproduced with Version: 7.1.1.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US

REPRODUCED with Version: 7.1.3.0.0+ / LibreOffice Community
Build ID: 66319fd36564f55feb9669b3f117176f4ef4c939
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:libreoffice-7-1, Time: 2021-03-20_11:15:06

NOT reproduced with Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 0dc9da5df470b9c345e78dbe9553d81b9e4a7435
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-04-29_15:55:29

So this looks like a regression on the 7.1 release branch between 7.1.1.2
and 7.1.3.0.0+ as of March 20.

Revision history for this message
In , Gerald (gerald-pfeifer) wrote :

Still reproduces with current 7.1 branch, i.e.,

Version: 7.1.4.0.0+ / LibreOffice Community
Build ID: e5b8477a1270a8b572b3815cfb318110eb19d0f2
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:libreoffice-7-1, Time: 2021-04-28_11:37:37

Revision history for this message
In , Marina-latini (marina-latini) wrote :
Download full text (3.5 KiB)

Some notes for reproducing the regression:

The regression happens only when trying to close using <ctrl>+<q> or <alt>+<f4>. The save pop-up shows properly trying to use File+Close from the File menu.

I tried to bisect with VCL=kf5 but it works perfectly showing always the save pop-up as expected.

The regression is gtk3 only.
For my bisect I was able to reproduce forcing VCL with:
SAL_USE_VCLPLUGIN=gtk3

cd8a95897491fa33980122053825176779e7624a is the first bad commit
commit cd8a95897491fa33980122053825176779e7624a
Author: Jenkins Build User <email address hidden>
Date: Fri Feb 26 01:04:33 2021 +0100

    source sha:f7243a465fc75f8c29c1decb7628f7a8f6d1d769

    source sha:f7243a465fc75f8c29c1decb7628f7a8f6d1d769

 instdir/program/libsmlo.so | Bin 1791192 -> 1791264 bytes
 instdir/program/setuprc | 2 +-
 instdir/program/versionrc | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)

 git bisect log
# bad: [a0d29a846f1429ed8281d59f22bcfbdd13119279] source sha:91385bbc7cccfdf59f60a24eaf81894772134af0
# good: [36741205b2e1c9e51d58dff4d0b4ce9022013411] source sha:574c57090642347980d2395e1e183cc7b5c171ad
git bisect start 'origin/master' 'oldest'
# good: [a41af4542f3c9bd81eba53ed8d55c23543d82ef7] source sha:487df0c8f307500029b06c89985a1148ebc784b5
git bisect good a41af4542f3c9bd81eba53ed8d55c23543d82ef7
# good: [fdbbff390d14ece1013e2ea8f511f9ace5f6da4b] source sha:ebea072fa7d7081ba9d1e549f5aa629c749d8c0e
git bisect good fdbbff390d14ece1013e2ea8f511f9ace5f6da4b
# good: [71fc1eec4e0ecdbd983a21610e6a745470c4b82d] source sha:14fb7d2cce5c41bacf7c6b571aa946c766205bc3
git bisect good 71fc1eec4e0ecdbd983a21610e6a745470c4b82d
# good: [b01d2c96f3a1cffd388e43c6fb26616a8d542ccb] source sha:bc0d161d3651ab2d38a6ff664e43841d2719f4cc
git bisect good b01d2c96f3a1cffd388e43c6fb26616a8d542ccb
# good: [17cc6f8c9ce4df336b9b78008ce1bd9239a092ab] source sha:608151c7de0f0661783daceecd9250bdcf497b59
git bisect good 17cc6f8c9ce4df336b9b78008ce1bd9239a092ab
# bad: [606a1b6c61493129322817145ecc6fd48798ccfd] source sha:11d344f6271e4171f8006c2cb29372f612cbdc00
git bisect bad 606a1b6c61493129322817145ecc6fd48798ccfd
# bad: [e816f0bcf200157099e00b069e2f45f2d0c532ea] source sha:ff94f7779232088728bf724ec47608f35f5310b7
git bisect bad e816f0bcf200157099e00b069e2f45f2d0c532ea
# bad: [377f98e9d6b6432410eb65d6b3c21dc52590187d] source sha:d92235df75829a8cf2ee8cc7b0b76063093b6cc2
git bisect bad 377f98e9d6b6432410eb65d6b3c21dc52590187d
# bad: [924927e1950ae5f3c113adbec19d559fc0d25351] source sha:bbafee3424fdc59d2f69204fefab8a318aeec0e1
git bisect bad 924927e1950ae5f3c113adbec19d559fc0d25351
# bad: [e615b0b9af48f065fcbc4fd9d86b60152511d19c] source sha:f580ea54bddee91e85ef018be286b60b48935681
git bisect bad e615b0b9af48f065fcbc4fd9d86b60152511d19c
# good: [eb71bd63e4f77212d45f412a8eb6412259dbb107] source sha:1220b206c7be018ca970421f36b8ed4774321ae2
git bisect good eb71bd63e4f77212d45f412a8eb6412259dbb107
# bad: [cd8a95897491fa33980122053825176779e7624a] source sha:f7243a465fc75f8c29c1decb7628f7a8f6d1d769
git bisect bad cd8a95897491fa33980122053825176779e7624a
# good: [4933965c83355ace9db5e23d85a206f69711f21a] source sha:2465b0467d57ca325e820f13efeb40e69386b4a1
git bisect...

Read more...

Revision history for this message
In , Caolanm (caolanm) wrote :

Prior to that change using the cursor keys will also reset the state so that no save dialog is prompted on exit, the underlying issue preexists.

Revision history for this message
In , Libreoffice-commits (libreoffice-commits) wrote :

Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/9fed7b07af44792012028eb57900640a5ee833cb

tdf#141930 document set as unmodified if editengine didn't modify on keyevent

It will be available in 7.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

Revision history for this message
In , Libreoffice-commits (libreoffice-commits) wrote :

Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-7-1":

https://git.libreoffice.org/core/commit/8e78b937fca92f5ed07383e69ceef71715a15fe1

tdf#141930 document set as unmodified if editengine didn't modify on keyevent

It will be available in 7.1.4.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

Revision history for this message
In , Xiscofauli (xiscofauli) wrote :

Verified in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 1a99b4e44190e182d56a04678850d62635d74c65
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

@Caolán, thanks for fixing this issue!!

Revision history for this message
In , Libreoffice-commits (libreoffice-commits) wrote :

Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-7-0-6":

https://git.libreoffice.org/core/commit/be81f8724b0e4ef37d27281698bf45270b993e77

tdf#141930 document set as unmodified if editengine didn't modify on keyevent

It will be available in 7.0.6.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

Revision history for this message
In , Libreoffice-commits (libreoffice-commits) wrote :

Caolán McNamara committed a patch related to this issue.
It has been pushed to "libreoffice-7-0":

https://git.libreoffice.org/core/commit/61900f697dd7bb5161eb0e56d0cea87153efbb9b

tdf#141930 document set as unmodified if editengine didn't modify on keyevent

It will be available in 7.0.7.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

Revision history for this message
In , Adolfo Jayme Barrientos (fitojb) wrote :

*** This bug has been marked as a duplicate of bug 141930 ***

Revision history for this message
In , Adolfo Jayme Barrientos (fitojb) wrote :

*** Bug 141519 has been marked as a duplicate of this bug. ***

Changed in df-libreoffice:
status: Confirmed → Invalid
Changed in df-libreoffice:
importance: Medium → Unknown
status: Invalid → Unknown
Changed in df-libreoffice:
importance: Unknown → High
status: Unknown → Fix Released
Changed in libreoffice (Ubuntu Bionic):
status: Triaged → Won't Fix
Changed in libreoffice (Ubuntu Focal):
status: Triaged → Won't Fix
Changed in libreoffice (Ubuntu Groovy):
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Heather Ellsworth (hellsworth)
Revision history for this message
Heather Ellsworth (hellsworth) wrote :
Changed in libreoffice (Ubuntu Hirsute):
status: Triaged → Fix Committed
Changed in libreoffice (Ubuntu Groovy):
status: Fix Committed → Fix Released
Changed in libreoffice (Ubuntu Hirsute):
status: Fix Committed → Fix Released
Changed in libreoffice (Ubuntu Groovy):
status: Fix Released → Fix Committed
Changed in libreoffice (Ubuntu Hirsute):
status: Fix Released → Fix Committed
Changed in libreoffice (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
In , Olivernicholle9052 (olivernicholle9052) wrote :

The regression happens only when trying to close using <ctrl>+<q> or <alt>+<f4>. The save https://www.handysolutionsjcg.com pop-up shows properly trying to use File+Close from the File menu.

Revision history for this message
Brian Murray (brian-murray) wrote :

The Hirsute Hippo has reached End of Life, so this bug will not be fixed for that release.

Changed in libreoffice (Ubuntu Hirsute):
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.