<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Hex color code truncated, when Pasting into field of the "Pick a Color" dialog"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=129933#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Hex color code truncated, when Pasting into field of the "Pick a Color" dialog"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=129933">bug 129933</a>
              from <span class="vcard"><a class="email" href="mailto:john@villalagoontile.com" title="John M. Adams <john@villalagoontile.com>"> <span class="fn">John M. Adams</span></a>
</span></b>
        <pre>(In reply to Ming Hua from <a href="show_bug.cgi?id=129933#c7">comment #7</a>)
<span class="quote">> As long as the value is selected before pasting, the error dialog pops up
> for me every time.</span >


Correct.  Sorry, I meant to add this... I found with my testing that it appears
to be more a "paste as replacement" error, versus general pasting.

It's reacting as if it's following this set of steps to replace the selected
value:

1) Concatenate Original Value and Pasting Value
2) Test Combined Value for Validity
3) Set the Field Value as the Substring of Combined Value, removing the
Original Value

If you have 2 characters "ff" (LO picker interprets as rgb(255,0,0))...
Select it, and paste the same "ff", and it succeeds (LO picker would see "ffff"
as valid).

If you delete the contents and paste "ffffff", it succeeds... but concatenation
of "" and "ffffff" is valid.

If you have "ff", and paste "ffffff", it fails ("ffffffff" is invalid).</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>