Actions
Bug #4623
openClicking image when window isn't in focus and single click enabled copies the image's link to the clipboard instead of opening the link
Start date:
06/19/2019
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Regression:
No
Description
Repro:¶
- Open AdiIRC
- Open Options
- In the Inline Images section, turn on "Use inline images"
- In the Links section, turn on "Open links with single click", then click Save/Close
- Connect to a server or whatever you want to get any window with text input
- Generate an inline image, ex: /echo -ag https://adiirc.com/images/adiirc3.png
- Switch focus to another window (ie. click the windows taskbar, alt-tab to another window, etc.), but one where you can still see the inline image
- Click on the inline image without changing focus back to AdiIRC, nothing will appear to occur as it's copied the link to the image to the clipboard instead of opening it
- Press Ctrl-V to verify it's copied the link to the clipboard (or use Windows clipbrd.exe to monitor)
- Click the image again, it will now attempt to open the link per normal since the window is in focus
Notes:¶
- If using non-maximized MDI windows, switching the focus to another AdiIRC MDI window and clicking the image without changing focus to the image's window first has the same issue
- If double-clicking the image with single click enabled, it still will not open, it still copies to the clipboard
- With the single click option disabled, clicking the image when the window isn't in focus will still copy the link to the clipboard on double or single click, but double-clicking does open the image link as expected
Expected:¶
- When single click links are enabled, it should open image link on single click regardless of focus
- Should not copy to the clipboard unless told to
Actions