@mkupper
Thank you very much for your detailed analysis. However…
As I have said, the problem occurs only the first time I use the Edit With Notepad++ command. (The first time I open my pc, after a restart, etc). So, I tried your suggestion after a restart and I got the following log results:
**********************************************
Window Focus Logger 1.0
Start time of registration: 6:32:01 μμ
Copyright(c) www.adminscope.com 2014-2024
Free for personal and commercial use.
**********************************************
Focus changed;16/05/2024 18:32:03;Name:test.html;Processname:explorer;Offscreen:False;KeyboardFocus:True;UIenabled:True
Focus changed;16/05/2024 18:32:04;Name:;Processname:explorer;Offscreen:False;KeyboardFocus:True;UIenabled:True
Focus changed;16/05/2024 18:32:04;Name:Cut;Processname:explorer;Offscreen:False;KeyboardFocus:True;UIenabled:True
Focus changed;16/05/2024 18:32:06;Name:;Processname:explorer;Offscreen:False;KeyboardFocus:True;UIenabled:True
Then, a few minutes later I tried again, without restarting, and I got the following log results:
**********************************************
Window Focus Logger 1.0
Start time of registration: 6:36:16 μμ
Copyright(c) www.adminscope.com 2014-2024
Free for personal and commercial use.
**********************************************
Focus changed;16/05/2024 18:36:18;Name:Popup;Processname:explorer;Offscreen:True;KeyboardFocus:True;UIenabled:True
Focus changed;16/05/2024 18:36:18;Name:Popup;Processname:explorer;Offscreen:True;KeyboardFocus:True;UIenabled:True
Focus changed;16/05/2024 18:36:18;Name:Cut;Processname:explorer;Offscreen:False;KeyboardFocus:False;UIenabled:True
Focus changed;16/05/2024 18:36:18;Name:Popup;Processname:explorer;Offscreen:True;KeyboardFocus:True;UIenabled:True
Focus changed;16/05/2024 18:36:19;Name:;Processname:explorer;Offscreen:False;KeyboardFocus:True;UIenabled:True
Focus changed;16/05/2024 18:36:19;Name:;Processname:explorer;Offscreen:False;KeyboardFocus:True;UIenabled:True
Focus changed;16/05/2024 18:36:23;Name:;Processname:Idle;Offscreen:False;KeyboardFocus:False;UIenabled:False
Focus changed;16/05/2024 18:36:23;Name:<!-- My HTML file -->;Processname:notepad++;Offscreen:False;KeyboardFocus:True;UIenabled:True
Focus changed;16/05/2024 18:36:23;Name:<!-- My HTML file -->;Processname:notepad++;Offscreen:False;KeyboardFocus:True;UIenabled:True
Focus changed;16/05/2024 18:36:23;Name:<!-- My HTML file -->;Processname:notepad++;Offscreen:False;KeyboardFocus:True;UIenabled:True
Focus changed;16/05/2024 18:36:23;Name:<!-- My HTML file -->;Processname:notepad++;Offscreen:False;KeyboardFocus:True;UIenabled:True
As you can see the second try was successful. So, I don’t have a clue what is going on and the problem is that I have tried the same action with different applications (copy from one / paste to another, using commands of the context menu) such as Notepad, UltraEdit, MS Word and all work as expected.
Thanks again for your help.