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

=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== marco-traveling is now known as marcoceppi
=== chihchun_afk is now known as chihchun
=== chriadam|away is now known as chriadam
=== 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
jonahbron_It looks like the QML HUD can't be tested on the desktop, is that right?03:32
jonahbron_I add the actions attribute to the MainView, but dragging my cursor only brings up the Toolbar, not the HUD.03:33
jonahbron_And there are no menu items.03:33
=== chihchun is now known as chihchun_afk
jonahbron_Any insight on the status of the HUD?  I've been reading bugs, and found this one: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/115721304:06
ubot2Launchpad bug 1157213 in qtbase-opensource-src (Ubuntu) "Port appmenu support to Qt5 QPA" [High,Fix released]04:06
jonahbron_I have the package version that says it is fixed in, so that must not be the right bug?  Or I'm doing it wrong?04:06
=== chihchun_afk is now known as chihchun
Mirvjonahbron_: I'm not a HUD expert, but that bug is about the menus being integrated in Unity, for example in Qt Creator05:31
Mirvie at the top of the screen05:31
=== 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
=== chriadam is now known as chriadam|away
dholbachgood morning07:19
=== chihchun is now known as chihchun_afk
=== WebbyIT is now known as rpadovani
=== chihchun_afk is now known as chihchun
JamesTaitGood morning all; happy Friday, and happy Common Courtesy Day! :-D09:30
justCarakasGood day to you sir09:31
gcolluranice, I can't connect to anongit.kde.org from my wifi university. Good morning JamesTait09:33
ybondpm: there is an incoming sprint on the calendar app?09:42
dpmybon, yeah, we're planning the core apps hacks next week. We'll be announcing it today09:42
ybongreat! I will try to join09:43
dpmybon, the hack day for calendar will be Wednesday, the 26th (next week)09:43
dpmybon, awesome!09:43
ybondpm: I've those two branch to finish https://code.launchpad.net/~yohanboniface/ubuntu-calendar-app/09:43
dpmybon, I'm really looking forward to the agenda view!09:43
ybonthe datepicker is also cool :)09:44
ybonIt also allows you to change the date of the event09:44
ybonand thus to add an event from anywhere and chose the date09:44
yboninstead of needing to pick the date then add the event09:44
ybonalso, the native DatePicker is much more convenient to use09:45
=== chihchun is now known as chihchun_afk
gcollurawhy ImageWithFallback isn't included in the API?10:17
dpmybon, cool! Where do you stand with those branches? Are they ready for review, do you need any help?10:18
dpmhi gcollura, could you provide some more context on what you are trying to do, so that someone can have a go at helping you?10:19
ybondpm: the DatePicker is blocker because I'm not able at the moment to autopilot test the native DatePicker10:20
ybonmaybe it's now possible though, cc zsombi10:20
ybonthe other one need just more love from me to autopilot test it too10:20
gcolluradpm: when a source image isn't available, for example Qt.resolvedUrl doesn't resolve the url, I might want to display a fallback image in its place10:21
dpmybon, could you send a merge proposal with the current status, so that we can look at it in more detail? You can mark it as "In progress" to indicate that it's not yet ready, but it would help us to see which area needs work to get AP in shape10:22
dpmt1mp, perhaps you can help gcollura? ^10:22
gcolluradpm: at the moment I'm checking with an inline statement if the imagesource is available and then set the proper source10:23
ybondpm: ok, I will do this today10:23
dpmcool, thanks ybon!10:24
ybon:)10:24
gcollurait works though10:24
dpmybon, we might need to be a bit quick if we want to get these two branches before release, which is in  4 weeks10:25
dpmbut next week with the core apps hack days we're hoping to give development a boost10:25
dpmand do a bit of a sprint to get all apps in shape10:25
t1mpgcollura: no, ImageWithFallback is not included in the API10:25
t1mpI'm not sure why not10:27
t1mpgcollura: you can add a bug to https://bugs.launchpad.net/ubuntu-ui-toolkit to request it (preferably with a use case)10:27
t1mpgcollura: in the meantime you can copy its source http://pastebin.ubuntu.com/7129895/10:27
gcollurat1mp: thanks :)10:28
=== netcurli_ is now known as netcurli
ybondpm: ok, I will dedicate time on next week (the two weeks after I will certainly be in a rush)10:32
dpmybon, great, thanks a lot!10:32
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
zsombiybon: are you using the DatePicker or the PickerPanel?11:28
ybonzsombi: PickerPanel.openDatePicker11:29
zsombiybon: ok. anyway, we don't have emulators yet neither for DatePicker nor for PickerPanel.11:30
ybonhehe, ok ;)11:30
zsombiybon: so we need emus for both... and anyway we need emus for them :)11:31
ybon;)11:32
ybonthanks for the update :)11:32
dpmybon, here's the announcement now: http://popey.com/blog/2014/03/21/march-2014-core-apps-hack-days/ :)11:37
ybongreat, I'll be there :)11:38
popeyGreat!11:49
m-b-opopey dpm: how are guys doing today?11:54
dpmhey m-b-o!, doing good, and you? Sorry I've not yet been able to look at your MPs...11:54
m-b-oI'm fine, added another mp ;)11:55
dpmpopey, I've created events on the G+ and FB pages too. Do you want to send a brief e-mail to the core apps mailing list to give a heads up to all core devs?11:55
dpmm-b-o, ha! :)11:55
popeydpm: ya, will do in a moment, just doing the testing on desktop blog post11:56
dpmcool!11:56
popeywill send one mail covering both to both lists11:56
dpmsounds like a plan11:56
m-b-odpm: one icon is under consideration, besides that there's is some cleanup about the icons in the newest mp11:57
dpmm-b-o, ack11:57
=== chihchun is now known as chihchun_afk
gcollurais there a way to know which component in a page takes the most time to load?12:14
=== _salem is now known as salem_
=== chihchun_afk is now known as chihchun
SimonK1.click installing on Desktop: is there a doc anywhere how to test my SDK-Qml-Click-App on my Desktop?12:41
NobodyInPersonHey there!12:55
popeyhello12:58
NobodyInPersonAre you familiar with packaging .deb files?12:59
NobodyInPersonBecause I have a question regarding to this...12:59
popeya little bit, others here are more expert than I, but ask away12:59
NobodyInPersonHow can I include multiple languages for the descriptions in my debian/control file13:00
NobodyInPersonI don't really have to create packages for each language just to have the descriptions adjusted, do I?13:00
NobodyInPersonGoogling didn't help that much13:01
ogra_NobodyInPerson, iirc translations of description are handled by apt usually13:04
ogra_see man apt.conf13:04
ogra_(look for "Languages")13:05
NobodyInPersonokay gonna check that13:05
SimonK1does anyone know how to use "upstart-app-launch"? Or how to start .click apps in general?13:06
kenvandineSimonK1, upstart-app-launch takes the APP_ID of the click app as an arg13:08
SimonK1is APP_ID the name of .desktop-file without ".desktop" or is it "com.ubuntu.developer.octav14n.keepuntu"?13:08
kenvandineneither13:08
SimonK1how do i start my app then?13:09
kenvandinecom.ubuntu.gallery_gallery_2.9.1.92613:09
kenvandinefor example13:09
kenvandinelook at the installed .desktop file in ~/.local/share/applications13:09
NobodyInPerson@ogra_: So does that mean, when I upload my package I start with some language and have to translate the description later?13:09
kenvandineX-Ubuntu-Application-ID=13:10
kenvandineSimonK1, that is set in the desktop file13:10
ogra_NobodyInPerson, right, the translation is handled server side13:10
kenvandineSimonK1, it's the pkg_app_version13:10
kenvandineis how it's constructed13:10
SimonK1wow, kenvandine, you are my hero^^13:10
kenvandinein my gallery example pkg is com.ubuntu.gallery13:10
kenvandineapp is gallery13:10
NobodyInPerson@ogra_: Okay so for testing purposes the only option for me is using one language13:10
kenvandineand version is 2.9.1.92613:10
NobodyInPerson*without uploading ist13:11
SimonK1kenvandine, I searched for this like 2 days :)13:11
ogra_you should use LANG=C by default13:11
kenvandineSimonK1, i'm not sure where that is documented :)13:11
kenvandineSimonK1, maybe in the click docs somewhere...13:11
ogra_(in packages that is)13:11
NobodyInPersonthanks ogra_!13:12
SimonK1hm, there is still no ContentProvider for Pictures on my System. Seems like I have to dig deeper13:13
=== justCarakas1 is now known as justCarakas
SimonK1kenvandine, i don't get your +junk/hub-importer example-code working on my desktop. I've installed the ppa but there is no app I can import from (the app-list is empty after clicking "select source")13:36
SimonK1dou you have a tip what i'm doing wrong?13:36
kenvandineSimonK1, do you have an sources installed?13:37
kenvandinelike my hub-exporter example?13:37
SimonK1i've the gallery-app installed (via apt)13:38
kenvandinethat won't work now, you need the click version13:39
kenvandinegallery has switched to click13:39
kenvandinethe default source for pictures is the click package for gallery-app13:40
kenvandineand the apt installed version of gallery-app doesn't run the click hooks to register itself13:40
SimonK1i see13:40
kenvandineSimonK1, grab my +junk/hub-exporter example13:40
kenvandinebuild a click and install that13:40
kenvandineyou can also grab lp:~ken-vandine/gallery-app/content_hub13:40
kenvandineand build a click package for it13:40
kenvandineSimonK1, but one tip... if you build gallery as a click, edit click/manifest.json.in13:41
SimonK1ah, i see something listed :>13:41
kenvandinechange the arch from armhf to the arch of your desktop13:42
kenvandinei386 or amd6413:42
kenvandinethen ./click-build.sh13:42
SimonK1i see. Your hub-exporter is working for me though13:42
kenvandinegreat13:42
SimonK1thanks for the help, everything is working now :)13:43
kenvandineSimonK1, anytime!13:44
kenvandinefile bugs if you find them and feel free to ask questions anytime13:44
gcollurais there any core app that make use of workerscripts?13:44
kenvandineSimonK1, any specific plans for what you are going to use it for?13:44
=== chihchun is now known as chihchun_afk
SimonK1just to play around at first, i wan't to write a keepass2 client.13:45
kenvandineawesome13:45
kenvandinei'd love to see that13:45
kenvandinei'm a lastpass user, but really want something that works on my phone too13:46
netcurligcollura: the music app uses WorkerScript afaik13:51
gcollurathanks netcurli13:52
gcolluraI'll have a look13:52
netcurliif you plan on using WorkerScript be aware of bug #129401913:53
ubot2Launchpad bug 1294019 in qtdeclarative-opensource-src (Ubuntu) "WorkerScript loaded script cannot define functions or variables" [Undecided,New] https://launchpad.net/bugs/129401913:53
=== chihchun_afk is now known as chihchun
gcolluraah ok thanks netcurli13:56
netcurli(I hope this bug gets fixed soon as it blocks the app I am developing)13:57
=== chihchun is now known as chihchun_afk
ybondpm: https://code.launchpad.net/~yohanboniface/ubuntu-calendar-app/DatePicker/+merge/212163 and https://code.launchpad.net/~yohanboniface/ubuntu-calendar-app/AgendaView/+merge/212164 :)14:17
belkinsaHello, can I make a suggestion for the core apps of Ubuntu (Touch) on the desktop?14:32
ahayzent1mp, ping14:33
SimonK1belkinsa, i filled a launchpad bug for this last time i had an idea. If you don't have direct contact to a core-apps-member this is the easiest way.14:33
belkinsaSimonK1, I will try.  Thank you.14:34
t1mpahayzen: hello14:53
t1mpbelkinsa: you make me curious. Which app do you want to suggest?14:53
belkinsaMusic app.  This one might be a strange one but it's in many other music playing programs.  Have a setting where the user can pick where the music is stored and read from.14:56
belkinsaAlso the Twitter, Remind, and YouTube app doesn't want to work on desktop.14:57
belkinsaAnd for the weather app, the Weather Channel API doesn't want to load any data.14:57
belkinsaShould I bug report a few of these?14:58
=== salem_ is now known as _salem
dpmnice work ybon :)15:13
ahayzent1mp, I've got a bit further with moving to use the Panel component, but have noticed when the panel is opened it blocks drag events to the rest of the page. So in this example you cannot scroll the listview by click and dragging when the panel is shown. lp:~andrew-hayzen/+junk/test-panel-clicked15:16
=== _salem is now known as salem_
t1mpahayzen: that shouldn't happen15:19
ahayzent1mp, am i doing something wrong in my example?15:19
t1mpahayzen: no there is some code in Panel to support a deprecated use case15:21
t1mpahayzen: the panel tries to detect clicks on the app contents and then closes it, but it is not handled well now.15:21
t1mpahayzen: can you report a bug for it?15:21
ahayzent1mp, ok... against ubuntu-ui-toolkit?15:22
t1mpahayzen: yes15:22
t1mpahayzen: and in the meantime, add __closeOnContentsClicks: false to your panel :)15:22
t1mpthen it works fine15:22
ahayzent1mp, cool and i'll link the branch... oo thanks :)15:22
t1mpI should fix this soon, before people start to create workarounds for the issue15:23
t1mpahayzen: thanks for testing out the new stuff :) and please let me know if you find more problems15:23
ahayzent1mp, will do hopefully once this is fixed we're there for converting the toolbar :)15:23
=== chihchun_afk is now known as chihchun
ahayzent1mp, https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/129572015:25
ubot2Launchpad bug 1295720 in Ubuntu UI Toolkit "When a panel is open it blocks some mouse events to the rest of the page" [Undecided,New]15:25
t1mpahayzen: are you running qt 5.2?15:29
ahayzent1mp, i find the issue both on the device with Qt5.2 (image 250) and one Saucy desktop15:30
ahayzen*on saucy15:30
t1mpahayzen: does the desktop also have 5.2?15:30
ahayzent1mp, erm is saucy or trusty 5.2?15:30
ogra_trusty15:31
ahayzenogra_, thanks15:31
ahayzent1mp, i'll check it occurs on a trusty VM..15:31
t1mpahayzen: what does  apt-cache policy libqt5core5a say on your saucy desktop?15:31
t1mphmm. I'm not sure the package has the same name on saucy15:32
ahayzent1mp, libqt5core5:15:33
ahayzen  Installed: 5.0.2+dfsg1-7ubuntu11.115:33
ahayzent1mp, ^^ on Saucy15:33
t1mpoh, ok. I thought the bug was new in qt 5.215:34
t1mpahayzen: it should work for you with __closeOnContentsClicks: false ?15:34
t1mpI will think of the proper solution next week.15:34
ahayzent1mp, yep that works15:34
ahayzent1mp, thanks15:35
t1mpit is a leftover from the toolbar of the past ;) which needs to auto-hide some times15:35
=== chihchun is now known as chihchun_afk
=== bfiller is now known as bfiller_afk
mzanettipopey: oh... just found a bug on the screenshot of the reminders app in the Hack days post :D15:59
ahayzent1mp, FYI i remerged this with trunk https://code.launchpad.net/~andrew-hayzen/ubuntu-ui-toolkit/fix-swipe-delete-002/+merge/20217115:59
popeyyay15:59
mzanettipopey: the Edit, Reminder and Delete icons shouldn't be there at that stage15:59
popeyheh16:00
popeyalso, delete doesnt work16:00
mzanettiif the other two do work in this state its even worse :D16:01
mzanettidelete should work once you open a note16:01
popeyyeah, it didnt for me16:02
t1mpahayzen: thank you. I will re-run the tests next week as soon as the qt 5.2 image gets promoted16:02
popeyi was trying to delete the untitled one before I took the screenshot, it didnt work so i gave up16:02
ahayzent1mp, cool thanks :)16:02
PaoloRotoloHi all!17:00
PaoloRotoloHi nik90 :)17:01
PaoloRotoloJust a question, how to slide a ListView  from the bottom :D?17:01
PaoloRotoloI tried with the propriety "x" and with anchors without success...17:02
=== salem_ is now known as _salem
=== chihchun_afk is now known as chihchun
ubuntuseris there a free guide for ubuntu sdk gui developing with python??17:23
=== jhodapp is now known as jhodapp|brb
=== _salem is now known as salem_
=== jhodapp|brb is now known as jhodapp
gcolluramhall119, for asking to merge a branch I've worked on, do I need to push the code in a github repo first and then make a pull request?18:28
=== bfiller_afk is now known as bfiller
DanChapmangcollura: is this for email client?19:00
=== salem_ is now known as _salem
=== _salem is now known as salem_
gcolluraDanChapman, yes19:31
=== salem_ is now known as _salem
nikwenI'd be interested in which repository is actually used for the development of Trojita. The Github or the KDE repo?19:48
nikwenhttp://quickgit.kde.org/?p=trojita.git19:48
=== JamesTait is now known as Guest58327
netcurlinikwen: according to https://wiki.ubuntu.com/Touch/CoreApps/EmailClient the kde repo19:56
nikwennetcurli: Thank you very much. Didn't know it had already been added to that website. :)19:58
oskaranybody know the avg wait time for USC reviews?20:20
mhall119gcollura: push to github (or other online git host) and then use the review board process (the post-review commandline tool is easy enough to use)21:52
mhall119nikwen: the KDE repo is "official" upstream21:52
nikwenmhall119: Thanks. :)21:53
=== jhodapp is now known as jhodapp|afk
netcurlidownloading the first podcast via the new ubuntu-download-manager qml component \o/22:38

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