/srv/irclogs.ubuntu.com/2014/12/09/#ubuntu-app-devel.txt

zmajoh yeah,and the whole thing does apparently work with oxide00:00
penk_karni: did you make a merge like 10 minutes ago..02:06
karnipenk_: hi :D02:07
penk_karni: what time is it over there :D02:07
karniit's 3:07 AM :D02:07
karnihaha02:07
penk_haha classic karni02:07
karnihaha. was about to leave :) have a good day, penk_ o/02:08
penk_karni: sleep tight02:08
karnitnx!02:08
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== Nada is now known as Guest72011
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
JamesTaitGood morning all; happy International Anti-corruption Day! :-D09:16
=== tsimpson_ is now known as tsimpson
=== ubot5` is now known as ubot5
=== rmescandon is now known as rmescandon|brb
=== rmescandon|brb is now known as rmescandon
=== _salem is now known as salem_
=== chihchun is now known as chihchun_afk
popeyballoons: any luck with tests for https://code.launchpad.net/~pkunal-parmar/ubuntu-calendar-app/NewDayView-Final/+merge/242346 ?11:39
popeybe great to get that landed11:39
=== chihchun_afk is now known as chihchun
=== VDVsx_ is now known as VDVsx
=== chihchun is now known as chihchun_afk
karnibzoltan: hey, I'm seeing this log line. this hasn't been fixed since, I understand? https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/126079313:29
ubot5Launchpad bug 1260793 in ubuntu-ui-toolkit (Ubuntu) "Error logs from Icon ShaderEffect" [Medium,Confirmed]13:29
rpadovanihey popey, any luck to provide infrastructure and autopilot to calculator reboot?13:38
popeyhey rpadovani13:39
* popey needs to check with balloons and fginther 13:39
popeywhen they wake, will do and get back to you13:40
balloonseh?13:40
rpadovanithanks :-)13:40
popeyballoons: we talked a week or more ago about autopilot tests for the new calculator reboot13:41
balloonsso rpadovani what do you need exactly? Just the initial test setup?13:44
rpadovaniballoons, well, could be a start, yes. popey said during the vUDS that someone from QA team will work with us on doing tests, but if no one is available i think we can do on our own, after the setup13:45
popeyrpadovani: we should have bugs for each test that needs writing.13:46
popey(unless you want to track them elsewhere)13:46
rpadovanipopey, ok, will do13:47
viejotrenHi guys, is there any online workshop right now? from the video I just have the workshop from yesterday, is that right?13:51
viejotrenYearEnd hack days continue today right?13:51
balloonsrpadovani, ahh, well I'm  trying to stir up some more interest this week so hopefully a few more folks step forward to help out. And yes, please file bugs so I can point folks at them :-)13:51
rpadovaniballoons, cool, thanks :-) I'll start to do that13:52
balloonswe'll get you some help one way or another13:52
=== rmescandon is now known as rmescandon|lunch
=== karni is now known as karni-lunch
dholbachballoons, doing a test-build of https://code.launchpad.net/~flscogna/ubuntu-weather-app/reorganization-and-native-launcher/+merge/241351 now14:32
rpadovaniSaviq, implemented restart button in 100balls, thanks for the feedback!14:32
balloonsswordfish90, I asked dholbach to take a look at the weather MP that wasn't building ^^14:33
balloonsrpadovani, if you could also use the 'needs-autopilot-test' tag when you open them that would be great14:33
rpadovaniballoons, ok :-)14:33
dholbachdh_install: qtdeclarative5-ubuntuweather-timezone-plugin1.0 missing files (usr/lib/*/qt5/), aborting14:33
swordfish90balloons, dholbach Ok thanks. There is probably an issue with the timezone plugin.14:34
dholbachlooks like stuff gets installed into:14:34
dholbach/tmp/buildd/ubuntu-weather-app-1.8.3ubuntu1/debian/tmp/usr/lib/x86_64-linux-gnu/TimeZone/*14:34
dholbachso qt5 <-> TimeZone14:34
dholbachthat's the mismatch14:34
dholbachI don't know where you want things installed14:35
dholbacheither you need to change things in CMakeLists.txt14:35
dholbachor in debian/*.install14:35
dholbachI would suggest to have a look at where other app store their plugins14:35
dholbachso it's nice and consistent14:35
swordfish90dholbach, I actually took everything from the terminal app where everything is working fine. Thank you dholbach ...14:37
dholbachswordfish90, so files get installed into usr/lib/*/TimeZone right now14:37
dholbachswordfish90, but the packaging assumes that they're in usr/lib/*/qt5/14:37
dholbachyou only need to decide which of the two paths you actually want14:38
dholbach:)14:38
swordfish90dholbach, Yesterday I tried that but maybe I got the folder name wrong... I'll just check right now if it's that fast... :D14:41
dholbachswordfish90, it's src/plugins/CMakeLists.txt: and debian/qtdeclarative5-ubuntuweather-timezone-plugin1.0.install AFAICS14:42
Saviqrpadovani, sure!14:44
=== karni-lunch is now known as karni
swordfish90dholbach, And that's a step forward. It builds, It's still not working when installed on the desktop though, investigating that.14:51
dholbachswordfish90, ok cool - let me know if you need more help14:53
swordfish90dholbach, ok, thanks..14:53
xavigarciamhall119: OK, I see the problem, I will add my changes in a plain text file then.15:07
xavigarciamhall119: thanks again15:07
mhall119xavigarcia: no problem15:08
karniHey folks. Anyone had an issue with URLs/links that are properly linkified, but do not pop open a browser?15:14
swordfish90dholbach, Ok another step forward. We are still missing the qml files on the desktop. Basically the application looks inside "/usr/share/weather/" instead of "/usr/share/ubuntu-weather-app/". Do you know how qt and cmake manage this?15:31
dholbachit should all be in CMakeLists.txt somewhere15:33
dholbachif there's a place where you define the dir or app name, and there's just "weather" and not "ubuntu-weather-app", try adjusting that15:33
viejotrenHello, how may I enter to Year End Hack Days activities?15:36
dholbachpopey: ^ :)15:38
popeyhey viejotren !15:38
popeyviejotren: sure can. Any app in particular take your interest?15:38
* popey gets coffee15:39
balloonshowdy viejotren!15:40
* balloons subtly encourages viejotren to consider helping by writing some tests :-)15:40
popeyhehe15:43
viejotrenthanks popey and balloons, I would to help in any task related, I don't know if there are some scheduled tasks for these Hack days or if there are any availables, so please guide me and let me know how may I enter15:43
popeyviejotren: also, what's your main area of skill... python, c++ and qml are all useful talents.15:43
viejotrenpopey: c++ and python, with qml I'm beginner15:43
popeyso I think balloons might be very interested in your python skills15:44
popeyballoons: can you help viejotren get bootstrapped with tests maybe while dholbach and I do the hangout?15:44
balloonspopey, ohh, why sure, thanks for doing the q and a15:45
popeynp15:45
popey\o/15:45
popeyI love it when a plan comes together15:45
balloonsviejotren, so we make an effort to test all of the core apps. There's lower level tests which are written in qml. But in addition to those, we have a set of acceptance tests which are written in python using a tool called autopilot. These tests are intended to mimic the end user and make sure the apps work as expected15:46
=== rmescandon|lunch is now known as rmescandon
viejotrenballoons: ok, so would you like if I run the tests of the core apps?15:48
balloonsviejotren, if writing some automated tests sounds interesting to you, you could use your python skills. the python is pretty simple, and I can teach you about how to use the tool15:50
balloonsI'll leave you some links for reading later for reference. For now, let's dive in on a test shall we?15:51
viejotrenballoons, sounds great, I'll wait for the links, thnks15:52
balloonsHere's the API links for autopilot and the sdk helpers as they are called: http://developer.ubuntu.com/apps/platform/apis/. The autopilot docs have a tutorial in them15:52
balloonsand here's our philosophy on writing tests: http://developer.ubuntu.com/apps/platform/guides/acceptance-testing-using-the-page-object-model/15:53
balloonsviejotren, so let's get you started by showing you how to run some existing tests. You'll need to install autopilot15:54
balloonswhat version of ubuntu do you have?15:55
viejotrenI have 14.10 installed, is that ok?15:55
balloonsviejotren, yep that should work great. So install python3-autopilot python3-autopilot-vis ubuntu-ui-toolkit-autopilot15:57
viejotrenballoons, cool, give me a minutes15:58
viejotrenballoons, got them16:01
viejotrenI got the urls as well16:02
balloonsexcellent. So let's pull a core app branch and show you how to run the tests, then take a peek at them16:02
viejotrenballoons: cool16:03
* balloons thinks of which app16:03
akiva-thinkpadoh the hack already started >_<16:04
balloonsviejotren, why don't you branch lp:ubuntu-calculator-app16:04
akiva-thinkpadsomeone tell me where we are16:04
balloonshey akiva-thinkpad!16:04
akiva-thinkpadballoons, o/16:04
balloonsviejotren, so bzr branch lp:ubuntu-calculator-app16:04
balloonsonce you get it you'll have the code for the calculator app. It's a pure qml app and so you can run without compiling anything via qmlscene. Anyways, inside you'll find the tests folder, and inside that an autopilot folder16:05
balloonscd to the folder..16:05
balloonssomething like ubuntu-calculator-app/tests/autopilot16:05
balloonsakiva-thinkpad, thinking of trying to finish off some old mp's, work on something new or ?16:06
balloonsviejotren, from there we can list the tests and run an individual test or the entire test suite.16:06
akiva-thinkpadJust whatever is being worked on at the moment.16:07
viejotrenballoons: ok, just give me a minutes to branch it, honestly I don't have all clear how to do it but I'll catch it, wait some minutes plz16:08
balloonsakiva-thinkpad, today is file manager and calendar day, but folks are working on many things :-)16:08
balloonsviejotren, sure thing, ask questions as we go, I'm here to help :)16:08
balloonshowdy topwobble16:08
akiva-thinkpadAh in that case i should probably fix my mp in the calendar :~   Those tests are so unintuitive to run.16:09
topwobbleheyo balloons16:09
akiva-thinkpadmmmm16:10
balloonsakiva-thinkpad, let me know if I can help16:13
akiva-thinkpadballoons, I will; I am going to see if I can build a gui for autopilot3, although I am wondering if I want to use qml or qt. If I use QML; I want it to be usable with the HUD; do you know how to make sure actions appear in Unity7's hud with qml?16:20
balloonsakiva-thinkpad, what do you mean a gui?16:21
balloonson the unity7 + hud + qml, tedg is the person to ask16:21
akiva-thinkpadQUESTION: Basically I want to have a list populated by autopilot3 list16:21
viejotrenballoons: I'm ready, I got ubuntu-calculator-app, right now I'm on tests/autopilot directory, next?16:21
akiva-thinkpadand then use that data to make them "click to run"16:22
balloonsviejotren, so "autopilot3 list ubuntu_calculator_app" will list the tests for the calculator app16:23
akiva-thinkpadMystery companies!16:23
akiva-thinkpadwow interesting!16:23
akiva-thinkpaderrm wc16:23
balloonsakiva-thinkpad, the autopilot guys would love to hear your thoughts and could certainly give you feedback16:23
viejotren33 total tests16:24
viejotrenballoons: got 33 total tests16:24
balloonsviejotren, awesome. Ok, so let's run one so you can see16:25
akiva-thinkpadballoons, well I wanted to make it a plugin, but I can't figure out how to get plugins to build a QWidget. QApplication requires a main.cpp and I am a bit clueless how to find it.16:25
balloonsviejotren, autopilot3 run -v ubuntu_calculator_app.tests.test_simple_page.TestSimplePage.test_two_negative_numbers_multiplication16:25
balloonsthat will run that specific test. When you start it, it will launch the app, move your mouse and interact with the application16:25
balloonsyou could also choose to run all the tests by passing just the module name (ubuntu_calculator_app), like so autopilot3 run -v ubuntu_calculator_app.16:26
balloonsYou probably won't want to do that on your desktop session directly, else you have to wait for it to run before you get control of your mouse again :-)16:27
viejotrenballoons: cool, it works, it's like a demo of the calc app, in fact it is an example of a multiplication16:27
balloonsviejotren, yep exactly. So let's take a look at the python behind it all ok?16:28
balloonslet's look at the test we just ran to start16:29
balloonsopen ubuntu_calculator_app/tests/test_page_simple.py16:29
viejotrenballoons: I'll run another ones16:29
viejotrenballoons: ok, I'll open it16:30
balloonsviejotren, if you want to run them without loosing control of your mouse, autopilot ships with a useful script called autopilot3-sandbox-run. It will run the app and tests inside an Xfvb environment16:30
balloonsif you pass -X to that script it will also display them to you in a window16:30
balloonsso autopilot3-sandbox-run -X ubuntu_calculator_app.tests.test_simple_page.TestSimplePage.test_two_negative_numbers_multiplication16:31
viejotrenballoons: I opened test_page_simple.py16:32
balloonsok, so inside the python script you can see the testcase defined as a method16:32
balloonsdef test_two_negative_numbers_multiplication(self):16:33
balloonseach method starting with test_ will run individually as a test16:33
balloonsbefore each test run, the setUp method will be called16:34
balloonsand after each run the tearDown method will be called. In most cases, the tearDown method isn't explicitly defined as we don't need to modify the default16:34
popeyahayzen: jouni has some questions for you16:34
ahayzenpopey, i'm all ears :)16:35
* popey casts a spell16:35
balloonsviejotren, the class you can see inherits CalculatorAppTestCase, which is a custom class we created. We'll look at it in a second16:35
ahayzenhehe16:35
balloonsviejotren, you can also see we are using some helper methods that are coming from from ubuntu_calculator_app.tests import CalculatorAppTestCase16:36
viejotrenballoons: got it, I found the methods and I'm reading the entire class16:36
balloonsthis keeps the actual testcase simple and easy to read. Awesome ;-)16:36
balloonsyou will want to check out both __init__.py files. One contains the helper methods, and the other performs the setup and application launch16:37
viejotrenballoons: ok16:37
balloonsThe class CalculatorBaseTestCase describes the setup and launch of the application. This is pretty standard across all the core apps16:39
balloonsyou can more or less assume it works and does what you need for now. It handles launching on the phone and desktop16:39
viejotrenballoons: got  that class (CalcTestCase)16:39
viejotrenballoons: cool16:40
balloonsso right, the testcase files inherit from CalculatorAppTestCase, which inherits from the setup we just talked about.16:40
balloonscool, so let's talk a little about the actual helpers in the other __init__.py file16:41
balloonsAutopilot itself works via introspection. It reads an applications dbus16:41
balloonsthat's why the setup and launch is needed to ensure we hook into this while running16:42
balloonsto show you what I mean, let's use the autopilot3 vis tool to let you see how autopilot launches the app, and what it can see16:42
viejotrenballoons: cool16:43
balloonsinside the root of the branch you'll find ubuntu-calculator-app.qml. This is of course the main qml file for the app16:43
balloonsyou can run it via qmlscene, ala qmlscene ../../ubuntu-calculator-app.qml16:43
balloonsthis should start the application16:44
viejotrenballoons: yes, now that app is running16:45
balloonsExcellent. Go ahead and close it again. Now, let's have autopilot launch the application so we can visually examine it.16:45
balloonsrun this to launch the application again, but with the autopilot hook16:46
balloonsautopilot launch -i Qt qmlscene ../../ubuntu-calculator-app.qml16:46
balloonsyou should see something like Testability driver loaded. Wire protocol version is "1.4".16:46
balloonsfinally, use the vis tool with autopilot to connect to the application and visual the dbus tree (just like autopilot). Do this by running autopilot3 vis16:46
viejotrenyes, Testability driver is loaded correctly16:48
viejotrenballoons: just a question: how to connect vis tool with autopilot and visual dbus tree?16:49
balloonsviejotren, after the application is launched with the testability hook, you can simply launch autopilot3 vis and connect to it16:49
balloonsafter you launch autopilot3 vis you should see a dropdown box in the upper left16:49
balloonsselect comubuntucalcultor as the connection and you will see the tree16:50
viejotrenballoons: ok, give me a minutes16:50
balloonsviejotren, sure. Hopefully that all makes sense ;-)16:51
viejotrenballoons, got it I can see the tree now16:56
balloonsviejotren, excellent. So if you look under mainview, orientationhelper, appheader, etc you can get down into the details of the app16:59
balloonsfor instance you can see the simplepage object, etc16:59
balloonscalckeyboard object, the screen and button objects17:00
balloonsso at this point, you can learn a little about qml at least. The stuff in the tree is an object and on the right vis is showing the properties of the object selected17:00
viejotrenballoons, I have access to the entire tree17:00
viejotrenballoons, cool, so Autopilot Vis is like a code inspector, I'm checking it17:01
balloonsviejotren, indeed. So excellent. Now when we write tests we can select objects you see in the tree17:03
balloonsSo for instance if we want to grab the SimplePage object we would issue a query like this. select_single('SimplePage').17:04
balloonsviejotren, now we may want / need to be specific in the objects we grab. For instance, each button is the same objecttype in qml. They are all KeyboardButton. So to say get the '1' button, we need to select_single('KeyboardButton', objectName=oneButton)17:05
balloonsyou will notice select_single allows us to filter based on any property, so we could also get a button that is a certain color, or has a certain state17:06
balloonsselect_single also has a counterpart called select_many that does as expected; allows us to select more than one objecttype if we wish17:07
balloonsthis info is found here: http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/api/autopilot.introspection.html#autopilot.introspection.ProxyBase.select_single17:07
viejotrenballoons: got it17:08
balloonsviejotren, does that all make sense?17:08
viejotrenballoons: almost, I would like to review the last part, but in general make sense17:09
balloonsviejotren, excellent. So in general, we select the objects we want, then interact with them, and finally make assertions about those interactions to assure what we expected to happen actually did happen17:09
balloonslike our multiplication test. We press the buttons to enter the calculation, then ensure the result is what we expect17:10
viejotrenso the idea is to test object by object and document the results17:10
viejotrenright?17:10
balloonsviejotren, right. Our test cases generally align with user stories and features. But we organize things into what we call the Page-Object model (it's the same as what selenium does). So the calculator has this one page, SimplePage, and it's filled with objects. test_simple_page.py attempts to test all the user stories on that page17:13
balloonsAnyways, I think you have enough info now to get your hands dirty and try writing / modifying a test. What do you think?17:14
=== matiasb1 is now known as matiasb
viejotrenballoons: absolutely, I would like to do it17:14
balloonsrpadovani, you about?17:14
viejotrenballoons: just a question: do you have some script/check list or something or may I write my own test as I want"17:15
balloonsviejotren, we try and write tests to cover regressions, or add new features17:15
balloonssince I chose calculator, I have something in mind for you :-)17:15
balloonsviejotren, check out https://bugs.launchpad.net/ubuntu-calculator-app/+bug/139291817:15
ubot5Launchpad bug 1392918 in Ubuntu Calculator App "Change sign is not working on result " [Medium,Triaged]17:15
viejotrenballoons: great, I'll check it, here is what I will do: I will read again the last part you explained me (after autopilot vis) then the last to urls and then I'll start, agree?17:17
balloonsviejotren, but yes you are also free to add tests that might be missing to any project. Sometimes you just see a missing test and add it17:17
balloonsviejotren, I wouldn't worry about reading the full API docs or other links I gave you just yet. I would read at least the first part of http://developer.ubuntu.com/api/devel/ubuntu-14.10/python/autopilot/tutorial/tutorial.html, and plan to read the rest later17:18
balloonsbut of course, diving in and asking questions is good :-) I like to learn by doing17:19
viejotrenballoons: great, I have available time, for me it's almost noon so I have the entire rest of the day to learn and work on it, if I have a question I'll let you know guys, ok?17:19
viejotrenballoons: cool, I got the last url to start from it17:20
balloonsviejotren, yes indeed. Don't be afraid to ask questions, I'm excitied to help get you started. Testing is fun :-)17:20
viejotrenballoons: cool, thanks for all your help17:21
balloonsyou are most welcome!17:21
akiva-thinkpadhttps://www.youtube.com/watch?v=BlcTDz9ogug17:26
ogra_:D17:35
rpadovaniballoons, sorry for late ping17:56
rpadovaniDo you still need?17:56
rpadovaniSo, seems we have a new package format - snap. There is a plan to merge it with click or we will have two different packages for phone and cloud?17:58
balloonsrpadovani, i was just wanting to ask about the calc reboot18:12
rpadovaniballoons, it is doing great :D18:13
balloonsrpadovani, well we had viejotren come by with some python skills, so I gave him a quick tutorial in autopilot and pointed him at calculator18:14
rpadovaniballoons, oh, cool! But there is to setup infrastucture for the reboot, there is nothing about autopilot18:14
balloonswell which branch should I check out?18:15
rpadovaniballoons, https://code.launchpad.net/~ubuntu-calculator-dev/ubuntu-calculator-app/reboot18:15
balloonsrpadovani, ack, thank you.18:16
rpadovanithanks to you18:16
balloonsrpadovani, so for instance what will you do with old bugs like this? https://bugs.launchpad.net/ubuntu-calculator-app/+bug/139291818:16
ubot5Launchpad bug 1392918 in Ubuntu Calculator App "Change sign is not working on result " [Medium,Triaged]18:16
balloonsrpadovani, also, have you managed to file needed bugs yet?18:16
rpadovaniballoons, I dunno tbh, we don't have yet change sign in the new calculator18:17
rpadovaniballoons, no, I didn't open any bug yet18:17
balloonsrpadovani, kk18:17
balloonsI'd like to use the calculator to demo I think18:17
balloonsso it would be nice to have some bugs to point out. I'll do the setup for the reboot branch as part of it18:18
taiebotWas wondering if anyone manage to reproduce joey's Chan App start up time improvement?  https://plus.google.com/communities/11135078027092554054918:33
balloonstaiebot, not to my knowledge. did you check it out?>18:35
taiebot**taiebot's hide he is not a developper.18:36
rpadovaniballoons, something like this one? https://bugs.launchpad.net/ubuntu-calculator-app/+bug/140082818:38
ubot5Launchpad bug 1400828 in Ubuntu Calculator App reboot "[autopilot]Test delete function" [Undecided,New]18:38
rpadovanimhh, title doesn't make much sense18:38
sverzegnassihey akiva-thinkpad, +1 for the autopilot3-gui project!18:58
akiva-thinkpadsverzegnassi, thanks :P18:58
akiva-thinkpadsverzegnassi, do you know how to make items in QML be accessible via Unity7's hud?18:59
* akiva-thinkpad will probably just stick with qt18:59
sverzegnassisadly, no19:00
akiva-thinkpad;_;19:00
sverzegnassii just found something about ubuntu global menu on askubuntu that could be related, perhaps19:00
sverzegnassihttp://stackoverflow.com/questions/21925052/qt5-2-qml-support-for-ubuntu-global-menu19:02
sverzegnassiakiva-thinkpad: maybe it could help you ^^19:02
akiva-thinkpadsverzegnassi, +119:02
balloonsrpadovani, that's a good start19:24
balloonsrpadovani, do you otherwise want the current suite replicated? if so, a bug for that :-)19:25
rpadovaniballoons, mhh, not really, only for calculator engine tests, not the UI thinks (like scroll up to save a calc)20:12
rpadovaniI could open a bug for things I want to duplicate :-)20:13
balloonsrpadovani, yep, that would be most excellent20:14
rpadovaniballoons, great, do I report only a bug with a list of tests? Or one for every test?20:15
balloonsrpadovani, ideally you would match up tests that you want with bugs in a one to one manner. However if you want to group them a little, go for it. Try not to make just one bug report for everything as that cannot be easily divided up or accomplished in one merge20:16
rpadovanigotcha thanks!20:16
sverzegnassiballoons: ping20:40
balloonssverzegnassi, pong20:42
sverzegnassiI was looking for this bug: https://bugs.launchpad.net/ubuntu-docviewer-app/+bug/118876420:43
ubot5Launchpad bug 1188764 in Ubuntu Document Viewer App "Autopilot Testcase Needed: Test PDF page next/prev" [Undecided,Confirmed]20:43
sverzegnassiSince I join the docviewer team in October, I'm still not sure if the report is still valid or not.20:43
balloonssverzegnassi, yes I think the docviewer tests need a little love to bring them up to speed20:44
balloonsit's possible the bug is no longer relevant.. I know I can scroll through a pdf, but last I checked there were no buttons to do so20:45
sverzegnassiyep, so should I marked it as "won't fix"?20:45
balloonssverzegnassi, um, actually invalid is probably better20:48
balloonsbut yes, please do20:48
balloonssverzegnassi, while we are at it, we could review to make sure there's bugs for needed tests20:49
sverzegnassiballoons: I was starting to do that right now :D20:49
balloonssverzegnassi, awesome!20:50
* balloons high fives sverzegnassi 20:50
sverzegnassiAt the moment, we're surely missing a test for the "go to page" dialog20:50
sverzegnassiI've also open this report: https://bugs.launchpad.net/ubuntu-docviewer-app/+bug/118876420:51
ubot5Launchpad bug 1188764 in Ubuntu Document Viewer App "Autopilot Testcase Needed: Test PDF page next/prev" [Undecided,Won't fix]20:51
=== dpm is now known as dpm-afk
balloonssverzegnassi, if you do tag new tests, please do add the 'needs-autopilot-test' tag so it's tracked easier20:52
sverzegnassiballoons: Ok, I'll do it! This is just a fix-request, should I use it the 'needs-autopilot-test' anyway?20:54
balloonssverzegnassi, yea, anything autopilot related. It helps make sure it shows up on the master list, which I search for by that tag20:55
sverzegnassiballoons: Great! Thank you for you help!20:57
alcihi here. I have a question about ubuntu-sdk. On 14.10, is apt-get install ubuntu-sdk sufficient to get up and running?21:01
timpalci: yes21:01
alcidoc on developer.ubuntu.com say install a ppa, but this is for 14.04, no mention of 14.10...21:01
timpalci: you don't need the ppa on 14.1021:02
alcithanks timp.21:03
balloonsalci, I can open a bug / fix developer.u.c. Where does it fail to mention 14.10?21:03
balloonsthat way no one else will be confused :-)21:03
alcihere: http://developer.ubuntu.com/start/ubuntu-sdk/installing-the-sdk/21:04
alciOk, now here is my problem: I create a test project from scratch using 'App with simple UI and localization'21:08
alcibut when trying to build (click on hammer in bottom left corner), I get: No targets specified and makefile found. Stop.21:09
ahayzenalci, did you configure the project to include kits?21:10
balloonsalci, I updated that page, hopefully it is now clear. Thanks!21:11
alciyes, I clicked on the three of them. But I might have a problem with that, as using ubuntu-emulator create outside of qtcreator fails...21:11
ahayzenhmm but the desktop one should work?21:12
alciyou're right, the desktop one works.21:12
alcibut, can I make a click package with desktop target and upload that on the store (for devices ?) ?21:13
alciJust tried, I obviously can't (option to create a click package is greyed out when choosing desktop kit)21:15
rpadovanikalikiana, ping about u1db :-)21:20
balloonssounds weird alci. go maintain the kits and see what you have21:21
sverzegnassialci: could you check if "intltool" package is installed in your development kit?21:23
sverzegnassiIf I remember well, I had a similar issue with it21:24
sverzegnassiOpen Tools >> Options... >> Ubuntu21:25
sverzegnassiClick on "Maintain" the kit, and then type "apt-get install intltool"21:25
rpadovaniballoons, I'll add others in next days21:29
rpadovanihttps://bugs.launchpad.net/ubuntu-calculator-app/+bugs?field.tag=needs-autopilot-test21:29
* balloons looks21:29
alcisverzegnassi: ok. intltool was not installed indeed.21:29
balloonswoot, ty rpadovani21:30
sverzegnassialci: Awesome! We have probably found the issue!21:30
rpadovaniballoons, thanks to you if you find someone that implement them, as you know I don't like to play with autopilot :P21:30
sverzegnassiInstall it, then close and re-open ubuntu-sdk, just to be sure the project is correctly opened21:31
balloonsrpadovani, there was someone interested today, so I hope they return :-)21:31
* ahayzen pretends he hasn't been enjoying autopilot lately 21:31
alcisverzegnassi: yes, it now works ! thanks a lot.21:32
sverzegnassialci: You're welcome!21:32
rpadovanisweet!21:34
alcibye. thanks.21:35
rpadovaniSooo, I have a very strange problem with U1DB - when I do a query on index it returns index in a strange order, like 10 100 101 11 111 112 1221:35
rpadovaniSee this screenshot21:35
rpadovanihttp://people.ubuntu.com/~rpadovani/docId.png21:35
rpadovaniresults of the calcs are ID of the documents21:35
sverzegnassirpadovani: are you using SortFilterModel?21:36
rpadovanisverzegnassi, yap21:36
sverzegnassirpadovani: It does not sort U1DB queries at the moment21:36
rpadovanisverzegnassi, ok thanks, do you have a bug about this - or a workaround?21:37
sverzegnassiI know there is a bug report around launchpad, just a moment that I look for it21:38
sverzegnassi(no workaround anyway - unless you fill a ListModel with your queries)21:38
sverzegnassiAn autopilot testcase is needed to test PDF zooming21:39
sverzegnassisorry Ctrl+C sometimes fails :P21:39
sverzegnassihttps://bugs.launchpad.net/u1db-qt/+bug/126652921:39
ubot5Launchpad bug 1266529 in U1DB Qt/ QML "Allow sorting results in a Query" [Medium,Triaged]21:39
sverzegnassirpadovani ^^21:40
rpadovanisverzegnassi, thanks21:40
=== salem_ is now known as _salem

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!