https://bugs.documentfoundation.org/show_bug.cgi?id=161574

            Bug ID: 161574
           Summary: Name index-related context menu items based on the
                    type of index that was right-clicked
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: needsUXEval
          Severity: trivial
          Priority: low
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: ilmari.lauhakan...@libreoffice.org
                CC: libreoffice-ux-adv...@lists.freedesktop.org

A user on Twitter pointed out that we always say "Update/Edit/Remove Index" in
the right-click context menu for an index. Ideally we should name the exact
type instead of just Index there.

If you're wondering about the cultural history of indexes:
https://en.wikipedia.org/wiki/Index_(publishing)

We have seven types of indexes, so implementing this would require creating 21
new translatable strings.

The Navigator also has "Delete Index", but the use there is clearer as the user
is looking at a tree named "Indexes".

The commands are

FN_UPDATE_CUR_TOX aka .uno:UpdateCurIndex
FN_EDIT_CURRENT_TOX aka .uno:EditCurIndex
FN_REMOVE_CUR_TOX aka .uno:RemoveTableOf

The .uno commands you will find in many .xml files defining popup menus.

Their visibility in the context menu is controlled in

SwTextShell::GetIdxState() of sw/source/uibase/shells/textidx.cxx
SwView::GetState() of sw/source/uibase/uiview/viewstat.cxx

Probably a pile of conditions would be required to satisfy this request.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to