[Sikuli-driver] [Bug 1730645] Re: [1.1.4] Windows 10: Move mouse for click not working since new JRE and Windows update with Java 8 and HiDPI --- workaround Java 9 and scaling 100% OR try with Java 11

2018-12-02 Thread Michelle
ok thanks

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

Title:
  [1.1.4] Windows 10: Move mouse for click not working since new JRE and
  Windows update with Java 8 and HiDPI --- workaround Java 9 and scaling
  100% OR try with Java 11

Status in Sikuli:
  In Progress

Bug description:
  * Java problem
  seems to be related to a problem with HiDPI and scaled monitor setups
  https://bugs.openjdk.java.net/browse/JDK-8196030

  The problem seems to exist with Java 8 not supporting HiDPI.

  Using Java 9 or 10 on HiDPI systems with a scaling of 100% seems to
  work

  Using Java 11 these experiences are reported:
  early build of jdk 11 and sikuli 1.1.4 is working good for hidpi, but still 
we observed few issues mentioned below:

  1) Sikuli scripts written using 4k (3840*2160) with recommended
  scaling (300%) is working only for the same recommended settings. If
  we change the resolution to 2K or 1080P or below , and also if we
  change scaling, scripts are failing

  2) Sikuli scripts written on 2k (2560*1600) with recomended scaling (200%) is 
working for for resolutions below 2k like 800*600 to 1920*1080 (Downscaling is 
working with this) and for 4k it is not working (Upscaling is not working) 
  -

  wondering if anyone else is seeing this.

  I install the latest big update for Windows this morning and also
  accepted an update to the latest JRE.

  Now my when Sikuli moves the mouse to click on a match it doesn't land
  on the coordinates.   It even recognizes that it missed and has an
  error message saying it tried to move the mouse to (x, y), but landed
  on (p, q) instead.

  Any idea what is happening and how to fix it?

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1730645/+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


[Sikuli-driver] [Bug 1730645] Re: [1.1.4] Windows 10: Move mouse for click not working since new JRE and Windows update with Java 8 and HiDPI --- workaround Java 9 and scaling 100% OR try with Java 11

2018-11-30 Thread Michelle
Hi @Raiman,

So I have the same error:

[error] RobotDesktop: checkMousePosition: should be L(3520,540)@S(1)[2560,0 
1920x1080]
but after move is L(3504,557)@S(1)[2560,0 1920x1080]
Possible cause in case you did not touch the mouse while script was running:
 Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.

Now I switched to java 11.
Now I get the following error:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.python.core.PySystemState 
(file:/C:/jython2.7.0/jython.jar) to method java.io.Console.encoding()
WARNING: Please consider reporting this to the maintainers of 
org.python.core.PySystemState
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release

This is a known problem for Java 9/10/11 and the developers of jython don't 
know how to fix it:
https://stackoverflow.com/questions/46230413/jdk9-an-illegal-reflective-access-operation-has-occurred-org-python-core-pysys

How did you bypass this?

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

Title:
  [1.1.4] Windows 10: Move mouse for click not working since new JRE and
  Windows update with Java 8 and HiDPI --- workaround Java 9 and scaling
  100% OR try with Java 11

Status in Sikuli:
  In Progress

Bug description:
  * Java problem
  seems to be related to a problem with HiDPI and scaled monitor setups
  https://bugs.openjdk.java.net/browse/JDK-8196030

  The problem seems to exist with Java 8 not supporting HiDPI.

  Using Java 9 or 10 on HiDPI systems with a scaling of 100% seems to
  work

  Using Java 11 these experiences are reported:
  early build of jdk 11 and sikuli 1.1.4 is working good for hidpi, but still 
we observed few issues mentioned below:

  1) Sikuli scripts written using 4k (3840*2160) with recommended
  scaling (300%) is working only for the same recommended settings. If
  we change the resolution to 2K or 1080P or below , and also if we
  change scaling, scripts are failing

  2) Sikuli scripts written on 2k (2560*1600) with recomended scaling (200%) is 
working for for resolutions below 2k like 800*600 to 1920*1080 (Downscaling is 
working with this) and for 4k it is not working (Upscaling is not working) 
  -

  wondering if anyone else is seeing this.

  I install the latest big update for Windows this morning and also
  accepted an update to the latest JRE.

  Now my when Sikuli moves the mouse to click on a match it doesn't land
  on the coordinates.   It even recognizes that it missed and has an
  error message saying it tried to move the mouse to (x, y), but landed
  on (p, q) instead.

  Any idea what is happening and how to fix it?

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1730645/+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