Bug 120901 - Context menu with "cut,copy,...,symbols" inaccessible, if word is autocorrectable
Summary: Context menu with "cut,copy,...,symbols" inaccessible, if word is autocorrect...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.7.2 rc
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Context-Menu
  Show dependency treegraph
 
Reported: 2018-10-25 10:49 UTC by Konstantin
Modified: 2023-05-05 16:49 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin 2018-10-25 10:49:56 UTC
Description:
When trying to set a part of a word as subscript, I first type the letters. E.g.: :alpha:min, then select "min" and go via context menu to symbols and select subscript. As the string ":alpha:min" is not recognized, the autocorrect context menu is shown.
An easy workaround is avoiding the context menu and using Format-> Symbols (translating from the german UI)

Steps to Reproduce:
1.Type ":alpha:min" into cell
2.mark "min", using Shift+left arrow
3.call context menu via right mouse button or Context menu button on keyboard


Actual Results:
Autocorrection context menu is shown

Expected Results:
normal contet menu should be added to the autocorrect context menu


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.0.6.2
Build-ID: Gentoo official package
CPU-Threads: 4; BS: Linux 4.14; UI-Render: Standard; VCL: gtk3; 
Gebietsschema: de-DE (de_DE.utf8); Calc: group

An easy workaround is avoiding the context menu and using Format-> Symbols (translating from the german UI)
Comment 1 andreas_k 2018-10-30 21:09:36 UTC
I would prefer to have some indicator to write subscript like _ in latex. In addition the context mend should not have direct formatting elements like subscript isn't it?
Comment 2 Joel Madero 2018-11-20 11:59:03 UTC
I'm not sure this is something we want to do. Requesting UX team to give input.
Comment 3 Cor Nouws 2018-11-28 17:19:51 UTC
More or less similar: some time ago, added to the context menu of Writer are options for xxx, that previously were inaccessible with spell checking.
So seems logic to me.
Comment 4 Heiko Tietze 2018-11-28 19:15:18 UTC
I agree with Cor. Let's have this minimum consistency. Andreas, do you want to make a patch?
Comment 5 andreas_k 2019-08-19 06:32:39 UTC
sorry but I don't know where the autocorrectable .xml is located and where to add the commands.
Comment 6 Heiko Tietze 2019-08-19 07:13:56 UTC
We have some ui files containing the menu (see https://opengrok.libreoffice.org/search?project=core&full=%22_Add+to+Dictionary%22&defs=&refs=&path=&hist=&type=&si=full). But after adding the menuitem entry you also have to link it with the actual UNO command (see https://opengrok.libreoffice.org/xref/core/editeng/source/editeng/editview.cxx?r=71b660a2#847, for example). So it's not simply editing an XML file but some C++ code.
Comment 7 andreas_k 2020-03-03 22:25:57 UTC
can you fix this bug heiko?
Comment 8 Justin L 2021-03-26 18:28:36 UTC
In LO 6.4, when I select part of a mis-spelled word, I do not get a list of corrections when I right-click on the selection. Instead, I get the normal menu with copy/paste extra, just like OP is asking for. So perhaps this has been fixed?

I can't test this in bibisect, because it isn't giving my any dictionaries...
Comment 9 Justin L 2023-05-05 16:49:01 UTC
repro 7.6.  Reproducing that if you first select the word, then spelling suggestions do NOT interfere. Also reproducing that if you do simply right-click on a spelling-suggestion, you ONLY get a spelling menu.