Bug #4065
closed
AdiIRC activating and focusing an incorrect window when closing a custom dialog
Added by westor (GR) over 6 years ago.
Updated over 6 years ago.
Description
Hello,
There is a bug, when i open a dialog and then i activate an other window (e.g: firefox) and after that i close that dialog window then AdiIRC activating the previously window (firefox) that it should activate the last AdiIRC activated window thought, i was able to reproduce it and capture a video to give you an example.
Video: http://j.mp/2OuBCnP
How to reproduce:
Create a custom dialog, use /dialog -md custom_dialog custom_dialog then activate an other window and then go close that custom dialog and you will see that AdiIRC is focusing and activating the last activate window out of AdiIRC program.
- Thanks!
Files
I am unable to reproduce this.
Have you tried in a fresh AdiIRC?
Do you have a small example that triggers the issue?
Ok i think i reproduce it on clean AdiiRC, actually is triggering when you have /dialog -mv dname dname and not -md
Paste that code:
menu status {
test:dialog -mv Hash Hash
}
dialog Hash {
title "TEST DIALOG"
size -1 -1 294 171
option dbu
}
Right click on status window and hit 'test' then open and activate an other window then go and close that dialog and you will see that it will activate the last non-AdiIRC window, it should activate the $lactive window thought.
Example Video: http://j.mp/2OvMlyl
-v is not related, just -m without -d.
This seems to be a .NET issue, it treats this fake "modal" window as a regular window, I tested other .NET programs to verify.
In theory I could make it activate the AdiIRC main window when the dialog is closed, but I suspect there will be other issues with that, e.g giving focus back to another fake "modal" window.
Ok understand, it is something minor anyway...
- Status changed from New to Invalid
Also available in: Atom
PDF