Bug 171889 - Linguistic - Spell Check crashes in Calc (certain UI options only)
Summary: Linguistic - Spell Check crashes in Calc (certain UI options only)
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
26.2.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Julien Nabet
URL:
Whiteboard: target:26.8.0 target:26.2.4
Keywords: haveBacktrace
Depends on:
Blocks:
 
Reported: 2026-04-28 05:22 UTC by Steve Forde
Modified: 2026-04-30 13:47 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
bt (4.37 KB, text/plain)
2026-04-28 18:43 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Forde 2026-04-28 05:22:41 UTC
Description:
I use the LibreOffice flatpak (v. 26.2.2.2) on Linux Mint (22.3 Cinnamon edition). When I use the GroupedBar Compact or Tabbed Compact user interfaces in Calc, and select the spell check icon in the ribbon, the application crashes. This does not happen with other user interfaces; nor does it crash when I hit F7 to launch the spell check. In the Linux Mint forum, another user has confirmed they see the same behaviour. In the LibreOffice community forum, another user has found the same issue in Windows EXCEPT that the crash only occurs in the Tabbed Compact interface (NOT the GroupedBar Compact interface). Please can this be fixed? 

Steps to Reproduce:
1. In Linux, select either the GroupedBar Compact or the Tabbed Compact UI.
2. In the Review tab, select the spelling icon.
3. Calc will immediately crash.

Actual Results:
Calc crashed and offered to recover my document.

Expected Results:
The spell check dialogue should have opened, as it does when you press F7.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version:
26.2.2.2 (flatpak)

Build:
https://git.libreoffice.org/core/commit/1f77d10d6938fd34972958f64b2bcfa54f8b1ba5

Environment:
CPU threads: 4, OS: Linux 6.8

User Interface:
UI render: default, VCL: GTK3
Comment 1 Julien Nabet 2026-04-28 12:13:33 UTC
On pc Debian x86-64 with master sources updated today + gtk3 rendering, I don't reproduce this. Clicking on "Spelling" icon doesn't crash.
I also tried with LO 26.2.2 Debian package, no crash.


What language UI do you use?
Do you use a specific spelling dictionary?
Comment 2 Steve Forde 2026-04-28 12:27:01 UTC
(In reply to Julien Nabet from comment #1)
> On pc Debian x86-64 with master sources updated today + gtk3 rendering, I
> don't reproduce this. Clicking on "Spelling" icon doesn't crash.
> I also tried with LO 26.2.2 Debian package, no crash.
> 
> 
> What language UI do you use?
> Do you use a specific spelling dictionary?

I just use the default English dictionary that was initialised with the Flatpak.

Others have found this issue, see Linux Mint forum posts here:

https://forums.linuxmint.com/viewtopic.php?p=2773074#p2773074
Comment 3 Julien Nabet 2026-04-28 13:21:25 UTC
You indicated you reset your LO profile so no corrupted profile here.
Do you use a specific file to reproduce this?
I mean, if you just launch Calc (with Tabbed Compact) (and so you're on a brand file) and click on the icon, do you get the crash or you must open a specific file?


Would it be possible you attach a backtrace? (see https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU/Linux:_How_to_get_a_backtrace).
Do you have any console logs?

Indeed, since I can't reproduce the bug, all extra info may help.
Comment 4 Steve Forde 2026-04-28 16:21:32 UTC
(In reply to Julien Nabet from comment #3)
> You indicated you reset your LO profile so no corrupted profile here.
> Do you use a specific file to reproduce this?
> I mean, if you just launch Calc (with Tabbed Compact) (and so you're on a
> brand file) and click on the icon, do you get the crash or you must open a
> specific file?
> 
> 
> Would it be possible you attach a backtrace? (see
> https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU/Linux:
> _How_to_get_a_backtrace).
> Do you have any console logs?
> 
> Indeed, since I can't reproduce the bug, all extra info may help.

I can answer the first question: it happens on any file, at any time I press the F7 button. It was the same for the person on the Linux Mint forum.

I'll try to work out how to do a backtrace, but this really isn't my specialist subject.
Comment 5 Steve Forde 2026-04-28 16:27:48 UTC
(In reply to Julien Nabet from comment #3)
> You indicated you reset your LO profile so no corrupted profile here.
> Do you use a specific file to reproduce this?
> I mean, if you just launch Calc (with Tabbed Compact) (and so you're on a
> brand file) and click on the icon, do you get the crash or you must open a
> specific file?
> 
> 
> Would it be possible you attach a backtrace? (see
> https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU/Linux:
> _How_to_get_a_backtrace).
> Do you have any console logs?
> 
> Indeed, since I can't reproduce the bug, all extra info may help.

I can answer the first question: it happens on any file, at any time I press the F7 button. It was the same for the person on the Linux Mint forum.

I'll try to work out how to do a backtrace, but this really isn't my specialist subject.

(In reply to Julien Nabet from comment #3)
> You indicated you reset your LO profile so no corrupted profile here.
> Do you use a specific file to reproduce this?
> I mean, if you just launch Calc (with Tabbed Compact) (and so you're on a
> brand file) and click on the icon, do you get the crash or you must open a
> specific file?
> 
> 
> Would it be possible you attach a backtrace? (see
> https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU/Linux:
> _How_to_get_a_backtrace).
> Do you have any console logs?
> 
> Indeed, since I can't reproduce the bug, all extra info may help.

Here is a video of the crash: https://www.youtube.com/watch?v=pE7Kz4htwkQ
Comment 6 Steve Forde 2026-04-28 16:28:23 UTC
I'm sorry, but the backtrace instructions leave me bemused. I'm just a casual user, sorry.
Comment 7 Steve Forde 2026-04-28 16:36:32 UTC
(In reply to Steve Forde from comment #4)
> (In reply to Julien Nabet from comment #3)
> > You indicated you reset your LO profile so no corrupted profile here.
> > Do you use a specific file to reproduce this?
> > I mean, if you just launch Calc (with Tabbed Compact) (and so you're on a
> > brand file) and click on the icon, do you get the crash or you must open a
> > specific file?
> > 
> > 
> > Would it be possible you attach a backtrace? (see
> > https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU/Linux:
> > _How_to_get_a_backtrace).
> > Do you have any console logs?
> > 
> > Indeed, since I can't reproduce the bug, all extra info may help.
> 
> I can answer the first question: it happens on any file, at any time I press
> the F7 button. It was the same for the person on the Linux Mint forum.
> 
> I'll try to work out how to do a backtrace, but this really isn't my
> specialist subject.

Sorry - I meant "when I press the spelling icon", not "when I press the F7 button". The video link I sent will show you what I mean.
Comment 8 Julien Nabet 2026-04-28 18:43:36 UTC
Created attachment 206856 [details]
bt

Thank you for the video, I could reproduce this so I attached a backtrace.
Comment 9 Julien Nabet 2026-04-28 18:46:26 UTC
My fault, the pb was I had tested "Tabbed" option instead of "Tabbed Compact".
Sorry for this.
Comment 10 Julien Nabet 2026-04-28 21:08:33 UTC
I've submitted a patch here for master sources:
https://gerrit.libreoffice.org/c/core/+/204551
With it, I don't reproduce the crash anymore with GroupedBar Compact or Tabbed Compact user interfaces.

Let's wait for some feedback.
Comment 11 Steve Forde 2026-04-29 06:09:46 UTC
Fantastic - thank you! I know it's a very minor bug, but it has been annoying me for quite a long time now. It will be great to see it fixed.
Comment 12 Commit Notification 2026-04-29 11:43:26 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/088987b3edb81649f245f7219fc8e98a41e23e28

tdf#171889: Spell Check icon crashes in Calc with GroupedBar/Tabbed Compact

It will be available in 26.8.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.
Comment 13 Commit Notification 2026-04-29 11:48:33 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

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

Related tdf#171889: Spell Check icon crashes in Calc with GroupedBar

It will be available in 26.8.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.
Comment 14 Steve Forde 2026-04-29 17:34:29 UTC
Does that mean we have to wait until August until the Flatpak is updated? Sorry if that's a stupid question!
Comment 15 Julien Nabet 2026-04-29 21:19:07 UTC
For the moment, the patch is available for future 26.8.0. According to https://wiki.documentfoundation.org/ReleasePlan/26.8, the release will be at the end of August.

Someone has cherry-picked the patch to integrate it in 26.2 branch. If this patch is pushed, it might be for 26.2.4 release at the beginning of June (see https://wiki.documentfoundation.org/ReleasePlan/26.2).

Now about Flatpak, I've got no idea since I never use Flatpak.
Comment 16 Commit Notification 2026-04-30 06:26:15 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "libreoffice-26-2":

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

tdf#171889: Spell Check icon crashes in Calc with GroupedBar/Tabbed Compact

It will be available in 26.2.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.
Comment 17 Julien Nabet 2026-04-30 07:09:50 UTC
I've cherry-picked the patch for 26.2.3 here:
https://gerrit.libreoffice.org/c/core/+/204593

I don't know if it'll be accepted but since the 26.2.3 released is planned in the next days (see release plan from my previous comment), it's perhaps too late.

Anyway, to fix the bug, I can't do more here.

There's only some cleaning remaining.
Comment 18 Steve Forde 2026-04-30 07:10:41 UTC
Thanks for all your help - much appreciated!
Comment 19 Julien Nabet 2026-04-30 12:55:26 UTC
(In reply to Julien Nabet from comment #17)
> I've cherry-picked the patch for 26.2.3 here:
> https://gerrit.libreoffice.org/c/core/+/204593
Just for the record, I had some feedback about it: it's too late for 26.2.3. So I abandoned the patch.
Comment 20 Commit Notification 2026-04-30 13:07:20 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

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

Related tdf#171889: remove remnant SpellingAndGrammarDialog in sc

It will be available in 26.8.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.
Comment 21 Commit Notification 2026-04-30 13:47:26 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "libreoffice-26-2":

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

Related tdf#171889: Spell Check icon crashes in Calc with GroupedBar

It will be available in 26.2.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.