mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2010
Posts: 59
A
Babel fish
OP Offline
Babel fish
A
Joined: Apr 2010
Posts: 59
Hello,

In the channel right-click context menu, a nick that was clicked on previously is still in the $1 variable, even when no nick is clicked on in the channel window. The $$1 conditional variable is also affected.

Repro steps:
1. Enable Auto-hide for a channel nick list. Channel window icon > Nick List > Auto-hide nick list.
2. Right click on a nick in the main window of the channel, and click Slap.
3. Right click in the main window of the same channel, near the right edge of the window but without activating the nick list, and not on a nick, and click Slap.

$1 is still defined as the nick that was clicked on in step 2. $1 should be $null if no nick was clicked on.

Version 7.25, Windows XP

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Actually this bug has nothing to do with $1/$$1 and everything to do with your very last step of reproduction. You can take out step 2 completely:

1. Enable Auto-hide for a channel nick list. Channel window icon > Nick List > Auto-hide nick list.
2. Right click in the main window of the same channel, near the right edge of the window but without activating the nick list, and not on a nick

You will get the nicklist popup menu.

The issue seems to be that the hitbox area for the nicklist sticks around in the channel even when the nicklist is hidden, so if you click anywhere in the main window where the nicklist *would be*, you will activate the nicklist popup.

Workaround: don't click to the right side of the window. Crappy workaround, but fairly easy to avoid.

Solution would be for mIRC to reset the hitbox when the nicklist is hidden, which seems like a super simple fix.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Apr 2010
Posts: 59
A
Babel fish
OP Offline
Babel fish
A
Joined: Apr 2010
Posts: 59
Terrific. Thanks for your contribution, argv.

Are you a dev? Will you be able to address the bug?

Whether the nicklist is shown could also be checked when evaluating the $1 and $$1 variables.

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Khaled is the only dev for mIRC. He does read all bug reports, so I'm sure he'll address this.


Invision Support
#Invision on irc.irchighway.net
Joined: Dec 2002
Posts: 5,421
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,421
Thanks, this issue has been fixed for the next version.


Link Copied to Clipboard