Comment 0 for bug 1422523

Revision history for this message
Olivier Tilloy (osomon) wrote :

While investigating autopilot test failures in gallery-app on Ubuntu Touch (see bug #1422418), I observed that a menu was being open, and the wrong menu item was being pressed (the item below the targetted one was being pressed). I realized that what seemed to have introduced the regression was a change in the app whereby it would go fullscreen at a given point in time during its execution. When the app goes fullscreen on Ubuntu Touch, the top indicators bar disappears, thus moving the window upwards by ~25px). It seems that when the app does that, autopilot gets the coordinates for objects on screen as if the window hadn’t moved, and therefore clicks don’t happen where they are expected. Could it be that the absolute coordinates of the window are cached and not updated when it goes fullscreen?