Dropdowns that fits in the browser (Firefox) window is not visible for sikulix on Ubuntu 16.04

Bug #1653996 reported by Per Hjelm on 2017-01-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Undecided
RaiMan

Bug Description

Setup:
Sikuli 1.1.0
Firefox 50.1.0, Chrome 55.0.2+
Ubuntu 16.04 64-bit

When I try to select something from a dropdown (HTML Select element) that fits in the browser window it wont be visible for sikuli. I made sikulix to save a screenshot when it fails, and in the screenshot the dropdown options is not visible.

If I make it so the dropdown options reaches the outside of the browser edges then it will be visible for sikulix and if I also make it to save a screenshot in that moment the dropdown options will be visible in the screenshot as well.

To make sure it wasnt just my application that was the problem i tried it on w3schools HTML select example with the same result: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_select

This is NOT a problem on windows. I havent managed to try it on a Mac yet.

(Keep up the amazing job RaiMan!)

Per Hjelm (krackegott) on 2017-01-04
summary: Dropdowns that fits in the browser (Firefox) window is not visible for
- sikulix
+ sikulix on Linux
summary: Dropdowns that fits in the browser (Firefox) window is not visible for
- sikulix on Linux
+ sikulix on Ubuntu 16.04
Per Hjelm (krackegott) on 2017-01-04
description: updated
RaiMan (raimund-hocke) on 2017-01-04
Changed in sikuli:
status: New → Opinion
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.1
milestone: 1.1.1 → 1.1.0
RaiMan (raimund-hocke) wrote :

Thanks for kind feedback.

I checked on macOS 10.12 with Firefox: the dropdown is visible in the shot.

You might try with version 1.1.1. (which I use)

For now I do not accept this as a SikuliX bug, since the capture completely relies on the java AWT Robot capture feature.
In your case this means, that the dropdown (at least for the "buffer" Java sees) is hidden behind the FF window.
Since with the standard Ubuntu GUI there are some other oddities, I suppose it is an Ubuntu/Java/Firefox problem.

In your case I do not see a workaround besides using Selenium for that.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers