Bug 156516 - Number recognition and Edit formula menu items in Table main menu should be active only if cursor is inside the table
Summary: Number recognition and Edit formula menu items in Table main menu should be a...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks: Main-Menu
  Show dependency treegraph
 
Reported: 2023-07-29 10:45 UTC by Roman Kuznetsov
Modified: 2023-08-17 13:04 UTC (History)
2 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 Roman Kuznetsov 2023-07-29 10:45:15 UTC
Description:
[WRITER] Number recognition and Edit formula menu items in Table main menu should be active only if cursor is inside the table

Steps to Reproduce:
1. Open new Writer document
2. Select Table main menu
3. Look at Number recognition and Edit formula menu items => it both are active for actions, but IMHO it both should be active only when we work with table and cursor is inside any table

Actual Results:
Number recognition and Edit formula menu items are always active

Expected Results:
Number recognition and Edit formula menu items are active only when we work with table and cursor is inside any table


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e26aeb882dd236adf19679d5df9b7ba5da1ed226
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded
Comment 1 Heiko Tietze 2023-08-15 09:52:16 UTC
You can enter "1+1 = <1+1>" (using a formula per F2/Edit Formula for the brackets) in normal text too. And whether Number Recognition is on or off does matter much, IMO.

What issue would be solved exactly?
Comment 2 Roman Kuznetsov 2023-08-16 17:41:46 UTC
(In reply to Heiko Tietze from comment #1)
> You can enter "1+1 = <1+1>" (using a formula per F2/Edit Formula for the
> brackets) in normal text too. 

Yes, you can. But in that case you will get the field with "Formula" type in the text.  

> And whether Number Recognition is on or off does matter much, IMO.

Yes again, but it works only inside tables

> What issue would be solved exactly?

The problem that the functions should be active and work only inside tables. And if you work with the main text then you don't need these menu items and they should be greyed
Comment 3 Heiko Tietze 2023-08-17 13:04:47 UTC
(In reply to Roman Kuznetsov from comment #2)
> But in that case you will get the field with "Formula" type in the text.  
And you want to disallow this?

> The problem that the functions should be active and work only inside tables.
By disabling .uno:InsertFormula outside tables you block this function. And some users will see this as regression. Clearly -1 from my side.

The Number Recognition is also controlled via tools > options > writer > table and disabling the command .uno:TableNumberRecognition probably breaks this interaction.

=> WF