<?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>153290</bug_id>
          
          <creation_ts>2016-01-20 15:36:22 -0800</creation_ts>
          <short_desc>[GTK] Red sqiuggly line under misspelled word disappears when cursor is on word</short_desc>
          <delta_ts>2018-01-11 09:14:45 -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>WebKitGTK</component>
          <version>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>153291</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>commit-queue</cc>
    
    <cc>jdiggs</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mike</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1157086</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-01-20 15:36:22 -0800</bug_when>
    <thetext>I will use the ^ to indicate the character that the cursor is positioned immediately IN FRONT OF. Type this in a text field:

sqigggly 
         ^

Note the one space after the word, needed to trigger the spellchecker to consider it a misspelled word.

Now press the left arrow key once, so you get this:

sqigggly 
        ^

The red squiggly line goes away. It also goes away if you right click on it to show the context menu. I dunno if this is how spellcheckers work on Mac, but that&apos;s not expected behavior on Linux.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1157090</commentid>
    <comment_count>1</comment_count>
    <who name="Joanmarie Diggs">jdiggs</who>
    <bug_when>2016-01-20 15:52:27 -0800</bug_when>
    <thetext>This issue has some interesting implications for screen reader users who navigate into the text. Orca uses the accessible text attributes to identify the presence of the red squiggly and speak &quot;misspelled&quot; when that attribute is present.

(Note: At the moment there are some other, accessibility-related bugs which are interfering with the aforementioned functionality. But when those are addressed, it would be nice if arrowing into the error didn&apos;t make the error indication vanish. So that Orca could make this presentation.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1163447</commentid>
    <comment_count>2</comment_count>
      <attachid>270985</attachid>
    <who name="Adrien Plazas">aplazas</who>
    <bug_when>2016-02-10 06:21:58 -0800</bug_when>
    <thetext>Created attachment 270985
Don&apos;t erase spelling markers after selection change on GTK+.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1163452</commentid>
    <comment_count>3</comment_count>
      <attachid>270985</attachid>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2016-02-10 07:13:16 -0800</bug_when>
    <thetext>Comment on attachment 270985
Don&apos;t erase spelling markers after selection change on GTK+.

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

&gt; Source/WebKit2/ChangeLog:8
&gt; +        Reviewed by NOBODY (OOPS!).
&gt; +
&gt; +        * WebProcess/WebCoreSupport/WebEditorClient.cpp:

You could either write an explanation between this two lines or in the function section, but you&apos;d need at least something</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1163453</commentid>
    <comment_count>4</comment_count>
      <attachid>270988</attachid>
    <who name="Adrien Plazas">aplazas</who>
    <bug_when>2016-02-10 07:25:30 -0800</bug_when>
    <thetext>Created attachment 270988
Don&apos;t erase spelling markers after selection change on GTK+.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1164991</commentid>
    <comment_count>5</comment_count>
      <attachid>270988</attachid>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-02-15 17:42:08 -0800</bug_when>
    <thetext>Comment on attachment 270988
Don&apos;t erase spelling markers after selection change on GTK+.

Well, I agree with the change in this patch, to return type != TextCheckingTypeSpelling here like the other ports do. It seems to do the right thing, fixing both of my complaints: the squiggly line disappearing when you right click to get a context menu, and the squiggly line disappearing when you move the cursor back one position.

But it breaks spellchecking of contractions, e.g. &quot;wasn&apos;t.&quot; Strange, Mac port must be handling contractions differently somewhere else.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1388071</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Gratton">mike</who>
    <bug_when>2018-01-10 20:57:28 -0800</bug_when>
    <thetext>This sounds a lit like Bug 153290. Is there some overlap?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1388074</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Gratton">mike</who>
    <bug_when>2018-01-10 20:58:07 -0800</bug_when>
    <thetext>Err, I mean Bug 32770. Apologies!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1388255</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-01-11 09:14:45 -0800</bug_when>
    <thetext>(In reply to Michael Gratton from comment #6)
&gt; This sounds a lit like Bug 153290. Is there some overlap?

I think bug #32770 is completely different. That bug complains that spelling suggests do not appear when right-clicking on the word unless the word is selected. That&apos;s definitely not the case today, so I&apos;ll close that bug as obsolete.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>270985</attachid>
            <date>2016-02-10 06:21:58 -0800</date>
            <delta_ts>2016-02-10 07:25:30 -0800</delta_ts>
            <desc>Don&apos;t erase spelling markers after selection change on GTK+.</desc>
            <filename>patch</filename>
            <type>text/plain</type>
            <size>1442</size>
            <attacher name="Adrien Plazas">aplazas</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJ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GMyYWMyYmUuLjNiZWE4ZjYgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XZWJLaXQyL1dl
YlByb2Nlc3MvV2ViQ29yZVN1cHBvcnQvV2ViRWRpdG9yQ2xpZW50LmNwcAorKysgYi9Tb3VyY2Uv
V2ViS2l0Mi9XZWJQcm9jZXNzL1dlYkNvcmVTdXBwb3J0L1dlYkVkaXRvckNsaWVudC5jcHAKQEAg
LTQzMCw3ICs0MzAsNyBAQCB2b2lkIFdlYkVkaXRvckNsaWVudDo6dGV4dFdpbGxCZURlbGV0ZWRJ
blRleHRGaWVsZChFbGVtZW50KiBlbGVtZW50KQogYm9vbCBXZWJFZGl0b3JDbGllbnQ6OnNob3Vs
ZEVyYXNlTWFya2Vyc0FmdGVyQ2hhbmdlU2VsZWN0aW9uKFdlYkNvcmU6OlRleHRDaGVja2luZ1R5
cGUgdHlwZSkgY29uc3QKIHsKICAgICAvLyBUaGlzIHByZXZlbnRzIGVyYXNpbmcgc3BlbGxpbmcg
bWFya2VycyBvbiBPUyBYIExpb24gb3IgbGF0ZXIgdG8gbWF0Y2ggQXBwS2l0IG9uIHRoZXNlIE1h
YyBPUyBYIHZlcnNpb25zLgotI2lmIFBMQVRGT1JNKENPQ09BKSB8fCBQTEFURk9STShFRkwpCisj
aWYgUExBVEZPUk0oQ09DT0EpIHx8IFBMQVRGT1JNKEVGTCkgfHwgUExBVEZPUk0oR1RLKQogICAg
IHJldHVybiB0eXBlICE9IFRleHRDaGVja2luZ1R5cGVTcGVsbGluZzsKICNlbHNlCiAgICAgVU5V
U0VEX1BBUkFNKHR5cGUpOwo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>270988</attachid>
            <date>2016-02-10 07:25:30 -0800</date>
            <delta_ts>2016-02-15 17:42:08 -0800</delta_ts>
            <desc>Don&apos;t erase spelling markers after selection change on GTK+.</desc>
            <filename>patch</filename>
            <type>text/plain</type>
            <size>1650</size>
            <attacher name="Ad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FURk9STShFRkwpIHx8IFBMQVRGT1JNKEdUSykKICAgICByZXR1cm4gdHlwZSAhPSBUZXh0
Q2hlY2tpbmdUeXBlU3BlbGxpbmc7CiAjZWxzZQogICAgIFVOVVNFRF9QQVJBTSh0eXBlKTsK
</data>
<flag name="review"
          id="295833"
          type_id="1"
          status="-"
          setter="mcatanzaro"
    />
    <flag name="commit-queue"
          id="295834"
          type_id="3"
          status="-"
          setter="mcatanzaro"
    />
          </attachment>
      

    </bug>

</bugzilla>