Download it now!
Bug 104382 - Menus should be disabled when they have no enabled submenus
Summary: Menus should be disabled when they have no enabled submenus
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
5.4.0.0.alpha0+
Hardware: All All
: low trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
: 124674 (view as bug list)
Depends on:
Blocks: Main-Menu a11y
  Show dependency treegraph
 
Reported: 2016-12-03 18:37 UTC by Tamás Zolnai
Modified: 2019-04-11 09:17 UTC (History)
6 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 Tamás Zolnai 2016-12-03 18:37:22 UTC
Description:
Menus with submenus are always enabled, but when they have all submenus disabled the menu also should be disabled.
I think this is true for all kind of this menus. An example is the Table menus in Writer (Table -> Insert, Table -> Delete).
It a UI problem: user can think table insertion or deletion is available, but it's not.
Also an accessibility problem. An accessibility tool should skip (not read) those menus which are not available in the current context.

Steps to Reproduce:
1.Open an empty document in Writer
2.Select Table menu
3.You can see Table -> Insert, Table -> Delete menus are enabled, but they have no availabla submenus, so no reason to be enabled.

Actual Results:  
Menus are enabled when actually their submenus are disabled all.

Expected Results:
These menus should be disabled, when their functionality is not available.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36
Comment 1 Buovjaga 2016-12-09 15:23:24 UTC
Sounds logical -> NEW
Comment 2 QA Administrators 2017-12-10 16:43:18 UTC Comment hidden (obsolete)
Comment 3 Roman Kuznetsov 2018-12-14 20:29:18 UTC
still repro in

Version: 6.3.0.0.alpha0+
Build ID: 3c964980da07892a02d5ac721d80558c459532d0
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-12-12_02:07:45
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded

but we should have full list of that menu items
Comment 4 Roman Kuznetsov 2019-04-11 09:16:24 UTC
*** Bug 124674 has been marked as a duplicate of this bug. ***