=== nik90__ is now known as nik90_ | ||
jgdx | hi, how do you accomplish selecting an object not loaded yet in e.g. a listview? | 21:24 |
---|---|---|
jgdx | one strategy is to populate the list by dragging scrolling up and down, but that is fragile | 21:25 |
veebers | jgdx: why are you trying to selecting something that doesn't exist yet? | 21:32 |
jgdx | veebers, right now, instead of mocking the whole language settings infrastructure, my test cleanup is using the UI. | 21:34 |
jgdx | veebers, so, when cleaning up, I am trying to select an object representing the original 'clean' state | 21:35 |
veebers | jgdx: I don't understand sorry, do you have code or an example I can see? | 21:38 |
veebers | what are you trying to test (which application). | 21:39 |
veebers | Are you saying that you have a listview on screen that you would like to select an item from but you need to scroll it to see it (and click it) | 21:39 |
jgdx | veebers, sure. Testing USS. https://code.launchpad.net/~jonas-drange/ubuntu-system-settings/fix-1240875/+merge/233054#diff-line-365 | 21:40 |
jgdx | veebers, yes | 21:40 |
veebers | jgdx: if you're interacting with an sdk component elopio has done a bunch of work with helpers etc. to ease that. He might be able to help you with your 'selecting from listview problem'. I wouldn't know off the top of my head though | 21:43 |
jgdx | veebers, can't find the helper in the docs. Thanks though | 21:46 |
elopio | jgdx, veebers: this might help: | 21:49 |
elopio | http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/view/head:/tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_qquicklistview.py#L30 | 21:49 |
jgdx | well hello | 21:52 |
jgdx | elopio, that's what I had in mind :) | 21:52 |
jgdx | elopio, maybe a page like http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/api/autopilot.introspection.types.html would be a nice home for that info? | 22:03 |
jgdx | http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot-emulator/ubuntuuitoolkit.html | 22:04 |
jgdx | right | 22:04 |
* jgdx hides | 22:04 | |
balloons | jgdx, :-) If you know sphinx, the toolkit helpers could really use some love to make that page look a bit nicer | 22:05 |
elopio | jgdx: well, that one is outdated. The emulators namespace is deprecated, so it's on the TODO to improve the dos. | 22:05 |
elopio | *docs | 22:05 |
jgdx | balloons, :) would css powers help? | 22:08 |
balloons | elopio, oO shoot.. that's right, it doesn't autosync does it? | 22:08 |
balloons | it can't because they removed it from uitk source right? | 22:09 |
balloons | crazy ... | 22:09 |
elopio | balloons: I'm not sure. Anyway, it would be now pointing to the wrong package | 22:10 |
elopio | anyway, it just needs a little love. After RTM, there will be more time. | 22:10 |
balloons | elopio, I'll note it and ask dpm to do another sync when he returns | 22:15 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!