← Back to team overview

sikuli-driver team mailing list archive

[Bug 747006] Re: app.window() doesn't work on Ubuntu

 

I just noticed the following information at http://sikuli.org/docx/new-in-sikulix.html. 
Will Sikuli support this on Linux later on?


New App Class replaces the old openApp, switchApp, closeApp functions (see Class App)

App.open(), App.close(), App.focus()
App.window() returns the bound of the app window as a Region, so you can restrict following actions within that region. (Windows and Mac only)

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