Window set foreground doesn't work

If you have found a bug please describe it here
Post Reply
slaecker
Posts: 2
Joined: 22 Dec 2015, 12:51

Window set foreground doesn't work

Post 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.
User avatar
Jmgr
Admin
Posts: 1649
Joined: 07 Dec 2005, 15:45
Contact:

Re: Window set foreground doesn't work

Post 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.
"My software never has bugs. It just develops random features."
User avatar
Jmgr
Admin
Posts: 1649
Joined: 07 Dec 2005, 15:45
Contact:

Re: Window set foreground doesn't work

Post by Jmgr »

Have you tried entering only *Oracle* as the target window name? Maybe the "ü" character causes this issue here.
"My software never has bugs. It just develops random features."
hydzaid
Posts: 1
Joined: 07 Sep 2020, 17:48

Re: Window set foreground doesn't work

Post 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
Post Reply