Page 1 of 1

Window set foreground doesn't work

Posted: 22 Dec 2015, 13:32
by slaecker
Hi,

a bug I discovered on version 3.9.1 compiled on Manjaro Linux x86_64 using KDE Frameworks 5.16.0 / Qt 5.5.1:

Using the action

Window
> Window title: *wird ausgeführt? - Oracle VM VirtualBox
> Action: Set foreground

the action doesn't do anything, the window is not activated/set to foreground. The aim of this is to enter text into a Data input and write the text to the destination window (a virtual machine where pasting from clipboard doesn't work). I added a Window condition before to check if the window title is seen correctly and it works so the issue must be the Set foreground action. Minimizing a window works, too.

Re: Window set foreground doesn't work

Posted: 19 Mar 2016, 00:03
by Jmgr
Thanks for reporting this, but I cannot reproduce this issue on Ubuntu 14.04 MATE, also targeting a VirtualBox virtual machine.

In any case, setting the foreground window on X-based window managers is very random an not very reliable sadly. I'm not sure there is a better way to do this.

Re: Window set foreground doesn't work

Posted: 19 Mar 2016, 00:05
by Jmgr
Have you tried entering only *Oracle* as the target window name? Maybe the "ü" character causes this issue here.

Re: Window set foreground doesn't work

Posted: 07 Sep 2020, 17:50
by hydzaid
hello avez vous trouvé une solution a ce problème sous Windows également ? merci

lun. sept. 7 18:32:06 2020 Uncaught exception at <anonymous script, id=1478511316496>:1: ReferenceError: Can't find variable: setForeground
lun. sept. 7 18:47:10 2020 Uncaught exception at <anonymous script, id=1478516597120>:1: ReferenceError: Can't find variable: close