Bug 157342 - Delete menu item in Master Navigator popup menu should be disabled when no entry is selected
Summary: Delete menu item in Master Navigator popup menu should be disabled when no en...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Master-Doc
  Show dependency treegraph
 
Reported: 2023-09-20 01:49 UTC by Jim Raykowski
Modified: 2023-10-05 19:56 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Demo of the bug (304.10 KB, video/x-matroska)
2023-10-05 08:11 UTC, Jim Raykowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Raykowski 2023-09-20 01:49:00 UTC
Steps to repro:

1. Open a new Master document. (Menu->File->New->Master Document or Ctrl+N)
2. Right-click in the Navigator content area.

Result: A popup menu is displayed showing Update and Delete menu items.

Expected result: The Delete menu item is disabled when there are no entries selected.
Comment 1 Jim Raykowski 2023-09-20 01:55:17 UTC
(In reply to Jim Raykowski from comment #0)
> Steps to repro:
> 
> 1. Open a new Master document. (Menu->File->New->Master Document or Ctrl+N)
> 2. Right-click in the Navigator content area.
> 
> Result: A popup menu is displayed showing Update and Delete menu items.
> 
> Expected result: The Delete menu item is disabled when there are no entries
> selected.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 80a24870491385ba145757bf517c5f1cf7939017
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 m_a_riosv 2023-09-20 08:27:32 UTC
Maybe because there is the default 'Text', it is deleted and redone.
Verified, introducing some text and deleting.
Comment 3 Jim Raykowski 2023-10-05 08:11:09 UTC
Created attachment 190035 [details]
Demo of the bug
Comment 4 m_a_riosv 2023-10-05 19:22:03 UTC
Please attach the sample file, used for the video.
Comment 5 Stéphane Guillou (stragu) 2023-10-05 19:56:30 UTC
Reproduced in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f95c3994f0b6a82a3bc2ddfb68822b74479ae185
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

To have no selection in the Navigator, I use the Toggle Master View with the top-left button.
Right-clicking in the blank area does show "Delete", and click it has no effect.