SikuliX1 icon indicating copy to clipboard operation
SikuliX1 copied to clipboard

Java program: Unable to bring window forward on Windows 10

Open RaiMan opened this issue 4 years ago • 3 comments

original on Launchpad

In the IDE (tested with 2.0.5) everything works as expected, even when the script is run from command line.

Using the same workflow in a Java program, only the first focus works. All following only make the icon in the taskbar blinking.

I currently have no idea, what causes the different behavior, but will try to find out.

2.0.6 will have a different implementation of the App class. I will check its behavior.

RaiMan avatar Jul 25 '21 09:07 RaiMan

A workaround is to disable the taskbar icon flashing completely: https://www.thewindowsclub.com/disable-flashing-taskbar-buttons-windows

Be sure to set both values to 0 (zero).

RaiMan avatar Jul 25 '21 14:07 RaiMan

I have made the changes to both registry entries to set them to zero and confirm that this does fix the issue for me as a workaround.

phototacopodcast avatar Jul 26 '21 15:07 phototacopodcast