<?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>238424</bug_id>
          
          <creation_ts>2022-03-27 12:28:17 -0700</creation_ts>
          <short_desc>[GTK4] Selected background color does not appear in reddit comments</short_desc>
          <delta_ts>2023-09-25 08:33:59 -0700</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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>210100</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alicem</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1855454</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-03-27 12:28:17 -0700</bug_when>
    <thetext>Sadly, to reproduce this bug, you&apos;ll need a reddit account, because I have not attempted to create a minimal reproducer for this. Try to post a comment in any subreddit on reddit.com. When editing your comment, select some text. The selected text should be indicated by a blue background, but instead no selection is visible. The text really does get selected, so this is only cosmetic.

This worked fine with GTK 3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1914416</commentid>
    <comment_count>1</comment_count>
    <who name="Alice Mikhaylenko">alicem</who>
    <bug_when>2022-11-23 19:31:46 -0800</bug_when>
    <thetext>I can&apos;t reproduce this. Was this only reproducible with threaded rendering?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1914478</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-11-24 06:48:41 -0800</bug_when>
    <thetext>Nope, it&apos;s still 100% reproducible for me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1914514</commentid>
    <comment_count>3</comment_count>
    <who name="Alice Mikhaylenko">alicem</who>
    <bug_when>2022-11-24 09:42:44 -0800</bug_when>
    <thetext>Then I need more info - what specific page it is given they all have significantly different styles, old vs new reddit etc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1914518</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-11-24 10:08:28 -0800</bug_when>
    <thetext>Normal/new reddit. The bug occurs on every page in every subreddit, but only in the comment editor, when posting or editing a comment.

Actually, testing it now, I see now that the background color displays properly if I wait for a few seconds after selecting the text. It also displays properly if I press Ctrl+A. So this looks like a performance or rendering issue, similar to the problem with the emoji picker on Element, rather than a theme issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1914521</commentid>
    <comment_count>5</comment_count>
    <who name="Alice Mikhaylenko">alicem</who>
    <bug_when>2022-11-24 10:40:38 -0800</bug_when>
    <thetext>Ah, so probably redraw then, not performance. And since I can&apos;t reliably reproduce it, it worked here too. Great, great. :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1979812</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2023-09-25 08:33:59 -0700</bug_when>
    <thetext>This was mysteriously fixed sometime in the past year.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>