/srv/irclogs.ubuntu.com/2014/02/03/#ubuntu-app-devel.txt

ppdhi. Is there any way to set the icon theme where QML "Icon" gets its icons from? I'd like to use some icons from ubuntu-mobile on the desktop00:12
=== Ursinha-afk is now known as Ursinha
=== matzipan is now known as 45PABBG4R
=== jackson__ is now known as Noskcaj
=== commandoline_ is now known as commandoline
=== ara is now known as Guest80428
JamesTaitGood morning all; happy Monday and happy Carrot Cake Day! :-D09:14
=== alblasch is now known as ablasche
=== seb128_ is now known as seb128
=== davmor2_ is now known as davmor2
=== lan3y is now known as Laney
=== zequence_ is now known as zequence
=== Ursinha-afk is now known as Ursinha
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Guest40244
mivoligohi12:47
mivoligonik90: sorry I wasn't here before to discus that bug, but somehow I couldn't connect to IRC12:48
nik90mivoligo: no worries, a MP is a good place to discuss corrections as well :)12:49
dakerthere was a DDOS attack on freenode a few hours ago12:49
nik90oh yeah12:50
nik90mivoligo: but nice work...you fixed one of my personal annoying bug :)12:50
mivoligonik90: thanks12:52
mivoligonik90: Jenkins Bot bothers me about commit message whereas it clearly says "optional" grrrr...12:54
nik90mivoligo: ah I forgot to mention..the commit message on the MP is not optional12:54
nik90mivoligo: the "Description of Change" is optional :)12:55
nik90mivoligo: I reapproved..it will rerun the tests and merge12:56
mivoligonik90: nevermind, as I said in the alarm to achieve the snapping I need to change a lot more code12:58
mivoligonik90: as a start the maximumValue for dialerHands are now 60, but for snapping to work it have to be 12 or 24 for the hour hand12:58
mivoligonik90: so functions:  circlePositiontoHours and hourstoCirclePosition have to be changed12:59
mivoligonik90: are these only used in the alarm part?13:00
nik90mivoligo: you should be able to change the maximumValue of the dialerHand to 12 or 24 depending on the time format used.13:00
nik90mivoligo: yes those functions are only used in the alarms part.13:00
nik90mivoligo: maybe in onHoursChanged: { maximumRange  = 12; }13:01
mivoligonik90: ok, that's good13:02
mivoligonik90: yes, it will be something like this, today I'm limited with time but hopefully tomorrow I'll show you the code13:03
=== Ursinha_ is now known as Guest51202
nik90mivoligo: take your time.13:04
=== Guest51202 is now known as Ursula
mivoligonik90: one more think, about when you can't set an alarm if it's later than the alarm time13:05
nik90mivoligo: I think you mean "earlier" than the alarm time13:06
mivoligonik90: right13:06
mivoligonik90: maybe instead of showing the error better to set the alarm for next day?13:07
nik90mivoligo: But in the alarms page, the alarm day is also shown. So if the user has chosen "Monday", shouldn't the alarm be created 7 days later next monday?13:08
nik90mivoligo: but I agree with your idea that instead of showing an error, we should automatically move the alarm to tomorrow or the next week monday13:09
mivoligonik90: I guess it'd need opinion from Canonical designers13:09
nik90mivoligo: +113:09
nik90mivoligo: I will try finding out13:09
=== Ursula is now known as Ursinha
mivoligonik90: ok, thanks. Speaking of design, in the preset alarms, can you move the alarm name to the left and alarm time to the right before on/off switch. That way it will be consequent across the app (timer presets, world clock) and aligned nicely :)13:17
nik90mivoligo: yeah I was just thinking of that now. I was just not sure on where to place the switch.. But yes I will do that13:17
aquariusnik90, nice u1db g+ post. :)13:18
nik90aquarius: thnx :)13:18
nik90aquarius: we need to find people to review those u1db-trunk branches...they bring in some nice fixes :)13:19
* nik90 is annoyed that he doesn't know much c++ to help there13:19
aquariusnik90, yeah, that's why I filed the bugs about them. kalikiana_ asked if I could, but I am no C++ person.13:19
nik90aquarius: yeah he asked me as well :/13:20
aquariusbest thing would be to bridge the python u1db implementation's test suite so that it can be run against the qml implementation; it is massively comprehensive13:25
aquariusbut that's a lot of complicated work which requires someone with a lot of time who knows qt/c++ and python well, and I'm not sure there's anyone who knows all that stuff and has the time :(13:25
nik90true13:26
nik90aquarius: btw I saw your chat with kalikiana_ regarding the u1db query. Is it safe for me to use it now for the clock app?13:26
nik90aquarius: I would need it to store and retrieve the timer presets using dynamic U1db document creation.13:27
aquariusnik90, well. I think it's safe *if* those fixes are merged and released and in the phone...13:27
aquariusI do not know what the release schedule on these things is...13:28
aquariusor whether querying works now. :(13:28
nik90aquarius: ah okay..so I just need to ensure that u1db is updated on phone before updating clock13:28
aquariusI would experiment with it first, if I were you13:28
aquariusconfirm that it does what you're expecting it to do13:28
nik90yeah I can do that. I am not doing complicated querying by name..just querying by type "Timer" or "Alarm" etc etc13:29
aquariusI can probably cover what u1db is *supposed* to do, so if you write some code and it doesn't do what you want, I can probably say whether that's because you're doing the right thing and there's a bug or that you're not quite doing the right thing, if that would help13:29
aquariusya13:29
nik90okay. I will let you know when I finish the transition13:30
=== daker_ is now known as daker
aquariusyou can work around the problem of not indexing top-level fields by having your docs be { typedata: { type: "Alarm" }} or something, which is annoying but will at least work without the fixes.13:33
nik90ok13:34
=== sarnold_ is now known as sarnold
=== 17SAAFIXB is now known as snwh
om26er_boiko, hey! can you give me tests branch a review ?13:56
om26er_https://code.launchpad.net/~om26er/dialer-app/add_new_tests/+merge/20273213:56
=== fginther` is now known as fginther
=== 14WAB1TAR is now known as vila
kalikiana_nik90: this branch includes the top-level element issues, if you'd like to test it https://code.launchpad.net/~kalikiana/u1db-qt/queryLog/+merge/20432714:21
nik90kalikiana_: I will test it when I get home. I should also be able to review the example included in that MP :) and let you know if it helps.14:27
kalikiana_that would be awesome14:27
=== boiko_ is now known as boiko
=== JamesTait is now known as Guest30957
=== Ursinha_ is now known as Ursinha
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== balloons is now known as Guest54791
shaileshhi16:57
shaileshi  need a help to devaploe16:58
=== balloons is now known as Guest51231
=== jono is now known as Guest16175
=== Ursinha is now known as Guest4888
=== Guest4888 is now known as Ursula
=== Ursula is now known as Ursinha
=== salem_ is now known as _salem
seb128could somebody told me what is wrong in http://paste.ubuntu.com/6868420/ ?17:56
WebbyITseb128, your column has no height, add anchors.fill: parent18:04
seb128WebbyIT, columns are not supposed to have an height afaik, that code works if you comment the expanded property18:07
seb128WebbyIT, or if you stack another object18:08
seb128WebbyIT, e.g if you use a ListItem.Standard it works fine18:08
WebbyITmhh18:09
=== Guest51231 is now known as balloons
qtrospopey ping18:35
popeyqtros: hey18:40
qtrospopey hello! :) How are you?18:41
popeyfine thanks. am in florida at a sprint, in meetings, so my replies may be delayed18:41
popeywassup?18:41
qtrospopey sorry for afk )18:48
qtrospopey I am working on https://bugs.launchpad.net/ubuntu-rssreader-app/+bug/126786918:49
ubot2`Launchpad bug 1267869 in Ubuntu RSS Feed Reader App "List view takes up too much space, split" [Undecided,New]18:49
qtrospopey and I found bug in sdk related with toolbars18:49
qtrospopey I can provide simple example to reproduce it18:50
qtrospopey I am writing to you because my previous bug reports were skipped, no any activity by sdk team18:50
=== _salem is now known as salem_
qtrospopey but this bug is very old and so critical for RSS Reader18:51
popeyqtros: ok. the sdk team are here with me, I'll see if i can get someone to take a look18:51
qtrosPopey so I should file a bug and provide url to you? :)18:52
popeysure, if you have one18:52
qtrospopey here you are https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/127587719:00
ubot2`Launchpad bug 1275877 in Ubuntu UI Toolkit "Two pages in one Tabs - toolbar issue" [Undecided,New]19:00
qtrospopey have a good time :)19:00
=== jono is now known as Guest82971
=== hyperair is now known as Guest61598
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== boiko_ is now known as boiko
=== salem_ is now known as _salem
ahayzenelopio, ping22:46
elopioahayzen: hey, hello22:46
ahayzenelopio, u said to update the copyright in Empty.qml22:46
ahayzenelopio, should i change it to 2012-2014 .. or just 2014?22:47
ahayzenor 2012,201422:47
ahayzenelopio, in this merge https://code.launchpad.net/~andrew-hayzen/ubuntu-ui-toolkit/fix-swipe-delete-002/+merge/20217122:47
elopioahayzen: the correct way according to the fsf would be 2012, 2013, 2014, if the file was touched on all of those years.22:49
ahayzenelopio, hmm was it changed in 2013 lol?22:49
* ahayzen tries to remember when he last changed it22:49
=== beuno_ is now known as beuno
ahayzenelopio, my previous work was right at the end of 2013 start of 2014 https://code.launchpad.net/~andrew-hayzen/ubuntu-ui-toolkit/fix-swipe-delete-001/ ... wht should i put?22:50
elopioahayzen: bzr blame helps for this. Let me check.22:51
ahayzenelopio, it appears to have changed in 2013 according to lp http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/changes?filter_file_id=base.qml-20120713093335-wm10clvau8hcagow-122:53
elopioahayzen: yes, so please put 2012, 2013, 201422:54
ahayzenelopio, cool :)22:54
elopioit might not be important, but copyright is a mess, and 99% of the lawyers are bad people. Maybe it's better to do it as they recommend :)22:55
ahayzenelopio, hehe done it :)22:55
elopioahayzen: about the failure, is my comment understandable?22:55
ahayzenelopio, i'm hoping i have fixed the issue...but i'm awaiting my trusty VM to update itself22:56
ahayzenelopio, yep ur comment made sense thanks :)22:56
elopioahayzen: cool, let me check to learn a bit more about qml.22:56
ahayzenelopio, i suddenly realised wht u were meaning22:56
ahayzenelopio, i've changed it so tht the waitingforconfirmation flag is changed after the animation is complete22:57
elopioahayzen: it still fails here.23:00
ahayzenelopio, damn :/23:00
elopioahayzen: do you know how to run the tests? It's a little tricky.23:01
ahayzenelopio, i'm nearly there with the VM so if it fails on mine then i'll have a better chance at fixing23:01
ahayzenelopio, do u just do $ autopilot run ubuntuuitoolkit.tests.test_emulators.SwipeToDeleteTestCase ?23:01
elopioahayzen: this is what I do to run them:23:02
elopio$ qmake23:02
elopio$ make23:02
elopio$ source export_modules_dir.sh23:02
elopio$ cd tests/autopilot/23:02
elopio$ autopilot run ubuntuuitoolkit.tests.test_emulators.SwipeToDeleteTestCase.test_delete_item_moving_left23:02
ahayzenelopio, ah u have to build it23:02
elopioahayzen: yes, and if you don't do the source export... you will be using the installed one.23:03
elopioan alternative is to build the deb, and install it, but that's slower for me.23:03
ahayzenelopio, 'Unknown module(s) in QT: organizer'23:03
ahayzenelopio, wht dependencies do it need?23:03
elopioahayzen: ah, right, sorry: $ sudo apt-get build-dep ubuntu-ui-toolkit23:04
* nik90 reads intently...23:06
nik90I have been meaning to also build ui-toolkit for a long time23:06
elopioahayzen: shouldn't this be the opposite?23:06
elopio35+ if (x !== 0) { // waiting if not at 0 pos23:06
elopioif x == 0, commit the drag.23:06
ahayzenelopio, maybe23:07
ahayzenelopio, but if u look where it was before it was after body.x = finalX23:07
elopionik90: the README file is pretty decent, there's some extra details you might find interesting.23:07
elopioahayzen: well, I really don't know what I'm talking about :)23:08
ahayzenelopio, well it fails for me in the VM so at least i can work on it :)23:09
nik90elopio: thnx23:09
elopionik90: about your branch in the clock, we could copy the textfield emulator there while it gets released on the toolkit. Or we could wait, your choice.23:10
nik90elopio: if we wait, how long would that be?23:10
elopionik90: In the ideal case, no more than a week.23:11
elopiobut things can go wrong.23:11
nik90elopio: I think that's fine. The emulator is already in the PPA. So I will continue my test refactor with that and test on my local machine23:11
nik90elopio: we can then merge when it is released23:12
elopionik90: sounds good.23:12
ahayzennik90, o/23:13
nik90ahayzen: hi :)23:14
ahayzennik90, appears u beat me to U1DB support lol :)23:14
nik90ahayzen: lol23:14
nik90ahayzen: although this is only 30% of all the storage needs of clock app23:14
* ahayzen hasn't checked if things have been patched upstream yet23:14
nik90ahayzen: it hasnt23:15
ahayzen:(23:15
nik90ahayzen: but I am testing one of those MP for kalikiana23:15
nik90ahayzen: if it passes, it might go in :)23:15
ahayzennik90, i might attempt to add sorting if no one else does as recent items would work if tht lands23:15
ahayzennik90, ooo u got a link?23:15
nik90ahayzen: https://code.launchpad.net/~kalikiana/u1db-qt/queryLog/+merge/20432723:16
ahayzennik90, so tht would fix the issues i'm having with playlists correct?23:16
nik90ahayzen: yup :D23:17
nik90ahayzen: so pls test it as well23:17
ahayzennik90, awesome :) if sorting was done then tht would be awesome23:18
nik90ahayzen: more testers means more probability that the MP is approved23:18
ahayzennik90, i'll take note and comment if i find any issues23:18
ahayzennik90, cool will do :)23:18
nik90ok23:18
ahayzennik90, how do u test tht one? build it to replace the current then run a test app?23:18
nik90ahayzen: or you could grab the deb file from the jenkins comment and install it on your system23:19
ahayzennik90, thts sounds simpler :)23:19
nik90ahayzen: if you reinstall the package, it will downgrade it to the older version23:19
ahayzennik90, i'll have a crack at tht after dinner23:19
nik90revert*23:19
nik90ahayzen: ok23:19
=== chriadam|away is now known as chriadam

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