[Libreoffice-bugs] [Bug 92122] UI: Floating panels cannot be docked, if " Show window contents while dragging" is disabled in Windows visual effects

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 13 13:30:13 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=92122

Maxim Monastirsky <momonasmon at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |momonasmon at gmail.com
          Component|Impress                     |graphics stack
            Version|4.1.6.2 release             |Inherited From OOo
            Summary|UI: slide pane cannot be    |UI: Floating panels cannot
                   |docked, if "Show window     |be docked, if "Show window
                   |contents while dragging" is |contents while dragging" is
                   |disabled in Windows Visual  |disabled in Windows visual
                   |effects                     |effects

--- Comment #14 from Maxim Monastirsky <momonasmon at gmail.com> ---
Had no chance to play with a Windows build yet, but I think the problem here is
that we try to detect whether a floating window is above the docking area when
we get notified that the window was moved (in Win32 via a WM_MOVE message). But
if "Show window contents while dragging" option is disabled, the window isn't
actually moved during dragging (only a fake outline is shown), so no "window
moved" notification is sent until the user releases the mouse, which is too
late. There is however another "window is moving" message (WM_MOVING), which
works regardless of the OS dragging setting, so it might be possible to somehow
use that for docking instead of WM_MOVE. Another approach might be to stop
using system window titles for floating panels, and use our own drawn titles
like the gray title bar we draw for floating toolbars. That probably will give
us more control over the dragging process.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171213/e97088cd/attachment.html>


More information about the Libreoffice-bugs mailing list