[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-26 Thread Launchpad Bug Tracker
** Branch linked: lp:~untrusted-ci-dev-bot/webbrowser-app/ubuntu-vivid- proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417118 Title: test_looses_focus_when_reloading fails when run on

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-17 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/webbrowser-app -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417118 Title: test_looses_focus_when_reloading fails when run on desktop To manage

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-17 Thread Olivier Tilloy
** Changed in: webbrowser-app Status: In Progress = Fix Released ** Changed in: webbrowser-app (Ubuntu) Assignee: (unassigned) = Olivier Tilloy (osomon) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-17 Thread Launchpad Bug Tracker
This bug was fixed in the package webbrowser-app - 0.23+15.04.20150217.1-0ubuntu1 --- webbrowser-app (0.23+15.04.20150217.1-0ubuntu1) vivid; urgency=medium [ CI Train Bot ] * New rebuild forced. [ Olivier Tilloy ] * Honour Window.close() requests. * Work around autopilot

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-17 Thread Olivier Tilloy
** Changed in: webbrowser-app Importance: Undecided = High ** Changed in: webbrowser-app Status: Confirmed = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417118 Title:

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-06 Thread Christian Dywan
** Changed in: ubuntu-ui-toolkit (Ubuntu) Status: Confirmed = Invalid ** Changed in: ubuntu-ui-toolkit (Ubuntu) Assignee: Christian Dywan (kalikiana) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-05 Thread Olivier Tilloy
It seems the issue stems from the workaround for bug #1297592 in autopilot, rather than from the actual presence of python3-evdev. That workaround always tries to create a touch device unconditionally, which seems wrong (see

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-05 Thread Olivier Tilloy
I think I (finally) found the culprit. When the entire text in the address bar is selected (which happens programatically when giving focus to the address bar), the TextField widget displays selection handles to allow the user to resize the selection. The mouse areas to interact with them are

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-05 Thread Olivier Tilloy
Unfortunately removing autopilot-touch from the runtime deps doesn’t fix the issue, as python3-evdev is still pulled in as a recommends of python3-autopilot (it seems that apt-get installs the recommends by default). I wonder if python3-evdev should be removed from the list of recommends of

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-04 Thread Leo Arias
After some digging, it seems that creating the Touch device is causing the weird behaviour. To reproduce, do this in a terminal: $ python3 Python 3.4.2 (default, Dec 27 2014, 23:37:21) [GCC 4.9.2] on linux Type help, copyright, credits or license for more information. from

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-04 Thread Olivier Tilloy
** Changed in: webbrowser-app Assignee: (unassigned) = Olivier Tilloy (osomon) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417118 Title: test_looses_focus_when_reloading fails when run on

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-04 Thread Olivier Tilloy
** Also affects: autopilot Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417118 Title: test_looses_focus_when_reloading fails when run on desktop To

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-04 Thread Zsombor Egri
The text selection is made programatically by the WebBrowser, and the context menu appears right after the click happens over the refresh button. The failure happens only on AP tests, we could not reproduce it manually. ** Changed in: ubuntu-ui-toolkit (Ubuntu) Importance: Undecided = High

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-04 Thread Olivier Tilloy
I cannot reproduce the issue by manually executing the test case in the same vivid VM that reproduces it when running the autopilot test. There is no apparent difference in the automated test and the steps I’m taking to reproduce: - launch webbrowser-app, wait for page to be loaded - click in

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-04 Thread Olivier Tilloy
It seems making the test click anywhere in the rightmost half of the reload button (x = 0.5 × width) makes it fail, whereas clicking anywhere in the leftmost half (x 0.5 × width) makes it pass. This doesn’t happen when interacting with the app manually. -- You received this bug notification

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-04 Thread Launchpad Bug Tracker
** Branch linked: lp:~osomon/webbrowser-app/workaround-bug-1417118 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417118 Title: test_looses_focus_when_reloading fails when run on desktop To manage

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-04 Thread Olivier Tilloy
I’m observing something interesting (and really puzzling). If in the autopilot test I replace this code: self.pointing_device.click_object(action_button) by self.pointing_device.move( action_button.globalRect.x + action_button.width * 0.5, action_button.globalRect.y +

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-02 Thread Olivier Tilloy
Added an ubuntu-ui-toolkit task as I suspect it could be a UITK regression. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1417118 Title: test_looses_focus_when_reloading fails when run on desktop

[Bug 1417118] Re: test_looses_focus_when_reloading fails when run on desktop

2015-02-02 Thread Olivier Tilloy
I am able to reproduce the issue in an up-to-date vivid VM. ** Changed in: webbrowser-app Status: New = Confirmed ** Also affects: ubuntu-ui-toolkit (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which