Users are reporting an issue with post link auto-highlighting in Discourse on Windows 10 Chrome and Edge browsers. seanblue notes that while the link URL is auto-highlighted correctly the first time a post’s link icon is clicked (making it easy to copy with Ctrl+C), subsequent attempts — even on the same post after closing the popover — fail to auto-highlight. This behavior persists across page navigation unless the page is fully refreshed. tshenry could not reproduce the issue on Safari, Firefox, or Chrome on macOS, suggesting it may be platform-specific. seanblue confirms the issue occurs on both old (Legacy) and new (Chromium-based) Edge, as well as Chrome on Windows 10. Justin_Vega clarifies the distinction between Edge versions, and seanblue confirms the issue affects both, ruling out Legacy Edge as the sole culprit. Firefox on Windows works correctly. The issue appears to be limited to Chromium-based browsers on Windows 10, where auto-highlighting only functions reliably on the first click per page load.
I think this might only be on smaller screens (I don’t remember), but when you click a post’s link icon it displays this and auto-highlights the URL. This is great because it makes it easy to copy with Ctrl+C.
However, sometimes this doesn’t work as you can see below. I’m not 100% sure, but I think it’s the case that it only correctly auto-highlights the URL the first time this action is taken (short of a full page refresh). After doing this once, if you navigate to another post or even just close the popover and click the link icon a second time on the same post, the link won’t get highlighted automatically.
Strange. I’m on latest Chrome on Windows 10. The only other browser I have installed right now is Edge (not sure if pre or post Chromium) and it actually never highlights the URL.
Did you make sure to close the popover before clicking the share button a second time / on another post? It seems to only work for me if I don’t close the popover at all. I also just ruled out screen size by connecting to a monitor and seeing the same thing. I thought the behavior differed between screen sizes, but maybe I’m just remembering old behavior.
Ha, well I didn’t set that title. @tshenry added that. I’m not sure, but given the icon it’s probably old Edge. I only checked there to see a second browser, as I primarily use Chrome.
I just installed Firefox, and it looks like it works there.
Yep, that’s what I thought. I was using old Edge before, which I understand isn’t supported by Discourse anymore. I just got the new Edge and unsurprisingly it has the same issue as Chrome. It works the first time, but never again until I refresh the page.