Project

General

Profile

Actions

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.

Status:
Invalid
Priority:
Normal
Assignee:
Category:
Interface
Target version:
Start date:
08/11/2018
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

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

2018-08-11_11-44-25.mp4 (1.04 MB) 2018-08-11_11-44-25.mp4 westor (GR), 08/11/2018 10:48 AM
Actions #1

Updated by Per Amundsen over 6 years ago

I am unable to reproduce this.

Have you tried in a fresh AdiIRC?

Do you have a small example that triggers the issue?

Actions #2

Updated by westor (GR) over 6 years ago

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

Actions #3

Updated by Per Amundsen over 6 years ago

-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.

Actions #4

Updated by westor (GR) over 6 years ago

Ok understand, it is something minor anyway...

Actions #5

Updated by Per Amundsen over 6 years ago

  • Status changed from New to Invalid
Actions

Also available in: Atom PDF