Issue 122320

Summary: [sidebar] deck has no closer when sidebar is not docked to right edge
Product: General Reporter: Regina Henschel <rb.henschel>
Component: uiAssignee: Andre <awf.aoo>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: awf.aoo, issues, rainerbielefeld_ooo_qa
Version: 4.0.0-dev   
Target Milestone: 4.0.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 121420    
Attachments:
Description Flags
'Topbar' without deck closers none

Description Regina Henschel 2013-05-15 11:28:23 UTC
Undock the sidebar.
Drag it to the left edge of the document window and dock it there.
Notice, that the closer in the desk title no longer exists.
Comment 1 Rainer Bielefeld 2013-05-15 11:59:19 UTC
Reproducible with server installation of  "AOO 4.0.0-Dev – English UI / German locale [AOO400m1(Build:9700) - Rev. Rev. 1482523 Rev.1482259 (2013-05-15)]" on WIN7 Home Premium (64bit)", own separate user profile

Something I did not know until now: Sidebar also can be used as "Topbar" and "Bottombar", see screenshot. There 'Close-X' also is missing.
Comment 2 Rainer Bielefeld 2013-05-15 12:00:16 UTC
CONFIRMED due to comment before
Comment 3 Rainer Bielefeld 2013-05-15 12:01:10 UTC
Created attachment 80687 [details]
'Topbar' without deck closers

See my first comment
Comment 4 Andre 2013-05-16 08:52:16 UTC
The sidebar should not be dockable above or below the edit window.  This has worked in the past and seems to be broken.
Comment 5 Andre 2013-05-16 09:55:27 UTC
The missing closer was caused by the sidebar remembering its split window (the container that holds docked windows.)  When undocked and then docked at another place the split window pointer was not updated but still referenced the old one.  The following test, whether the split window allowed the sidebar to change its size (only then the closer is active), failed because the wrong split window was used.

Fixed by updating the split window pointer.

I also added the missing code for preventing the sidebar being docked above or below the edit view.
Comment 6 SVN Robot 2013-05-16 10:04:42 UTC
"af" committed SVN revision 1483283 into trunk:
122320: Show closer after docking sidebar.  Prevent sidebar from being docked...