Bug 149533 - Spell checking: superfluous message when cursor is at end of document
Summary: Spell checking: superfluous message when cursor is at end of document
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.7.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Spell-Checking
  Show dependency treegraph
 
Reported: 2022-06-12 14:22 UTC by Gerhard Weydt
Modified: 2022-06-13 10:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
test document to show the problem (9.61 KB, application/vnd.oasis.opendocument.text)
2022-06-12 14:22 UTC, Gerhard Weydt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Weydt 2022-06-12 14:22:08 UTC
Created attachment 180688 [details]
test document to show the problem

When the cursor is at the end of a writer document (it seems there must be at least two paragraphs) and you press F7 or start the spellchecking via menu, you get the message "Continue checking at beginning of document?".
This is unnecessary, as the user expilicitly started the spell checking, and the entire document is checked regardless of the cursor position in any cas except the end of document.
To test, download the test document, put the cursor at the second line and press F7.
Comment 1 Daniel Lenhardt 2022-06-12 15:12:43 UTC
I can confirm that this acurres.
It would be more elegant, if the question would not apear when you start the checking at the end of the document.
Comment 2 karolus 2022-06-12 15:58:47 UTC
I can confirm with 6.1.2 on debian 10.

but about smart guessing… what does $User probably expect at the very End of LARGE writer-docs (eg 500 Pages +) ??
Comment 3 libby 2022-06-12 16:49:11 UTC
This bug irritates the user by opening windows with different content depending on the position of the cursor after F7 activation. 
If the cursor is at the beginning or within the text then the window shows "normal" content, at the end of the text however the window remains empty and no language is displayed or can be selected from the drop-down list.
Comment 4 libby 2022-06-12 16:57:32 UTC
This bug irritates the user by opening windows with different content depending on the position of the cursor after F7 activation. 

If the cursor is at the beginning or within the text then the window shows "normal" content, at the end of the text however the window remains empty and no language is displayed or can be selected from the drop-down list.
Comment 5 libby 2022-06-12 16:59:02 UTC
This bug irritates the user by opening windows with different content depending on the position of the cursor after F7 activation. 

If the cursor is at the beginning or within the text then the window shows "normal" content, at the end of the text however the window remains empty and no language is displayed or can be selected from the drop-down list.

Although this error is not very serious, it makes the user's work very difficult because the user wastes a lot of time trying to figure out the reason behind this strange error.
Comment 6 Gerhard Weydt 2022-06-13 10:23:34 UTC
It seems that Calc works differently, scanning for spelling errors starts with the cell the cursor is in. So the message named above may be appropriate for Calc.