Project

General

Profile

Actions

Bug #4580

closed

AdiIRC crashing on right click into a custom statusbar item

Added by westor (GR) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
05/11/2019
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

There is a strange crash, when i right click in the statusbar into the custom item that i created via /statusbar it crashing, probably because i did not use a @window in parameter.

Example Code: https://pastebin.com/AfGGAXnZ

Crash details:

Object reference not set to an instance of an object.

Void OnMouseHover(System.EventArgs)

   at AdiIRC.GUI.Controls.StatusLabel.OnMouseHover(EventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.MouseHoverTimer.OnTick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

- Thanks!

Actions

Also available in: Atom PDF