Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Clicking a link very frequently fails #1414

Open
Atario opened this issue Jul 2, 2015 · 24 comments
Open

Clicking a link very frequently fails #1414

Atario opened this issue Jul 2, 2015 · 24 comments

Comments

@Atario
Copy link

Atario commented Jul 2, 2015

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.

@Arnavion
Copy link
Contributor

Arnavion commented Jul 2, 2015

#363 (comment)

@Jaex
Copy link

Jaex commented Jul 6, 2015

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.

@TingPing
Copy link
Member

Fixed by 971e5cf

@OlegYch
Copy link

OlegYch commented May 9, 2016

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

@FichteFoll
Copy link

FichteFoll commented May 10, 2016

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.

@Fenrirthviti
Copy link

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.

@FichteFoll
Copy link

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

@tiggybitch
Copy link

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.

@Fenrirthviti
Copy link

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.

@FichteFoll
Copy link

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?

@TingPing TingPing reopened this Dec 16, 2017
@tiggybitch
Copy link

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.

@Fenrirthviti
Copy link

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.

@melt7777
Copy link

Also affected latest hexchat on windows 10. Thank you.

@entuland
Copy link

entuland commented May 30, 2021

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.

@melt7777
Copy link

@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!!!!

@haarp
Copy link

haarp commented May 30, 2021

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.

@entuland
Copy link

@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!

@davidsedlar
Copy link

Still have this bug as well. Can be annoying.

@gothicserpent
Copy link

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.

@Fenrirthviti
Copy link

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.

@gothicserpent
Copy link

gothicserpent commented Dec 17, 2021

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.

@Fenrirthviti
Copy link

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.

@madprops
Copy link

Still happens haha

@davidsedlar
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging a pull request may close this issue.