Bug 157118 - Constant expansion of Navigator objects when single object is deleted in Draw
Summary: Constant expansion of Navigator objects when single object is deleted in Draw
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.2.0.3 rc
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Navigator
  Show dependency treegraph
 
Reported: 2023-09-06 12:54 UTC by grofaty
Modified: 2023-09-28 13:18 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Page1_gets_expanded.gif (85.98 KB, image/gif)
2023-09-21 05:25 UTC, grofaty
Details

Note You need to log in before you can comment on or make changes to this bug.
Description grofaty 2023-09-06 12:54:08 UTC
Description:
Navigator's all pages are constantly expanded when one object is deleted from particular page.

Steps to Reproduce:
1. Open Draw.
2. In first page draw e.g. Ellipse.
3. Page | New Page.
4. Draw Rectangle on second page.
5. On right site make sure Navigator is displayed. Currently it is displayed:
   -Page 1
   --Shape 1
   -Page 2
   --Shape 1
5. Click on icon in front of "Page 1" to collapse all objects in "Page 1".
6. Click on last object "Shape 1" on Page 2. "Page 1" is still collapsed as expected.
7. Press Delete button and "Shape 1" on "Page 2" is correctly deleted. But now problem appears.

Actual Results:
"Page 1" gets expended from collapsed state, despite I haven't clicked in front of "Page 1" to expand.

Now imagine instead of having just one object, having 50 objects per page and Pages gets constantly expanded.

Expected Results:
Pages in Navigator should not get automatically expanded if I have previously selected to collapse it.


Reproducible: Always


User Profile Reset: No

Additional Info:
Tested on Windows 10 and Ubuntu 23.04.

Version: 7.5.5.2 (X86_64) / LibreOffice Community
Build ID: ca8fe7424262805f223b9a2334bc7181abbcbf5e
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: sl-SI (en_SI); UI: en-US
Calc: threaded

Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: sl-SI (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded
Comment 1 grofaty 2023-09-21 05:25:18 UTC
Created attachment 189725 [details]
Page1_gets_expanded.gif
Comment 2 grofaty 2023-09-21 05:27:10 UTC
I have since reporting a problem to today migrated from 7.5 to 7.6 version and problem still exists.

In my previous post I have screen recorded from my first post's step 5.

Version: 7.6.1.2 (X86_64) / LibreOffice Community
Build ID: f5defcebd022c5bc36bbb79be232cb6926d8f674
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: sl-SI (en_SI); UI: en-US
Calc: threaded
Comment 3 Stéphane Guillou (stragu) 2023-09-28 13:18:50 UTC
Confirmed the behaviour in recent master build:

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

This happens too in 7.2.0.3, when shapes started being listed in the Navigator.

It also happens to all collapsed pages in the navigator, and even if objects remain on the page after deleting one.
I can see how it would be annoying with a complex document.
Same in Impress

Jim, maybe you are interested?
Somewhat related: bug 157117.