64-bit steals focus where 32-bit did not

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Quaraxkad
Posts: 183
Joined: 20 Apr 2014 18:01

64-bit steals focus where 32-bit did not

Post by Quaraxkad »

I have several scripts that use a foreach loop containing a run command. In 32-bit versions, this would show a "Please wait... The shelled process has not finished yet" dialog box. The box would flicker off and back on for each loop iteration. When this occurs in the 64-bit version, that dialog steals focus and moves to the window to the top, interfering with whatever other work you're doing while waiting for the script to finish.

phred
Posts: 588
Joined: 26 Dec 2021 02:10
Location: XY 64bit on Windows 10 at 100% from Boston USA

Re: 64-bit steals focus where 32-bit did not

Post by phred »

From Admin/Don...
Forum users who have their Windows version and screen scaling percentage in the location field of their profile will get priority support. And be sure to state your XY version number in the body of your post. No info in the location field? Be patient and Don will get to you after he takes care of those who have the proper info in the proper place.
XY No Info.jpg
XY No Info.jpg (64.39 KiB) Viewed 3056 times

Quaraxkad
Posts: 183
Joined: 20 Apr 2014 18:01

Re: 64-bit steals focus where 32-bit did not

Post by Quaraxkad »

28.00.0502, Win11, 100%

admin
Site Admin
Posts: 65246
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: 64-bit steals focus where 32-bit did not

Post by admin »

Got some minimal code for testing?

Quaraxkad
Posts: 183
Joined: 20 Apr 2014 18:01

Re: 64-bit steals focus where 32-bit did not

Post by Quaraxkad »

test.xys

Code: Select all

 $sel = <get selecteditemspathnames |>;
 foreach($file, $sel) {
     $parentdir = getpathcomponent($file, "path");
     run """C:\Programs\XYplorer\Data\Scripts\test.bat"" ""$file""", $parentdir, 1, 0;
 }
test.bat

Code: Select all

timeout /t 5
Select several files, run test.xys, change focus to another app while the script runs.

admin
Site Admin
Posts: 65246
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: 64-bit steals focus where 32-bit did not

Post by admin »

Thank you! It's probably a language issue (tB). Unfortunately, this means it will take considerable time to be fixed. I'll get back to you when I have more information.

admin
Site Admin
Posts: 65246
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: 64-bit steals focus where 32-bit did not

Post by admin »

Issue confirmed and reported to tB. Should be fixed soon. I'll let you know.

Quaraxkad
Posts: 183
Joined: 20 Apr 2014 18:01

Re: 64-bit steals focus where 32-bit did not

Post by Quaraxkad »

Thanks!

admin
Site Admin
Posts: 65246
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: 64-bit steals focus where 32-bit did not

Post by admin »

Fixed in v28.10.0103. :beer:

Quaraxkad
Posts: 183
Joined: 20 Apr 2014 18:01

Re: 64-bit steals focus where 32-bit did not

Post by Quaraxkad »

Fix confirmed, thanks!

Post Reply