Apache OpenOffice (AOO) Bugzilla – Issue 122336
[sidebar] Close button does not close sidebar window but docks it
Last modified: 2022-10-28 12:54:33 UTC
Undock the sidebar window. Click on the 'close' button in the title bar. The sidebar window gets docked. Expected behavior: The sidebar window is closed. If you try to record a macro for this action, you will notice, that no action is recorded, but it should record a ".uno:Sidebar" with value "false".
I was trying to recreate the behavior of Symphony where the closer closes the undocked deck but leaves the tab bar visible. The intended behavior for AOO was to dock the sidebar but then only show the tab bar.
The behavior with the docked window where the closer only closes the deck and keeps the tab bar open is correct. That is nice, please don't change that. This issue is about the undocked sidebar window. Then there is not a selfmade closer, but the closer of the OS. For example I see the German tooltip "Schließen" using a German Windows7, although AOO is in English. In the undocked case it should follow this tooltip and close the window.
Addition: If closing completely is not possible or not wanted, then it should be docked in the state, that only the tab bar is shown. Currently it docks with open deck.
"af" committed SVN revision 1484721 into trunk: i122336: Show docked tab bar after closing undocked sidebar.
Re comment3: That is what I meant. Click on the system close of the undocked sidebar docks the sidebar and then closes just the deck. It is of course possible to completely close the sidebar in this situation but I don't believe that frequent turning on and off the sidebar is a frequent use case. I think switching between docked and undocked is much more probable. If that assumption is true then leaving the docked tab bar visible is a better reaction to clicking the closer. I fixed the behavior to the one described above and earlier (click the closer of the undocked sidebar docks then closes just the deck). But I will leave this bug open for now to hear more arguments.
Setting to fixed so that the result is tested.