← Back to team overview

sikuli-driver team mailing list archive

[Bug 747006] Re: X-1.0rc2: Ubuntu: app.window() returns None - expected a Region object

 

it really seems to be a current bug.

pls. tell your Ubuntu version.

I have changed the bug description accordingly.

** Summary changed:

- app.window() doesn't work on Ubuntu 
+ X-1.0rc2: Ubuntu: app.window() returns None - expected a Region object

** Changed in: sikuli
       Status: New => Confirmed

** Description changed:

- app.window() can return the region of the application's window on Mac
- and Window. However, it returns NONE on Ubuntu.
+ Ubuntu      / Sikuli 32Bit
+ Ubuntu 10.10 64Bit / Sikuli 64Bit
+ 
+ App.open() and App.focus() work
+ *****************************************
+ 
+ app.window()/App.focusedWindow() can return the region of the
+ application's window on Mac and Window. However, it returns NONE on
+ Ubuntu.
  
  For instance, the following code results in error on Ubuntu, but works well on Mac and Windows.
  ff = App("firefox")
  wait(3)
  print ff.window().getY()

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

Title:
  X-1.0rc2: Ubuntu: app.window() returns None - expected a Region object

Status in Sikuli:
  Confirmed

Bug description:
  Ubuntu      / Sikuli 32Bit
  Ubuntu 10.10 64Bit / Sikuli 64Bit

  App.open() and App.focus() work
  *****************************************

  app.window()/App.focusedWindow() can return the region of the
  application's window on Mac and Window. However, it returns NONE on
  Ubuntu.

  For instance, the following code results in error on Ubuntu, but works well on Mac and Windows.
  ff = App("firefox")
  wait(3)
  print ff.window().getY()



References