<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UI: Floating panels cannot be docked, if "Show window contents while dragging" is disabled in Windows visual effects"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=92122">bug 92122</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>momonasmon@gmail.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Component</td>
           <td>Impress
           </td>
           <td>graphics stack
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Version</td>
           <td>4.1.6.2 release
           </td>
           <td>Inherited From OOo
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Summary</td>
           <td>UI: slide pane cannot be docked, if "Show window contents while dragging" is disabled in Windows Visual effects
           </td>
           <td>UI: Floating panels cannot be docked, if "Show window contents while dragging" is disabled in Windows visual effects
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UI: Floating panels cannot be docked, if "Show window contents while dragging" is disabled in Windows visual effects"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=92122#c14">Comment # 14</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - UI: Floating panels cannot be docked, if "Show window contents while dragging" is disabled in Windows visual effects"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=92122">bug 92122</a>
              from <span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>