<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [PATCH] GIMP's color picker of color dialog not work, returns black"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69617">69617</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[PATCH] GIMP's color picker of color dialog not work, returns black
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>sixtysix@inwind.it
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>win32 backend
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=86200" name="attach_86200" title="quick hack">attachment 86200</a> <a href="attachment.cgi?id=86200&action=edit" title="quick hack">[details]</a></span>
quick hack

I've investigated GIMP's <a href="https://bugzilla.gnome.org/show_bug.cgi?id=676708">https://bugzilla.gnome.org/show_bug.cgi?id=676708</a>,
on Windows XP, and the cause is that 'GetClipBox', on XP, for desktop's hdc 
returns NULLREGION and an empty rect. That produces an empty win32 surface 
which then, used as a source, paints nothing (do_nothing returns true).

With the attached patch GIMP's color dialog color picker returns the color
under the pointer also on XP.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>