Actions
Bug #4580
closedAdiIRC crashing on right click into a custom statusbar item
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!
Updated by Per Amundsen over 5 years ago
- Category set to Scripting
- Status changed from New to Resolved
- Assignee set to Per Amundsen
This seems related to constantly removing and adding the item in the Statusbar. You can use the "-g" parameter to just change the text.
I fixed the crash though.
Actions