Bug 103216 - Navigator: Missing context menu entry to rename Drawing Objects
Summary: Navigator: Missing context menu entry to rename Drawing Objects
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 126853 (view as bug list)
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2016-10-14 12:30 UTC by Harald Koester
Modified: 2020-02-02 18:09 UTC (History)
5 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 Harald Koester 2016-10-14 12:30:03 UTC
Description:
See 'Steps to Reproduce'.

Steps to Reproduce:
[1] Create new text document.
[2] Insert a drawing object.
[3] Insert an image.
[4] Open Navigator. Under 'Drawing objects' an object with the name 'Shape1' is displayed and under Images an image with the name 'Image1' is displayed.
[5] Right click on 'Image1' in the Navigator> Image > Rename. A rename dialogue is opened.
[6] Enter new name, then OK. The changed name is displayed in the Navigator. This is OK.
[7] Right click on 'Shape1' in the Navigator. There is no entry in the context menu in order to rename the object. Expected: Context menu entry in order to rename a drawing object.
[8] Right click on inserted image > Properties… > Tab Options. The name of the image is displayed  in the dialogue. 
[9] Insert new name. Then OK. The new name is displayed in the Navigator. This is OK.
[10] Right click on inserted drawing object. The context menu is displayed but there is no entry in order to rename the drawing object. Expected: Entry in order to rename the object.
[11] Select inserted image.
[12] Menu: Format. An entry 'Name…' exists but it is greyed. Hence renaming is not possible with this entry. Expected: Renaming should be possible.
[13] Select inserted drawing.
[14] Menu: Format > Name…, enter new name, then OK. The new name is displayed in the Navigator. This is OK.

Actual Results:  
See 'Steps to Reproduce'.

Expected Results:
See 'Steps to Reproduce'.


Reproducible: Always

User Profile Reset: Yes.

Additional Info:
Bug of step [7] exists already in version 3.3.0. Hence inherited from OOo.

Step [10] works for me in version 5.1.5. Hence regression.

The greyed 'Name…' of step [12] exists since version 5.1.0. Versions before don't have this entry in the 'Format' menu.


User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:49.0) Gecko/20100101 Firefox/49.0
Comment 1 Yousuf Philips (jay) (retired) 2016-10-17 05:22:36 UTC
Hi Harald,

Thank you for reporting the bug. As we can only fix a single bug per bug report, lets fix the navigator issue here.

Version: 5.3.0.0.alpha0+
Build ID: 45a7137c6796f33fbf5b8f7cb64e293260d991cb
CPU Threads: 2; OS Version: Linux 3.19; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-10-13_23:38:06
Locale: en-US (en_US.UTF-8); Calc: group

The issue of step 10 is being discussed in bug 101193.

I've submitted step 12 in bug 103268.
Comment 2 Harald Koester 2017-05-23 21:35:10 UTC
(In reply to Yousuf Philips (jay) from comment #1)
> 
> The issue of step 10 is being discussed in bug 101193.

That bug mainly deals with images and the description dialogue of them. The name of drawing objects is rather secondary. 

Bug 96355 suggests a general properties dialogue for all kinds of objects which includes also the name of objects. This would be a solution for the issue of step 10. But I do not expect, that a general properties dialogue will be developed in near future. Hence I propose to introduce a default entry "Name..." in the context menu of a shape / drawing object. This would make it possible to rename the object via the context menu.
Comment 3 Yousuf Philips (jay) (retired) 2017-05-24 04:32:05 UTC
(In reply to Harald Koester from comment #2)
> That bug mainly deals with images and the description dialogue of them. The
> name of drawing objects is rather secondary. 

That may have been how it started but its about all objects (images, shapes, OLE, frames, etc).

> Bug 96355 suggests a general properties dialogue for all kinds of objects
> which includes also the name of objects. This would be a solution for the
> issue of step 10. But I do not expect, that a general properties dialogue
> will be developed in near future. Hence I propose to introduce a default
> entry "Name..." in the context menu of a shape / drawing object. This would
> make it possible to rename the object via the context menu.

If you need the option in your context menu, then you should add it in Tools > Customize > Context Menu, but as stated previously, we shouldnt discuss multiple issues in a single bug report and this bug report is about renaming objects in Navigator.
Comment 4 Harald Koester 2018-03-07 11:12:18 UTC
Bug according step 7 of original report still exists in version 6.0.2. (64 bit. Win10)
Comment 5 Harald Koester 2018-03-08 10:43:55 UTC
Bug according step 10: New bug report: Bug 116289.
Bug according step 12: Meanwhile fixed.
Comment 6 Alex Thurgood 2019-03-08 08:30:39 UTC
I have just come across this bug when experimenting with the Navigator as a means of identifying my shapes.

What is the point of having an object navigator in which only some of the objects allow their name to edited, either directly by double-click, or via a context menu ?

Surely, not having such a systematic feature defeats the purpose of the object navigator ?

Confirmed that bug is still present in 

Version: 6.3.0.0.alpha0+
Build ID: 94de7c0be2739de7fdaf11e9e55a1cc7083992f0
CPU threads: 4; OS: Mac OS X 10.14.2; UI render: default; VCL: osx; 
Locale: fr-FR (fr_FR.UTF-8); UI-Language: en-US
Calc: threaded
Comment 7 Dieter 2019-08-27 13:44:50 UTC
*** Bug 126853 has been marked as a duplicate of this bug. ***
Comment 8 Olivier Hallot 2019-11-21 21:02:19 UTC
(In reply to Alex Thurgood from comment #6)
> I have just come across this bug when experimenting with the Navigator as a
> means of identifying my shapes.
> 
> What is the point of having an object navigator in which only some of the
> objects allow their name to edited, either directly by double-click, or via
> a context menu ?
> 
> Surely, not having such a systematic feature defeats the purpose of the
> object navigator ?
> 
> Confirmed that bug is still present in 
> 
> Version: 6.3.0.0.alpha0+
> Build ID: 94de7c0be2739de7fdaf11e9e55a1cc7083992f0
> CPU threads: 4; OS: Mac OS X 10.14.2; UI render: default; VCL: osx; 
> Locale: fr-FR (fr_FR.UTF-8); UI-Language: en-US
> Calc: threaded

Actually QRCodes and Signature Lines are drawing objects that don't show in Navigator (bug#128938).
Comment 9 Rania Amina 2019-11-22 09:05:20 UTC
*** Bug 128938 has been marked as a duplicate of this bug. ***
Comment 10 Roman Kuznetsov 2020-02-02 18:09:06 UTC
RESOLVED FIXED by Jim Raykowski in https://gerrit.libreoffice.org/c/core/+/87053

in current master in Writer

Версия: 7.0.0.0.alpha0+ (x64)
ID сборки: e8ac78d3afdeb0302eaea34a50f1ca912d5fe897
Потоков ЦП: 4; ОС:Windows 10.0 Build 17763; Отрисовка ИП: Skia/Vulkan; VCL: win; 
Локаль: ru-RU (ru_RU); Язык интерфейса: ru-RU
Calc: threaded

you can rename Drawing objects from Navigator

You still can't do it in Draw but it's an another story ;-)