← Back to team overview

ubuntu-phone team mailing list archive

Re: Landing team 12.03.14

 

On Thu, 2014-03-13 at 16:16 -0600, Leo Arias wrote:
> On Thu, Mar 13, 2014 at 11:43 AM, Łukasz 'sil2100' Zemczak
> <lukasz.zemczak@xxxxxxxxxxxxx> wrote:
> 
>         Hi,
>         
>         
>         On 12.03.2014 18:00, Didier Roche wrote:
>         
>         
>         We might need to have some view on what's seen on the screen
>         during the
>         test-run in the lab... Right now it seems that url-dispatcher
>         works
>         correctly, starts the test-app correctly but autopilot cannot
>         detect it
>         as running. Debugging continues.
> 
> 
> 
> Is there an alternate way to get the name of the focused application
> in unity8?


Yes, you can use the Window Stack DBus interface exported by Unity:

http://bazaar.launchpad.net/~indicator-applet-developers/hud/trunk.14.04/view/head:/data/com.canonical.Unity.WindowStack.xml

You can call GetWindowStack and the first entry will be on top.

Ted

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References