Bug 142720 - UI: Sidebar Styles follow active document across all windows
Summary: UI: Sidebar Styles follow active document across all windows
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 138530 (view as bug list)
Depends on:
Blocks: Sidebar-Styles
  Show dependency treegraph
 
Reported: 2021-06-08 19:59 UTC by Hugh Phoenix-Hulme
Modified: 2023-05-11 19:09 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Peek recording of styles changing (349.36 KB, image/gif)
2021-06-08 20:01 UTC, Hugh Phoenix-Hulme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hugh Phoenix-Hulme 2021-06-08 19:59:01 UTC
Description:
That is to say that if I have two documents open, with different styles, each having a docked Sidebar, both Sidebars show the styles of the active document.

Steps to Reproduce:
1. Open a document with styles
2. Open another document with different styles
3. Ensure that the sidebar is open and visible in both windows
4. Observe the styles as focus changes from one window to the other

Actual Results:
Both sidebars show the styles belonging to the active window

Expected Results:
Each sidebar to show the style belonging to the document in each window


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 7.1.3.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 8; OS: Linux 5.12; UI render: default; VCL: kf5
Locale: en-GB (en_GB.UTF-8); UI: en-US
Ubuntu package version: 1:7.1.3-0ubuntu0.21.04.1
Calc: threaded
Comment 1 Hugh Phoenix-Hulme 2021-06-08 20:01:22 UTC
Created attachment 172709 [details]
Peek recording of styles changing
Comment 2 Dieter 2021-06-23 06:12:39 UTC
My observation in

Version: 7.1.4.2 (x64) / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

If document 1 is the active document, style preview disappears in document 2 and vice versa. For me that might be the expected behaviour, because it makes it more visible what the active document is.

But as far as i can see from the screencast, your example behaves different.
Comment 3 Hugh Phoenix-Hulme 2021-06-23 14:14:04 UTC
It would make sense if it was a MDI or tabbed interface, where I might be switching between different documents in the same parent LibreOffice Writer window. In the SDI, the expectation is for each Window to represent the Document.

This behaviour is not evident when looking at the Navigator, Properties, Page or Style Inspector. I also re-checked the issue and it's still evident - so not an intermittent problem.

Making it disappear sounds like a temporary patch (if intended) - the other tools (Navigator, Properties, Page, Style Inspector) do not disappear, so the disappearing styles could equally be a bug since that behaviour is at odds with the rest of the interface.
Comment 4 Dieter 2021-06-27 15:52:56 UTC
Let's ask design team what the expected behaviour is
cc: Design-Team
Comment 5 Heiko Tietze 2021-06-28 07:56:25 UTC
That's indeed an unfortunate side-effect. We could add a dropdown showing the open documents like in the Navigator but preferably each sidebar relates it's own document. Meaning the focus remains active. Sounds like a fundamental question and I wonder if any change is possible here. Mike, your wisdom is needed.
Comment 6 Heiko Tietze 2021-07-01 13:43:40 UTC
We discussed the issue in the design meeting. Looking at the Navigator's selector it must be possible to keep the reference at the document.
Comment 7 Michael Stahl (allotropia) 2021-07-01 14:39:35 UTC
*** Bug 138530 has been marked as a duplicate of this bug. ***