<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>74775</bug_id>
          
          <creation_ts>2011-12-16 18:12:17 -0800</creation_ts>
          <short_desc>WebKit editing throws exception when monochrome color dragged onto text</short_desc>
          <delta_ts>2011-12-22 02:20:04 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Jalkut">jalkut</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>darin</cc>
    
    <cc>enrica</cc>
    
    <cc>rakuco</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>zoltan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>523197</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Jalkut">jalkut</who>
    <bug_when>2011-12-16 18:12:17 -0800</bug_when>
    <thetext>Note: this was reproduced with WebKit nightly as of two days ago. 

In any app that supports WebKit editing, if a color is dragged onto text, typically the dragged color is interpreted to mean that the text should be changed to that color.

If the color being dragged happens to be monochrome, e.g. of the NSCalibratedWhiteColorSpace, then WebKit throws an exception because it fails to get the expected RGB components from the dragged color.

This is an issue for any WebKit editing app that allows users to display a standard color panel, and then to drag a color swatch onto the edited text. It&apos;s an especially heinous issues in apps, like my own, that treat uncaught exceptions as crash-worthy events ;)

To reproduce in Safari or WebKit nightly:

1. Open the Snippet editor.
2. Enter this HTML content:

&lt;div contentEditable=&quot;true&quot;&gt;Hello - try dragging a black/white colorspace color to me.&lt;/div&gt;

3. Select the editable section in the rendering pane of the snippet editor.
4. From another app, e.g. TextEdit, open the standard Color panel.
5. Switch to the &quot;Sliders&quot; color panel pane, and choose &quot;Gray Scale Slider&quot; from the popup. 
6. Drag whatever color you have selected from the large color preview rectangle next to the magnifying glass, while cmd-tabbing back to Safari to your snippet content.
7. Drag it to the text and release.

Result: nothing happens, and Safari logs to the console:

2011-12-16 21:04:10.792 Safari[40273:1d07] *** Canceling drag because exception &apos;NSInvalidArgumentException&apos; (reason &apos;*** -redComponent not valid for the NSColor NSCalibratedWhiteColorSpace 0.375912 1; need to first convert colorspace.&apos;) was raised during a dragging session

More typically, in an app that supports the Color panel natively, the exception is thrown with a full backtrace. For example, I interrupted Safari with gdb and called:

call (void) [[NSColorPanel sharedColorPanel] makeKeyAndOrderFront:nil]

Then I dragged a color to the text and received this in gdb:

2011-12-16 21:02:39.357 Safari[40273:1d07] *** -redComponent not valid for the NSColor NSCalibratedWhiteColorSpace 0.754032 1; need to first convert colorspace.
2011-12-16 21:02:39.367 Safari[40273:1d07] (
	0   CoreFoundation                      0x00007fff8b04b286 __exceptionPreprocess + 198
	1   libobjc.A.dylib                     0x00007fff8f80dd5e objc_exception_throw + 43
	2   CoreFoundation                      0x00007fff8b04b0ba +[NSException raise:format:arguments:] + 106
	3   CoreFoundation                      0x00007fff8b04b044 +[NSException raise:format:] + 116
	4   AppKit                              0x00007fff8dfbd46c -[NSColor redComponent] + 65
	5   WebCore                             0x0000000100c427a7 _ZNK7WebCore8DragData7asColorEv + 55
	6   WebCore                             0x0000000100c3efcc _ZN7WebCore14DragController16concludeEditDragEPNS_8DragDataE + 236
	7   WebCore                             0x0000000100c3ed01 _ZN7WebCore14DragController11performDragEPNS_8DragDataE + 593
	8   WebKit                              0x00000001003963a7 -[WebView performDragOperation:] + 199
	9   AppKit                              0x00007fff8e05cc6a NSCoreDragReceiveMessageProc + 1462
	10  HIServices                          0x00007fff86fe760f CallReceiveMessageCollectionWithMessage + 70
	11  HIServices                          0x00007fff86fe7714 DoMultipartDropMessage + 126
	12  HIServices                          0x00007fff86fe791d DoDropMessage + 55
	13  HIServices                          0x00007fff86fe7df5 SendDropMessage + 39
	14  HIServices                          0x00007fff86feab08 DragInApplication + 717
	15  HIServices                          0x00007fff86feadaa CoreDragStartDragging + 517
	16  AppKit                              0x00007fff8e05ab4c -[NSCoreDragManager _dragUntilMouseUp:accepted:] + 885
	17  AppKit                              0x00007fff8e05a218 -[NSCoreDragManager dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:] + 1455
	18  AppKit                              0x00007fff8e34ed86 -[NSWindow(NSDrag) dragImage:at:offset:event:pasteboard:source:slideBack:] + 132
	19  AppKit                              0x00007fff8dfd1260 +[NSColorPanel dragColor:withEvent:fromView:] + 785
	20  AppKit                              0x00007fff8dfcc80e -[NSColorSwatch mouseDown:] + 547
	21  AppKit                              0x00007fff8dd520e0 -[NSWindow sendEvent:] + 6306
	22  AppKit                              0x00007fff8dcea68f -[NSApplication sendEvent:] + 5593
	23  Safari                              0x00007fff895496f8 -[BrowserApplication sendEvent:] + 822
	24  AppKit                              0x00007fff8dc80682 -[NSApplication run] + 555
	25  AppKit                              0x00007fff8deff80c NSApplicationMain + 867
	26  Safari                              0x00007fff896ffa6f SafariMain + 197
	27  Safari                              0x0000000100000f24 Safari + 3876</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>524654</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-12-20 09:39:26 -0800</bug_when>
    <thetext>Daniel, would you be willing to make a patch &lt;http://www.webkit.org/coding/contributing.html&gt;? This should be easy to fix, at least as long as the expectation is to get an RGB color in HTML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>524661</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Jalkut">jalkut</who>
    <bug_when>2011-12-20 10:01:38 -0800</bug_when>
    <thetext>Hi Alexey - sure, I will take a crack at it. I am not currently set up for WebKit dev, so it might take a me a little while to get my environment back up to speed. Feel free to leave this with me until I either attach a patch or throw my arms up ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525292</commentid>
    <comment_count>3</comment_count>
      <attachid>120185</attachid>
    <who name="Daniel Jalkut">jalkut</who>
    <bug_when>2011-12-21 09:41:54 -0800</bug_when>
    <thetext>Created attachment 120185
Fix the NSColor exception thrown by converting to RGB colorspace if necessary

The attached patch addresses the problem by checking ahead of time whether the provided color uses an RGB colorspace model. If it doesn&apos;t, it converts the color to RGB colorspace before accessing its components.

I don&apos;t think this affects layout tests, and I&apos;m not sure if there is a straightforward way to cover the bug using any other test mechanism. In IRC it was suggested that a manual test may be appropriate?

I built and tested the fix on Lion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525299</commentid>
    <comment_count>4</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-12-21 09:53:56 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; I don&apos;t think this affects layout tests, and I&apos;m not sure if there is a straightforward way to cover the bug using any other test mechanism. In IRC it was suggested that a manual test may be appropriate?

Yeah, I don&apos;t think eventSender, etc... would work here. Could you add a manual test instead? it&apos;s in trunk/ManualTests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525362</commentid>
    <comment_count>5</comment_count>
      <attachid>120196</attachid>
    <who name="Daniel Jalkut">jalkut</who>
    <bug_when>2011-12-21 11:19:18 -0800</bug_when>
    <thetext>Created attachment 120196
Patch for bug fix and patch for manual test case

I added a manual test case to the patch. Hope that looks good! Thanks for the guidance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525368</commentid>
    <comment_count>6</comment_count>
      <attachid>120196</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-12-21 11:23:08 -0800</bug_when>
    <thetext>Comment on attachment 120196
Patch for bug fix and patch for manual test case

View in context: https://bugs.webkit.org/attachment.cgi?id=120196&amp;action=review

&gt; Source/WebCore/platform/mac/DragDataMac.mm:121
&gt;      NSColor *color = [NSColor colorFromPasteboard:m_pasteboard.get()];
&gt; +    
&gt; +    // The supplied color may not be in an RGB colorspace. This commonly occurs when e.g.
&gt; +    // a color is dragged from the NSColorPanel grayscale picker. Before we attempt to access RGB components,
&gt; +    // ensure it&apos;s appropriately converted to an RGB colorspace.
&gt; +    if ([[color colorSpace] colorSpaceModel] != NSRGBColorSpaceModel) {
&gt; +        color = [color colorUsingColorSpaceName:NSCalibratedRGBColorSpace];
&gt; +    }

Why not call that method unconditionally? Is there a case that would behave worse? We don’t put braces around a single-line if statement body in WebKit codings style.

I suggest removing the third sentence of that comment, since it just repeats what the code does.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525369</commentid>
    <comment_count>7</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-12-21 11:24:01 -0800</bug_when>
    <thetext>Test looks great, just waiting to hear if we should just remove the if statement condition entirely.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525373</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-12-21 11:25:04 -0800</bug_when>
    <thetext>Attachment 120196 did not pass style-queue:

Failed to run &quot;[&apos;Tools/Scripts/update-webkit&apos;]&quot; exit_code: 9

Updating OpenSource
From git://git.webkit.org/WebKit
 + 3a244c5...0a192a1 master     -&gt; origin/master  (forced update)
LayoutTests/inspector/extensions/extensions-api-expected.txt: needs merge
update-index --refresh: command returned error: 1

Died at Tools/Scripts/update-webkit line 158.


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525375</commentid>
    <comment_count>9</comment_count>
      <attachid>120196</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-12-21 11:25:27 -0800</bug_when>
    <thetext>Comment on attachment 120196
Patch for bug fix and patch for manual test case

View in context: https://bugs.webkit.org/attachment.cgi?id=120196&amp;action=review

r- due to various nits.

&gt; ChangeLog:3
&gt; +        Add manual test covering failure to accept grayscale color drags to contentEditable regions.

This line should repeat what the bug summary.

&gt; ManualTests/drag-color-to-contenteditable.html:3
&gt; +&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot;
&gt; +        &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;
&gt; +&lt;html lang=&quot;en&quot;&gt;

Can we use HTML5 style DOCTYPE?
&lt;!DOCTYPE html&gt;
&lt;html&gt;

&gt; ManualTests/drag-color-to-contenteditable.html:5
&gt; +&lt;head&gt;
&gt; +&lt;/head&gt;

We don&apos;t need head.

&gt; ManualTests/drag-color-to-contenteditable.html:11
&gt; +&lt;li&gt;Open a color panel in some host app that facilitates doing so, such as TextEdit.app.&lt;/li&gt;

I don&apos;t understand what you mean by &quot;that facilitates doing so&quot;. I think it&apos;s better to say &quot;Open a color panel in some app such as TextEdit.app.&quot;

&gt; Source/WebCore/ChangeLog:4
&gt; +        Handle non-RGB colorspace colors in the Mac platform drag manager. Fixes NSException thrown 
&gt; +        when dragging monochrome colors to contentEditable regions.

This line should repeat what the bug summary. You can add a long description below &quot;Reviewed by&quot; line followed by a blank line.

&gt; Source/WebCore/platform/mac/DragDataMac.mm:121
&gt; +    if ([[color colorSpace] colorSpaceModel] != NSRGBColorSpaceModel) {
&gt; +        color = [color colorUsingColorSpaceName:NSCalibratedRGBColorSpace];
&gt; +    }

WebKit style is not to wrap single statement with { and }.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525381</commentid>
    <comment_count>10</comment_count>
    <who name="Daniel Jalkut">jalkut</who>
    <bug_when>2011-12-21 11:30:41 -0800</bug_when>
    <thetext>(In reply to comment #6)
&gt; (From update of attachment 120196 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=120196&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/platform/mac/DragDataMac.mm:121
&gt; &gt;      NSColor *color = [NSColor colorFromPasteboard:m_pasteboard.get()];
&gt; &gt; +    
&gt; &gt; +    // The supplied color may not be in an RGB colorspace. This commonly occurs when e.g.
&gt; &gt; +    // a color is dragged from the NSColorPanel grayscale picker. Before we attempt to access RGB components,
&gt; &gt; +    // ensure it&apos;s appropriately converted to an RGB colorspace.
&gt; &gt; +    if ([[color colorSpace] colorSpaceModel] != NSRGBColorSpaceModel) {
&gt; &gt; +        color = [color colorUsingColorSpaceName:NSCalibratedRGBColorSpace];
&gt; &gt; +    }
&gt; 
&gt; Why not call that method unconditionally? Is there a case that would behave worse? We don’t put braces around a single-line if statement body in WebKit codings style.
&gt; 
&gt; I suggest removing the third sentence of that comment, since it just repeats what the code does.

My thinking for testing is that there could be some nuance of the color that a client wants to be conveyed and preserved without a potentially lossy conversion. Since I have to pick a specific RGB-model colorspace to convert to, doing so unilaterally would e.g. convert a device-RGB or custom-colorspace color to calibrated RGB colorspace when it&apos;s not called for.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525384</commentid>
    <comment_count>11</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-12-21 11:32:40 -0800</bug_when>
    <thetext>(In reply to comment #10)
&gt; My thinking for testing is that there could be some nuance of the color that a client wants to be conveyed and preserved without a potentially lossy conversion. Since I have to pick a specific RGB-model colorspace to convert to, doing so unilaterally would e.g. convert a device-RGB or custom-colorspace color to calibrated RGB colorspace when it&apos;s not called for.

An interesting though. I wonder if this does any good in practice. Or any harm. If neither, then I suppose it does not matter how we write the code.

I suppose the conservative thing is to write the code as you have since it matches the old behavior in more cases.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525386</commentid>
    <comment_count>12</comment_count>
    <who name="Daniel Jalkut">jalkut</who>
    <bug_when>2011-12-21 11:33:08 -0800</bug_when>
    <thetext>(In reply to comment #9)
&gt; (From update of attachment 120196 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=120196&amp;action=review
&gt; 
&gt; r- due to various nits.

Thank you for the feedback. I will create a new patch.

FWIW I created the test by copying &quot;template.html&quot; in the ManualTests folder. So some of the HTML-level nits are from what I assumed to be the canonical starting point for tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525388</commentid>
    <comment_count>13</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-12-21 11:34:01 -0800</bug_when>
    <thetext>(In reply to comment #12)
&gt; FWIW I created the test by copying &quot;template.html&quot; in the ManualTests folder. So some of the HTML-level nits are from what I assumed to be the canonical starting point for tests.

We should file a separate bug to track fixing that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525392</commentid>
    <comment_count>14</comment_count>
    <who name="Daniel Jalkut">jalkut</who>
    <bug_when>2011-12-21 11:36:01 -0800</bug_when>
    <thetext>(In reply to comment #11)
&gt; An interesting though. I wonder if this does any good in practice. Or any harm. If neither, then I suppose it does not matter how we write the code.
&gt; 
&gt; I suppose the conservative thing is to write the code as you have since it matches the old behavior in more cases.

That was my thinking. I doubt that it will do much good in practice, but as it&apos;s so unpredictable what variety of applications will use contentEditable, I thought it was worth playing it safe. The ONLY cases where the code will behavior differently under the patch are when it&apos;s avoiding an imminent exception.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525410</commentid>
    <comment_count>15</comment_count>
      <attachid>120204</attachid>
    <who name="Daniel Jalkut">jalkut</who>
    <bug_when>2011-12-21 11:49:53 -0800</bug_when>
    <thetext>Created attachment 120204
Patch for fix and test with review corrections applied

I have incorporated the suggested revisions. Let me know if I missed anything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525422</commentid>
    <comment_count>16</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-12-21 11:59:25 -0800</bug_when>
    <thetext>The patch looks great to me. Thanks for the fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>525430</commentid>
    <comment_count>17</comment_count>
    <who name="Daniel Jalkut">jalkut</who>
    <bug_when>2011-12-21 12:03:08 -0800</bug_when>
    <thetext>(In reply to comment #16)
&gt; The patch looks great to me. Thanks for the fix.

Great, glad to hear it!

I submitted a patch for the template file changes as suggested:

https://bugs.webkit.org/show_bug.cgi?id=75025</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>526107</commentid>
    <comment_count>18</comment_count>
      <attachid>120204</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-12-22 02:19:59 -0800</bug_when>
    <thetext>Comment on attachment 120204
Patch for fix and test with review corrections applied

Clearing flags on attachment: 120204

Committed r103507: &lt;http://trac.webkit.org/changeset/103507&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>526108</commentid>
    <comment_count>19</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-12-22 02:20:04 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>120185</attachid>
            <date>2011-12-21 09:41:54 -0800</date>
            <delta_ts>2011-12-21 11:19:18 -0800</delta_ts>
            <desc>Fix the NSColor exception thrown by converting to RGB colorspace if necessary</desc>
            <filename>ColorDrag.patch</filename>
            <type>text/plain</type>
            <size>1866</size>
            <attacher name="Daniel Jalkut">jalkut</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDEwMzQxMSkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZy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oaW50KShb
Y29sb3IgYWxwaGFDb21wb25lbnRdICogMjU1LjAgKyAwLjUpKTsKIH0K
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>120196</attachid>
            <date>2011-12-21 11:19:18 -0800</date>
            <delta_ts>2011-12-21 11:49:53 -0800</delta_ts>
            <desc>Patch for bug fix and patch for manual test case</desc>
            <filename>ColorDrag-withTest.patch</filename>
            <type>text/plain</type>
            <size>4115</size>
            <attacher name="Daniel Jalkut">jalkut</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDEwMzQx
OCkKKysrIENoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDEyIEBACisyMDExLTEy
LTIxICBEYW5pZWwgSmFsa3V0ICA8amFsa3V0QHJlZC1zd2VhdGVyLmNvbT4KKworICAgICAgICBB
ZGQgbWFudWFsIHRlc3QgY292ZXJpbmcgZmFpbHVyZSB0byBhY2NlcHQgZ3JheXNjYWxlIGNvbG9y
IGRyYWdzIHRvIGNvbnRlbnRFZGl0YWJsZSByZWdpb25zLgorICAgICAgICBodHRwczovL2J1Z3Mu
d2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NzQ3NzUKKworICAgICAgICBSZXZpZXdlZCBieSBO
T0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIE1hbnVhbFRlc3RzL2RyYWctY29sb3ItdG8tY29u
dGVudGVkaXRhYmxlLmh0bWw6IEFkZGVkLgorCiAyMDExLTEyLTIxICBEYW5pZWwgQmF0ZXMgIDxk
YmF0ZXNAd2Via2l0Lm9yZz4KIAogICAgICAgICBBZGQgQ01ha2Ugb3B0aW9uIHRvIG9ubHkgYnVp
bGQgSmF2YVNjcmlwdENvcmUKSW5kZ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KKyAgICAgICAgY29sb3IgPSBb
Y29sb3IgY29sb3JVc2luZ0NvbG9yU3BhY2VOYW1lOk5TQ2FsaWJyYXRlZFJHQkNvbG9yU3BhY2Vd
OworICAgIH0KKyAgICAKICAgICByZXR1cm4gbWFrZVJHQkEoKGludCkoW2NvbG9yIHJlZENvbXBv
bmVudF0gKiAyNTUuMCArIDAuNSksIChpbnQpKFtjb2xvciBncmVlbkNvbXBvbmVudF0gKiAyNTUu
MCArIDAuNSksIAogICAgICAgICAgICAgICAgICAgICAoaW50KShbY29sb3IgYmx1ZUNvbXBvbmVu
dF0gKiAyNTUuMCArIDAuNSksIChpbnQpKFtjb2xvciBhbHBoYUNvbXBvbmVudF0gKiAyNTUuMCAr
IDAuNSkpOwogfQo=
</data>
<flag name="review"
          id="120387"
          type_id="1"
          status="-"
          setter="rniwa"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>120204</attachid>
            <date>2011-12-21 11:49:53 -0800</date>
            <delta_ts>2011-12-22 02:19:58 -0800</delta_ts>
            <desc>Patch for fix and test with review corrections applied</desc>
            <filename>ColorDragV3.patch</filename>
            <type>text/plain</type>
            <size>3902</size>
            <attacher name="Daniel Jalkut">jalkut</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDEwMzQx
OCkKKysrIENoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDEyIEBACisyMDExLTEy
LTIxICBEYW5pZWwgSmFsa3V0ICA8amFsa3V0QHJlZC1zd2VhdGVyLmNvbT4KKworICAgICAgICBX
ZWJLaXQgZWRpdGluZyB0aHJvd3MgZXhjZXB0aW9uIHdoZW4gbW9ub2Nocm9tZSBjb2xvciBkcmFn
Z2VkIG9udG8gdGV4dAorICA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LgorICAgIGlmIChb
W2NvbG9yIGNvbG9yU3BhY2VdIGNvbG9yU3BhY2VNb2RlbF0gIT0gTlNSR0JDb2xvclNwYWNlTW9k
ZWwpCisgICAgICAgIGNvbG9yID0gW2NvbG9yIGNvbG9yVXNpbmdDb2xvclNwYWNlTmFtZTpOU0Nh
bGlicmF0ZWRSR0JDb2xvclNwYWNlXTsKKyAgICAKICAgICByZXR1cm4gbWFrZVJHQkEoKGludCko
W2NvbG9yIHJlZENvbXBvbmVudF0gKiAyNTUuMCArIDAuNSksIChpbnQpKFtjb2xvciBncmVlbkNv
bXBvbmVudF0gKiAyNTUuMCArIDAuNSksIAogICAgICAgICAgICAgICAgICAgICAoaW50KShbY29s
b3IgYmx1ZUNvbXBvbmVudF0gKiAyNTUuMCArIDAuNSksIChpbnQpKFtjb2xvciBhbHBoYUNvbXBv
bmVudF0gKiAyNTUuMCArIDAuNSkpOwogfQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>