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

            Bug ID: 167559
           Summary: Tabbed Notebookbar's "Edit Comment" button shown when
                    no comment exists in selected cells, and "Comment"
                    button not hidden on selected cells with existing
                    comment
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 201857
  --> https://bugs.documentfoundation.org/attachment.cgi?id=201857&action=edit
Demonstration video

Actual behavior:

When using the "Tabbed" notebookbar UI layout type, in Calc, in the "Review"
tab, both the "Comment" and "Edit comment" buttons are shown at all times,
which is wasting precious horizontal space in the toolbar, because those two
actions are mutually exclusive, particularly when a single cell is selected
(but even if multiple cells are selected, you can only insert a comment in one
cell at a time, and you can only edit a single comment at a time, both of which
behave unpredictably wrt the selection).


Expected behavior, when a cell is selected:

* If the cell doesn't have an existing comment: only show the "Comment" button
* If the cell has an existing comment: only show the "Edit comment" button


---

This was observed with:

Version: 25.2.4.3 (X86_64) / LibreOffice Community
Build ID: 33e196637044ead23f5c3226cde09b47731f7e27
CPU threads: 8; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded

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

Reply via email to