Bug 93399 - UI - Context menus hang while spell check works
Summary: UI - Context menus hang while spell check works
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: Other Linux (All)
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-12 20:34 UTC by Larry
Modified: 2016-10-10 11:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file (49.43 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-11-07 00:23 UTC, Larry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Larry 2015-08-12 20:34:11 UTC
If I do something that causes the spell checker to re-scan the sheet, context menus will not completely show up until the spell checker finishes.  They show the outline of the menu without any of the actual options.

For me, this happens in the context of a ~2000-row AutoFilter table, of which ~1/4 of the items are flagged by Automatic Spell Checking.  When I apply a filter and remove most of the rows from view, the context menus won't show up until after the red squiggly lines get displayed.  This delay is removed when I turn Automatic Spell Checking off.  The delay seems to scale with how many hidden rows are in the range of view, so Automatic Spell Checking is likely reading through them.

The delay also shows up momentarily when scrolling.  As new words that need flagged enter view, context menus won't display until the flagging is done.  This is particularly annoying when scrolling through the filtered table, as the Automatic Spell Checking re-reads through all the hidden rows.
Comment 1 raal 2015-08-21 06:16:07 UTC Comment hidden (obsolete)
Comment 2 Larry 2015-11-07 00:23:19 UTC
Created attachment 120335 [details]
Test file

Here's the test case requested by raal.  It's basically a 4000x6 cell data set, with a bunch of character strings that the spell checker wants to flag, preceded by a column of numbers from 1 to 4000.  The whole thing is auto filtered.  To reproduce the bug, filter the 1st column to only show 2 or 3 rows.  Then, try to open the right-click menu.  You should find that the menu doesn't appear until the red squiggly lines show up from the spell checker.
Comment 3 raal 2015-11-07 06:26:46 UTC
Hello, is it duplicate of this bug 89673?
Comment 4 Larry 2015-11-10 20:52:36 UTC
(In reply to raal from comment #3)
> Hello, is it duplicate of this bug 89673?

I don't believe so.  In that bug, the context menu appears but doesn't have the options the user expects.  In this bug, the context menu doesn't appear at all until spell checker finishes working.
Comment 5 Buovjaga 2015-11-11 11:28:42 UTC
(In reply to Larry from comment #2)
> Created attachment 120335 [details]
> Test file
> 
> Here's the test case requested by raal.  It's basically a 4000x6 cell data
> set, with a bunch of character strings that the spell checker wants to flag,
> preceded by a column of numbers from 1 to 4000.  The whole thing is auto
> filtered.  To reproduce the bug, filter the 1st column to only show 2 or 3
> rows.  Then, try to open the right-click menu.  You should find that the
> menu doesn't appear until the red squiggly lines show up from the spell
> checker.

Not reproduced.

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Ubuntu 15.10 64-bit 
Version: 5.0.2.2
Build ID: 00m0(Build:2)
Locale: en-US (en_US.UTF-8)
Comment 6 Usama 2016-01-08 18:43:13 UTC
I've Tested it with Libreoffice 15.1.0.1 Ubuntu 15.04

I couldn't reproduce.

I've selected top 10 and clicked the context menu on one of the cell and it was so responsive without delay.

Could you please check again on more recent version?
Comment 7 Usama 2016-01-08 18:43:57 UTC
sorry libreoffice 5.1.0.1 not 15 :)
Comment 8 Xisco Faulí 2016-09-11 21:50:45 UTC Comment hidden (obsolete)
Comment 9 Xisco Faulí 2016-10-10 11:13:19 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20161010