https://bugs.freedesktop.org/show_bug.cgi?id=88181

            Bug ID: 88181
           Summary: Sidebar: Undocked sidebar should appear in
                    consistent/logical position
           Product: LibreOffice
           Version: 4.4.0.1 rc
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: tmac...@gmail.com

Description:
Since the sidebar will be the only location for the styles and formatting
dialog in 4.4.x+, I'm looking for a way to make it behave in a sane, consistent
manner, hopefully similar to the old dialog.  This should be easy enough using
an undocked sidebar.  The undocked sidebar pops up in a number of different
positions depending on how you summon it.

I think the ideal behavior would be to have the undocked sidebar remember its
last location and always be summoned there.  The previous styles and formatting
dialog didn't remember it's last location, but would always open positioned
relative to the right center of the main LibreOffice window.  

Currently, the sidebar does remember its position when switching between
docked/undocked mode.  

But once undocked mode is enabled, dismissing and reenabling the sidebar opens
it positioned at pixel 0,0 (top left) of LO's main window.  This is not ideal,
since we would expect the sidebar to appear at the right side of LibreOffice.

Steps to reproduce
1. Open Writer
2. If testing using 4.3, enable sidebar.  If testing using 4.4, the sidebar
will already be enabled by default.
3. Click sidebar menu button -> Undock
4. Note that by default, the undocked sidebar appears with its origin at the
far left of the screen, but positioned vertically based on the top of
LibreOffice's window.
5. Reposition the window on the right side of LO, where you'd expect it.
6. Dismiss the sidebar using View -> Sidebar (note that you can't close the
sidebar using the "X" in its window decorations because of bug 87217)
7. Reenable the sidebar using View -> Sidebar

Expected:
The sidebar should reappear where we last positioned it on the right side of
the LibreOffice window.

Actual:
The sidebar shows up positioned in the extreme top left of the main LibreOffice
window.

Notes:
While it would be nice if LibreOffice remembered the position, I would be happy
enough if it behaved like the current Styles dialog.  The Styles dialog always
appears relative to the right center of the main LibreOffice window.

I tested this using LibreOffice 4.4.0.1 rc1 under 32bit Fedora 17.  I might be
willing to blame some of the positioning on the window manager, but LibreOffice
currently handles this properly with the Styles dialog.

Also, the initial undocked view is completely useless, since it is only wide
enough for the category icons, but I'll report that as another bug if I can't
find an existing one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to