[1.1.4] Ubuntu 18.04: Cannot take screenshot from primary monitor on multimonitor system

Bug #1804807 reported by elod
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Opinion
Medium
RaiMan

Bug Description

Hi.

I'm recently updated to SikulixIDE 1.1.4-Snapshot and I also updated the OS to Ubuntu 18.04.
I am using two monitors. Every time I want to take a screenshot (Ctrl+Alt+2) it only lets me do it on the secondary screen, no meter which monitor is set to be the primary one. Obviously, I'd like to take "pictures" from the primary one, because that's the one I want to run the scripts. I've attached a screenshot. Hope it will help.

Thanks.

Revision history for this message
elod (vercsiba) wrote :
RaiMan (raimund-hocke)
summary: - Cannot take screenshot from primary monitor - Ubuntu 18.04
+ [1.1.4] Ubuntu 18.04: Cannot take screenshot from primary monitor
Revision history for this message
RaiMan (raimund-hocke) wrote : Re: [1.1.4] Ubuntu 18.04: Cannot take screenshot from primary monitor

Apparently a problem with the grey overlay frame.

What Java?

I cannot help you currently, since I do not have a real Ubuntu running and hence no multi-monitor system currently. (but I am planning to have it somewhen this year)

For now the only workaround is, to have the IDE on the primary and the app to drive on the secondary.

BTW: is this by intention?
print("some text", someValue)

this leads to this odd output:
("some text", 1000)

which is the printout of a tuple (unmodifiable list).

print is not a function, but a statement and is used like this
print "some text", someValue

which would lead to output
some text 1000

Changed in sikuli:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.4
summary: - [1.1.4] Ubuntu 18.04: Cannot take screenshot from primary monitor
+ [1.1.4] Ubuntu 18.04: Cannot take screenshot from primary monitor on
+ multimonitor system
Revision history for this message
elod (vercsiba) wrote :

Hi.

My java version:

openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3, mixed mode)

Thanks for clarifying the print statement. I thought this is the way to use it, like in Python 3. Thanks again.

And I would like to say that I really admire the work you do!

Thanks!

Revision history for this message
RaiMan (raimund-hocke) wrote :

--- Java
In any case you should upgrade to the LTS version 11 (10 is out of service since September).

... and thanks for kind feedback

RaiMan (raimund-hocke)
Changed in sikuli:
status: In Progress → Incomplete
milestone: 1.1.4 → none
RaiMan (raimund-hocke)
Changed in sikuli:
status: Incomplete → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.