Bug 129610 - Allow multiselecting of objects in Navigator
Summary: Allow multiselecting of objects in Navigator
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: target:7.5.0
Keywords:
: 147976 (view as bug list)
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2019-12-25 10:07 UTC by Roman Kuznetsov
Modified: 2024-02-05 14:15 UTC (History)
7 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 Roman Kuznetsov 2019-12-25 10:07:53 UTC
Description:
Allow multiselecting of objects in Navigator

Steps to Reproduce:
1. Insert two or more images into Writer document
2. Open Navigator (F5)
3. Try select all images in Navigator => you can't

Actual Results:
You can't select several objects in Navigator (all Images or all Comments, for example)

Expected Results:
You can select several objects in Navigator


Reproducible: Always


User Profile Reset: No



Additional Info:
-
Comment 1 ian 2019-12-25 20:19:26 UTC
Thank you for reporting this enhancement. I can confirm that LibreOffice currently does only allow you to select one image, using a recent daily build.

(Specifically:
Version: 6.5.0.0.alpha0+ (x64)
Build ID: 209fc9fd7fa433947af0bf86e210d73fa7f5a045
CPU threads: 2; OS: Windows 10.0 Build 17763; UI render: GL; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: CL)

I have changed the status to "NEW" to allow the developers to examine this enhancement and determine its viability.
Comment 2 Roman Kuznetsov 2021-04-12 13:14:08 UTC
Jim, possibly you can look at it?
Comment 3 Jim Raykowski 2021-04-18 23:39:03 UTC
(In reply to Roman Kuznetsov from comment #2)
> Jim, possibly you can look at it?

Will try.
Comment 4 Jim Raykowski 2021-04-28 14:34:52 UTC
Space bar sort of already works to select multiple Drawing objects in the document from the Navigator.

https://opengrok.libreoffice.org/xref/core/sw/source/uibase/utlui/content.cxx?r=c0aa577d#3611
Comment 5 m_a_riosv 2022-03-28 15:04:21 UTC
*** Bug 147976 has been marked as a duplicate of this bug. ***
Comment 6 Roman Kuznetsov 2022-10-19 18:07:23 UTC
Multiselecting for Draw https://gerrit.libreoffice.org/c/core/+/141440
Comment 7 Commit Notification 2022-10-30 22:52:58 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/060c529c9c450ddc22912ee88af5305c1fd063f3

tdf#129610 SdNavigator: Realize multiple selection of objects

It will be available in 7.5.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 Eyal Rozenberg 2022-10-31 00:05:32 UTC
Jim, will a patch for other modules (e.g. Writer) also be committed by the release of 7.5.0?
Comment 9 Jim Raykowski 2022-11-01 03:18:33 UTC
(In reply to Eyal Rozenberg from comment #8)
> Jim, will a patch for other modules (e.g. Writer) also be committed by the
> release of 7.5.0?
I looked around but couldn't find a release date for 7.5.0. Do you know? If it is a year away, there may be a possibility.
Comment 10 Roman Kuznetsov 2022-11-01 04:29:46 UTC
(In reply to Jim Raykowski from comment #9)
> (In reply to Eyal Rozenberg from comment #8)
> > Jim, will a patch for other modules (e.g. Writer) also be committed by the
> > release of 7.5.0?
> I looked around but couldn't find a release date for 7.5.0. Do you know? If
> it is a year away, there may be a possibility.

It will be in early February 2023
Comment 11 Heiko Tietze 2023-03-30 07:33:58 UTC
*** Bug 154211 has been marked as a duplicate of this bug. ***
Comment 12 Stéphane Guillou (stragu) 2023-04-01 10:02:39 UTC
A use-case for multi-select in Writer would be to promote or demote several headings at once in the navigator, to restructure a document quickly.

Implementing both Ctrl + Click and Shift + Click would be useful.
Comment 13 Roman Kuznetsov 2023-04-01 11:12:50 UTC
(In reply to Stéphane Guillou (stragu) from comment #12)
> A use-case for multi-select in Writer would be to promote or demote several
> headings at once in the navigator, to restructure a document quickly.
> 
> Implementing both Ctrl + Click and Shift + Click would be useful.

I saw Calc file with hundreds invisible micro shapes. I can see it all in the Navigator but It was impossible to select it all and then delete for one action. Therefore I wrote this enhancement
Comment 14 Roman Kuznetsov 2023-04-26 13:28:34 UTC
(In reply to Commit Notification from comment #7)
> Jim Raykowski committed a patch related to this issue.
> It has been pushed to "master":
> 
> https://git.libreoffice.org/core/commit/
> 060c529c9c450ddc22912ee88af5305c1fd063f3
> 
> tdf#129610 SdNavigator: Realize multiple selection of objects

Jim, multiselecting in Draw works, but I can't open the context menu for all selected items in Navigator. When I press a right mouse button on these selected items multiselecting disappears
Comment 15 Jim Raykowski 2023-04-28 19:47:58 UTC
(In reply to Stéphane Guillou (stragu) from comment #12)
> A use-case for multi-select in Writer would be to promote or demote several
> headings at once in the navigator, to restructure a document quickly.
> 
> Implementing both Ctrl + Click and Shift + Click would be useful.
This can be done already in Writer when the navigator is in headings content navigation view.

Here is a link to documentation that describes how to enter headings content navigation view but does not mention multi-selection of headings is possible:
  
https://help.libreoffice.org/7.5/en-US/text/swriter/guide/arrange_chapters.html?DbPAR=WRITER#bm_id3149973
Comment 16 Jim Raykowski 2023-04-29 01:50:56 UTC
(In reply to Roman Kuznetsov from comment #14)
> (In reply to Commit Notification from comment #7)
> Jim, multiselecting in Draw works, but I can't open the context menu for all
> selected items in Navigator. When I press a right mouse button on these
> selected items multiselecting disappears
Hi Roman,
The only context menu item we have for the Draw Navigator at present is 'Rename...'. Currently, multiselections are cleared on right mouse button click and then the clicked on entry is selected before the context menu is shown. Other menu items, that I can think of, that may be of use are Cut, Copy, and Paste. 'Rename...' would be greyed out or not shown when there are multiselections. Is this what you would expect?
Comment 17 Stéphane Guillou (stragu) 2024-02-05 14:15:15 UTC
(In reply to Jim Raykowski from comment #16)
> Currently, multiselections are cleared on right mouse button
> click and then the clicked on entry is selected before the context menu is
> shown. Other menu items, that I can think of, that may be of use are Cut,
> Copy, and Paste. 'Rename...' would be greyed out or not shown when there are
> multiselections. Is this what you would expect?
That sounds good to me, as well as "Delete".

Regarding other interactions: drag-and-drop of various objects would be useful too, for moving objects in and out of groups (in Navigator) or inserting as copies (on canvas).

And regarding the focus of this report, as far as I can see:
- Calc is missing multiselect
- Writer can do it for some object types, as long as it is filtered (works for headings and shapes, but not e.g. pictures)