Bug 89871 - Sidebar is restored after 'Styles and formatting' is used
Summary: Sidebar is restored after 'Styles and formatting' is used
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.4.1.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Sidebar-Styles
  Show dependency treegraph
 
Reported: 2015-03-07 09:41 UTC by tmp-libo-3333d9d3e4
Modified: 2017-02-10 23:04 UTC (History)
4 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 tmp-libo-3333d9d3e4 2015-03-07 09:41:04 UTC
[Note: while not a direct duplicate, this may be related to bug 85076 and possibly few other late reports on the sidebar that are talking about *undocked* sidebar]

When a *docked* sidebar is hidden (by unchecking View → Sidebar) and "Styles and formatting" is displayed and then hidden, the sidebar stays visible.

Expected behaviour:
A hidden sidebar either stays hidden all the time or is hidden along the "Styles and formatting" window.
Comment 1 A (Andy) 2015-03-07 09:53:51 UTC
Reproducible with LO 4.4.1.2, Win 8.1

Steps to Reproduce:
1. Open any LO application
2. Go to VIEW -> SIDEBAR and assure that Sidebar is not ticked to deactivate the Sidebar -> then the Sidebar is not visible
3. Press F11 to open the Styles and Formatting dialog of the Sidebar
4. Press again F11 to close again the Styles and Formatting dialog

Result: The Sidebar is minimised but still activated / visible.  Check VIEW -> SIDEBAR and you see it is ticked though you have deactivated it in Step 2.
Comment 2 QA Administrators 2016-11-08 12:03:31 UTC Comment hidden (obsolete)
Comment 3 Harald Koester 2017-02-10 20:31:18 UTC
Bug still exists in version 5.3.0.
Comment 4 V Stuart Foote 2017-02-10 23:04:06 UTC
This is expected. The Styles & Formatting (F11) dialog is implemented as a Content panel of the Sidebar Deck. By toggling the Sidebar active with F11--the Sidebar is active and has been toggled active on the View menu.

Its behavior is the same as the Gallery (implemented for bug 73151), and I would expect it to be.

So the question becomes what action the F11 shortcut should have?   Closing the Deck makes the most sense for the F11--the same action as clicking the "X".
A second F11 closing the Sidebar would be odd, we just activated it (verify on the View menu).

While for now, the Navigator dialog (F5)--really just a second instance of the Content panel code--is both opened and closed with its F5 shortcut. But at some point when Sidebar can support each Content panel and multiple Decks--the "special" handling for the Navigator will be removed (bug 85905).