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
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?
(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
(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