hexchat icon indicating copy to clipboard operation
hexchat copied to clipboard

Clicking a link very frequently fails

Open Atario opened this issue 9 years ago • 24 comments

Seems like at least 50% of the time, clicking a link in a channel does nothing at all. Mostly I have to resort to right-clicking and choosing "Open Link in Browser" to get it to work. There doesn't seem to be any rhyme or reason to which ones work and which don't, either.

This is v.2.10.2 portable on Win7.

Atario avatar Jul 02 '15 10:07 Atario

https://github.com/hexchat/hexchat/issues/363#issuecomment-15821989

Arnavion avatar Jul 02 '15 16:07 Arnavion

While clicking link mouse down and mouse up events must trigger in same cursor position otherwise link not opens. So while clicking if you move cursor one pixel before releasing it then link not opens. And this is very annoying. I have no idea why HexChat handling click event like this.

Jaex avatar Jul 06 '15 02:07 Jaex

Fixed by https://github.com/hexchat/hexchat/commit/971e5cf4fe528f145a38dadcf75310b1ea5ae46c

TingPing avatar Jan 10 '16 21:01 TingPing

still fails a lot in 2.12.1 i'm on Windows 8

OlegYch avatar May 09 '16 19:05 OlegYch

I also experience this occasionally on 2.12.1. It usually happens consecutively, when it happens, and I suspect a program restart to fix it, but I haven't specifically investigated further. Windows 7.

FichteFoll avatar May 10 '16 00:05 FichteFoll

I imagine this issue is no longer being monitored, but experiencing similar behavior on 2.12.4.

This issue is NOT the "pixel perfect click" issue. Something in the program causes all clicks for all links to fail, no matter how carefully they are clicked. For me, highlighting some text (doesn't matter where) and then clicking off the highlighted text (to deselect it) fixes the issue and links work properly again. I have been unable to replicate this reliably, so no clue as to the actual cause (might be related to some period of inactivity?), but as I use IRC pretty much all day every day, it comes up 4-5 times a day.

Happens on all versions of Windows I use (Win7/8/10), so I don't think this is an OS problem.

Fenrirthviti avatar Apr 13 '17 16:04 Fenrirthviti

I mentioned this on IRC a few months ago, but I'm also experiencing this exact same issue under Arch Linux.

FichteFoll avatar Apr 19 '17 20:04 FichteFoll

I use 2.12.4 on Windows 10. Up until the past week or so I have been able to click a URL and have it open with no issues. Yes, gui_url_mod is set to 0. I am back to having to right click and open URLs.

I have to agree with Fenrirtheviti that this is NOT a "pixel perfect click" issue. I've tried restarting the program only to have the issue persist.

tiggybitch avatar Dec 15 '17 01:12 tiggybitch

Definitely still present for me as well. I'm guessing this issue is not monitored due to being closed. I'll look into providing a detailed report with more info the next time it occurs for me.

Fenrirthviti avatar Dec 15 '17 19:12 Fenrirthviti

Considering the rarity of the issue, it's could be a race condition. It's also interesting that this happens on Windows and Linux, though it's rarer on Linux (at least for me).

@TingPing, would you consider reopening the issue?

FichteFoll avatar Dec 15 '17 19:12 FichteFoll

I restarted Hexchat after rebooting my computer and was able to open 3 links without having to right click. Just went to click a URL and once again it is back to right clicking to open. I have tried in multiple places of the URL and still nothing.

tiggybitch avatar Dec 16 '17 08:12 tiggybitch

Is there any further information I can provide to help track this down? I spent a bit of time trying to debug, and couldn't sort out on my own, but I'm happy to provide any debug logs/info possible.

Fenrirthviti avatar Mar 12 '18 14:03 Fenrirthviti

Also affected latest hexchat on windows 10. Thank you.

melt7777 avatar Sep 11 '20 01:09 melt7777

I think it's interfering with the auto-copy feature in the advanced settings.

Disabling such auto-copy seems to fix the program randomly ignoring the clicks for me, probably the code that handles the auto-copy is hijacking the mouse events there.

Edit: no, not completely fixed, I still get some clicks ignored, but it feels like the failure rate is lower with the auto-copy feature disabled.

entuland avatar May 30 '21 14:05 entuland

@entuland Your solution worked for me! I turned that setting off and the links are clickable again. This has bothered me for years. Thank you so much!!!!

melt7777 avatar May 30 '21 17:05 melt7777

Nope, this isn't the solution. I've been having this bug for years and never had any auto-copy enabled.

Granted, it only appears after clicking 1 or 2 links.

haarp avatar May 30 '21 17:05 haarp

@haarp Yep, there definitely must be something more to it as I still get some clicks ignored here and there, but it's behaving way better now with the auto-copy feature disabled - at least that the case for me.

@melt7777 glad it's working for you!

entuland avatar May 30 '21 17:05 entuland

Still have this bug as well. Can be annoying.

davidsedlar avatar Oct 11 '21 09:10 davidsedlar

I was having this issue when double-clicking links. If I hover the mouse over a link and single left click it seems to always work (even with auto-copy enabled or disabled).

I think single left clicking links is the solution here.

gothicserpent avatar Dec 17 '21 03:12 gothicserpent

I can confirm this still happens, and single left clicking (which is how I have opened links since I started using HexChat) does not work when the bug occurs. It sounds like you are encountering a different issue.

Fenrirthviti avatar Dec 17 '21 15:12 Fenrirthviti

No, I'm referring to the same issue. Hexchat 2.14.3 on win10.

I also want to clarify I have a chrome browser window open on one monitor while I'm using hexchat. So that's my test case. If the browser window isn't maximized / open and minimized this may exacerbate the issue.

So try maximizing your browser window, going back to hexchat, and clicking on links. Hexchat can still have focus while you click the links, but as long as the browser window isn't minimized it should work. I tried it dozens of times and it works.

gothicserpent avatar Dec 17 '21 19:12 gothicserpent

Then I posit again, that whatever issue you're running in to is something else. There is a known bug where clicks need to be pixel perfect between the first and second with double clicking links. When the issue occurs on my end (which still happens 4-5 times daily, and has for almost 7 years now), single clicking does not work. I have basically never used double click to open links in Hexchat. My browser windows are always open on a tertiary monitor, and maximized. While I appreciate you offering workarounds, let's not try to detract from the fact there is a very real and unavoidable issue with links not working consistently in Hexchat. This is the only application I use that has this issue, and the suggestion that some kind of extremely specific workflow and preparation of my environment is required to avoid it is, frankly, ridiculous.

Fenrirthviti avatar Dec 20 '21 20:12 Fenrirthviti

Still happens haha

madprops avatar Nov 25 '22 18:11 madprops

Yes still happens quite a bit. Usually have to right click -> Open link in browser for it to work.

davidsedlar avatar Apr 10 '23 16:04 davidsedlar