[Sikuli-driver] [Bug 1995401] Re: Fn key appears to be held down in macOS Monterey

2022-11-14 Thread RaiMan
** Changed in: sikuli
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to SikuliX.
https://bugs.launchpad.net/bugs/1995401

Title:
  Fn key appears to be held down in macOS Monterey

Status in SikuliX:
  Invalid

Bug description:
  Hello,

  I recently upgrade a macOS computer to macOS Monterey. I'm working on
  porting some Sikuli automated test scripts to work with Monterey.

  The first issue I encountered is a weird one where it seems like the
  Fn key is being held down somehow with Sikuli scripts but nothing
  else.

  I've tried connecting a Dell USB keyboard and an Apple USB keyboard
  with no differences.

  If I do this with either USB keyboard, it works as expected:
  - Open Finder
  - Shift + Command + G, to open "Go to" window with an "address bar"
  - type in "e"
  - see the character "e" in the address bar

  If using the macOS keyboard I type in Fn+e then I get an Emoji popup
  window.

  When running a Sikuli script, I see the following:
  - Open Finder
  - Shift + Command + G, to open "Go to" window with an "address bar"
  - type in "e", via type("e")
  - I see the Emoji popup window instead of the character "e" being typed in 
the address bar

  I've tried the following with no luck (although it does change the behavior 
with the Apple keyboard, but no Sikuli):
  - Settings -> Keyboard -> Modifier Keys... -> Function (fn) Key: No Action

  It doesn't help. I still get the Emoji window with Sikuli scripts.

  Other keys do other things. I normally don't use macOS myself so I
  don't know how to describe these things properly. But when trying to
  type in a path in the address bar using Sikuli, I'll see various
  popups for various keys while other keys will move Windows around on
  the screen, etc depending on which key is being pressed. I suspect
  that all of them are Fn+ that is activating some keyboard
  shortcut.

  I am using Java 14 at the moment.

  Also, we did a time machine restore from the original macOS machine,
  so I'm not sure if that's related somehow.

  For now, I am thinking to just remap the shortcuts to some key combination 
that the scripts should never press, as per the following:
  https://discussions.apple.com/thread/253297084

  However, I'll need to manually find each key typed by the scripts, and
  manually add a shortcut to override the default one and it will be
  very time consuming.

  I have not yet tried a fresh Monterey install (without the Time
  Machine restore) or with a newer version of Java.

  I wanted to first check if there's a setting/option for the Fn key
  related to this in Sikuli that I couldn't find online.

  Sorry if this is a known issue, I didn't find anything when searching
  for "Fn" in the Sikuli bug tracker. Also, searching for Monterey only
  found bug 1976241.

  Thanks,
  Devin

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1995401/+subscriptions


___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #321924]: selenium capture popup window

2022-11-14 Thread RaiMan
Question #321924 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/321924

Status: Answered => Invalid

RaiMan changed the question status:
See comment

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #694687]: [2.0.4] OCR Global settings not updated after setting Settings.OcrLanguages --- workaround

2022-11-14 Thread RaiMan
Question #694687 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/694687

Status: Answered => Solved

RaiMan changed the question status:
it is

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #695366]: Request details for suggesting sikuli for organization

2022-11-14 Thread RaiMan
Question #695366 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/695366

Status: Answered => Solved

RaiMan changed the question status:
it is

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #701210]: Same image not found on different devices/systems --- especially with textual content

2022-11-14 Thread RaiMan
Question #701210 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/701210

RaiMan posted a new comment:
Another option is to use SikuliX's ImagePath feature.
- create a unique image set for every needed variant
- at script start check the given variant somehow (e.g. searching some 
reference image)
- set the ImagePath accordingly

In any case you need a strict naming convention to minimize the overall
effort.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp