/srv/irclogs.ubuntu.com/2013/12/18/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
achiangpopey: around? saw your recent mail about qt5.2 and wondering when you think it might land?06:38
achiangor maybe Mirv knows?06:40
Mirvachiang: it's testable via PPA:s, but it'd need a huge amount of work still as many packages don't build against it - https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-beta2/+packages shows build failures, but not all bugs are filed yet at https://bugs.launchpad.net/bugs/+bugs?field.tag=qt5.206:47
Mirvachiang: because of the ABI breakage also all ~95 source packages need to be rebuilt against it before it's ok. I've a daily build of around 50-60 set to that PPA06:47
achiangMirv: ok. but the plan is to definitely land it for 14.04, right?06:48
Mirvachiang: yes, definitely so06:48
achiangMirv: great, thanks06:48
Mirvit just might need all hands on it at some rush point to get everything fixed :) but I'm currently preparing the final tarball builds of all Qt modules first before starting to file more bugs on other packages.06:49
achiangmakes sense07:04
achiangMirv: also, did that other mail from jani make sense? re: qt + GLES on x86?07:04
achiangMirv: for the reason why we want it, that is...07:04
Mirvachiang: yes, I just don't have much to report on that yet. I started trying to do two builds in case of x86, but then the final 5.2 tarballs came and I've now concentrated on them and moved that work to another WIP directory. I guess doing two builds and then diffing the results might give some picture on if everything changes with that configuration options or such some smaller things.07:14
achiangMirv: ok, i don't mean to distract you from your existing work, i was just curious. thanks!07:15
Mirvachiang: if it doesn't "spread" to other modules from qtbase, then it should be manageable. but if eg. all other modules base their compilations on that qtbase opengl setting, it may be too hard to crack.07:15
achiangMirv: mmm.... i see. ok07:16
=== chriadam is now known as chriadam|away
=== hunger_ is now known as hunger
mzanettijkeyes0: hi. you around?09:02
mzanettidpm_: o/09:18
mzanettidpm_: regarding this: https://code.launchpad.net/~mzanetti/reminders-app/find-notes/+merge/19885209:19
JamesTaitGood morning all; happy Bake Cookies Day! :-D09:19
mzanettidpm_: are you having issues with this too?09:19
mzanettiGood morning you too, JamesTait09:19
mzanettioSoMoN_: hi, have time for a question or two on the UbuntuWebView?09:21
oSoMoN_mzanetti, sure09:22
=== oSoMoN_ is now known as oSoMoN
mzanettioSoMoN_: cool. So. I'm using that in the reminders-app to display notes.09:22
mzanettioSoMoN: from what I understand, the webview uses it's width as "100%" of the contentHeight09:23
mzanettioSoMoN: so that a webpage would be rendered in a way suitable for the display09:23
mzanettioSoMoN: however, all my notes are double the screen width which makes them quite bad to use09:24
mzanettiand also everything is really tiny09:24
mzanettiam I doing something wrong?09:24
oSoMoNmzanetti, could you provide me an example note so I can give it a try myself?09:25
mzanettioSoMoN: sure. one sec09:26
mzanettioSoMoN: this is the branch where I use it btw. lp:~mzanetti/reminders-app/use-webview09:26
mzanettioSoMoN: NotePage.qml09:26
mzanettihere's the merge with the diff: https://code.launchpad.net/~mzanetti/reminders-app/use-webview/+merge/19937109:27
oSoMoNmzanetti, I see that you’re putting the WebView inside a Flickable09:28
oSoMoNmzanetti, the WebView itself is already a flickable09:28
mzanettioSoMoN: yeah... without that it just does really weird things09:28
mzanettibut let me try again without it09:28
mzanettioSoMoN: can't paste the content :D it gets recognized as spam on all the pasters I've tried :D09:30
mzanettioSoMoN: I'll send you a mail09:30
oSoMoNmzanetti, ok09:31
mzanettioSoMoN: removed the flickable. doesn't really change anything on the content representation tho09:32
oSoMoNmzanetti, ok, I’ll check out the test note that you sent me09:35
mzanettioSoMoN: http://i.imgur.com/eXdLPvY.png09:35
mzanettioSoMoN: so I would expect width to be smaller and instead the text larger09:36
oSoMoNmzanetti, not sure what you mean by "the width to be smaller"?09:37
oSoMoNit looks like it’s flowing to take all the available width, which sounds right to me09:38
oSoMoNit does the same when opening the sample note in chromium btw09:40
mzanettioSoMoN: yeah... I mean it should tell the content that the width is less, and then scale it up again to use all the available width09:40
mzanettieffectively making the text bigger, but not as much space between the words09:40
oSoMoNmzanetti, so do I understand it correctly that it’s a only a matter of base font size?09:42
oSoMoNor is there more to it?09:42
mzanettioSoMoN: what I mean is http://i.imgur.com/SXhCe8Y.png vs http://i.imgur.com/48t1Oaj.png09:43
mzanettiIn the app's webview, if I zoom in I need to scroll to the right to see everything. in chrome it does what I'd expect it to do09:43
oSoMoNgot it09:43
oSoMoNlet me see how that can be achieved with a WebView09:44
oSoMoNmzanetti, the webview has a zoomFactor "property" but it’s not exposed to QML, only available in C++09:49
oSoMoNmzanetti, I’ll dig further, there must be a way to change the zoom factor09:50
oSoMoNmzanetti, try adding this to your UbuntuWebView: "experimental.preferredMinimumContentsWidth: width"10:11
oSoMoNmzanetti, I can’t guarantee it will do exactly the right thing everywhere, but it seems to work here on my desktop10:12
* mzanetti tries10:12
mzanettioSoMoN: hmm... doesn't seem to have any effect10:14
oSoMoNmzanetti, the problem you’re having, is that only on your laptop, or also on devices?10:15
mzanettioSoMoN: on the device too10:15
mzanettiactually I'm only considering the device right now, knowing that my laptop is somewhat special in this regard10:15
mzanettialthough it should be closer to the device actually10:16
oSoMoNmzanetti, do you control the contents of the notes? i.e. can you modify the html on the fly?10:18
oSoMoNif so, you could use the viewport meta tag10:19
mzanettioSoMoN: yeah.. I converti it from enml to html myself10:19
mzanettioh, interesting, tell me more10:19
oSoMoNnot super familiar with it myself, but it looks like it allows you to implement zooming at the CSS level10:20
oSoMoNsee e.g. http://html5hacks.com/blog/2012/11/28/elegantly-resize-your-page-with-the-at-viewport-css-declaration/10:20
oSoMoNprobably worth a try10:20
Mirvrenato: I'd need help compiling qtpim against Qt 5.2.0, could you help at some point?10:20
mzanettioSoMoN: ok. I'll check that out. thanks!10:20
oSoMoNyw!10:21
oSoMoNI hope this solves your issue somehow10:21
mzanettioSoMoN: http://i.imgur.com/j10QcHK.png10:23
mzanetti \o/ thanks a bunch!10:24
Mirvrenato: I just pushed to  lp:~kubuntu-packagers/kubuntu-packaging/qtpim-opensource-src what doesn't yet build. so if you apt-add-repository ppa:canonical-qt5-edgers/qt5-beta2 , upgrade to that (if it's ok your desktop Qt gets to WIP 5.2.0, if not maybe do it in chroot or virtual machine?) and try bzr bd you should see the problem10:24
oSoMoNyay for CSS10:24
mzanettioSoMoN: I used this one <meta name="viewport" content="width=320" />10:24
Mirvrenato: so the difference with Qt 5.2.0 is that git snapshot modules need "syncqt" to be run, which I've done also for qtpim now. patching it like that fixes the other git snapshot modules, but in the case of qtpim it still complains about headers.10:25
oSoMoNmzanetti, this will have to be tested on various devices to confirm it scales correctly everywhere10:25
mzanettioSoMoN: sure. I need to calculate the width according to the grid units. but I'm confident I can get there with this10:26
Mirvrenato: and it looks something like private own headers shouldn't be referred to with "<private/foo_p.h>" but just "<foo_p.h>". I'm hacking around, though.10:32
imapadoshey guys! i searched for the Ubuntu Packacking Guide, but it does not exist in https://wiki.ubuntu.com/PackagingGuide/Basic has someone a idea, where i get some specific Ubuntu Software Center Information? And yes i know http://developer.ubuntu.com/publish/10:35
dpm_imapados, http://packaging.ubuntu.com/11:02
imapadosdpm_, thx. :)11:51
=== dpm_ is now known as dpm
=== dholbach_ is now known as dholbach
mzanettidpm: thanks :)14:16
dpmmzanetti, well, thank you :) Looking at get-username next14:17
mzanettidpm: did you see my work from yesterday night?14:17
mzanettidpm: using a WebView now for the read only mode. have been able to inject some scripting in order to toggle the checkboxes for todos. and also it supports 100 of the enml tags (after converting them to html)14:18
dpmmzanetti, I've tried to test the latest branch, but I think it wasn't actually the latest. In the meantime I've seen your branches for WebView and switch to c-make :)14:18
mzanettiyeah... cmake is not complete yet. You can build it in qtcreator with it, but things like run_on_device.sh still need updating14:18
dpmmzanetti, ah, that's really cool, nice to see you found a workaround for the checkboxes14:19
mzanettidpm: yeah... actually seems to be a solution, not a workaround ;)14:19
dpmyeah, it sounds like a proper one and not a hack :)14:20
dpmmzanetti, in the get-username branch (I've not yet looked at the code, just built it on the device now), am I supposed to see the account username on the first screen? It still appears as an empty list item14:20
mzanettidpm: no... it just adds the stuff so we can use it in the accounts plugin14:21
dpmah, ok14:21
mzanettidpm: but we still need to merge the accounts plugin repo into this14:21
mzanettidpm: that's slowly crawling upwards my todo list14:21
dpmmzanetti, yeah, let's wait for dbarth to come back to us, though. He mentioned this morning that there is a way to unblock the landing of the accounts plugin package by shipping the key in the app and using another Online Accounts API14:22
dpmand that he might even submit an MP for this14:23
mzanettidpm: still we'd need to copy all the c++ code from lp:reminders-app to lp:accounts-plugin-evernote, or merge the two14:23
* mzanetti would prefer the latter14:23
dpmmzanetti, yeah, I think the latter is what we decided on that e-mail thread14:25
* dpm needs to re-read14:25
mzanettidpm: well, I think I managed to mostly convince you guys that it would be the best approach in my opinion. not sure we "agreed" on it yet14:26
dpm:)14:27
* dpm jumps on the phone and bbl's14:27
mzanettifginther: hello16:07
mzanettifginther: this seems like a job config issue: http://91.189.93.70:8080/job/generic-mediumtests-trusty/501/console16:07
mzanetticoming from this merge: https://code.launchpad.net/~mzanetti/reminders-app/rework-error-handling/+merge/19698716:08
fginthermzanetti, looking16:08
mzanettior well, rather a executor issue16:08
fginthermzanetti, I see it, looks like a bad update16:11
mzanettifginther: ok. I re-triggered the job. or do you think this requires manual intervention on the machine?16:13
fginthermzanetti, yes, the package state needs fixing, working on it now16:13
fginthermzanetti, should be fixed now16:16
mzanettifginther: thanks. yeah, works fine again16:47
mzanettidpm: regarding this: https://code.launchpad.net/~mzanetti/reminders-app/find-notes/+merge/19885216:47
mzanettidpm: do I need to switch to an older API or is it fine to require trusty (or appropriate ppas on saucy) for development?16:48
mzanettiseems plain saucy doesn't ship a recent enough version of ubuntu-ui-toolkit16:48
dakermzanetti: yes!16:49
mzanettidaker: ?16:52
dakersaucy ships an old version of ubuntu-ui-toolkit16:53
mzanettiah ok :) thanks for confirming16:53
mzanettidaker: you don't happen to know if there is a ppa which ships newer versions?16:53
dakermzanetti: if you find one let me know :)16:53
dakernik90: ?16:54
timpmzanetti, daker https://launchpad.net/~ubuntu-sdk-team/+archive/ppa/+packages?batch=75&memo=75&start=7516:55
mzanettitimp: ah, nice! thanks16:56
dakertimp: thanks!16:56
ahayzenballoons, ping17:19
balloonsahayzen, pong17:19
ahayzenballoons, sry to bother u ...more Jenkins issues....http://91.189.93.70:8080/job/generic-mediumtests-trusty/499/console17:19
ahayzenballoons, we are getting 'The following packages have unmet dependencies'17:20
balloonsahayzen, ahh.. need to wait for the archive to settle17:21
balloonsahayzen, what's the merge proposal?17:21
ahayzenballoons, ok cool (this was last night) https://code.launchpad.net/~andrew-hayzen/music-app/fix-1261926-loader-centre/+merge/19937617:21
balloonsahayzen, ahh, so likely I can just rerun and it will work17:22
balloonslet's try17:22
ahayzenballoons, the branch can probably be approved anyway :)17:22
balloonsahh, I'll top approve if it passes since Victor approved17:22
ahayzenballoons, thanks17:23
balloonsahayzen, so no movement on the mp.. wild18:49
ahayzen-mobileballoons, the trusty slave is down/ paused?19:23
=== JamesTait is now known as Guest8956
ahayzenballoons, this one says it is '(pending - mediumtests-trusty-slave is offline )' http://91.189.93.70:8080/job/generic-mediumtests-trusty/19:48
balloonsahayzen, yes I saw that as well. I've pinged the ci folks19:48
ahayzenballoons, cool :) Jenkins has been a bit wild over the past few days lol19:48
balloonsyes indeed it has been actually19:52
balloonsholidays :-)19:52
ahayzen:)19:54
xtoxicwastxhello21:17
achianghas anyone tried porting qtcreator-plugin-ubuntu to qtcreator 3.0 yet?23:04
=== Guest8956 is now known as JamesTait
=== JamesTait is now known as Guest73921
=== Guest73921 is now known as JamesTait
dakercan anyone confirm this bug 1262414 ?23:22
ubot2`Launchpad bug 1262414 in webbrowser-app (Ubuntu) "Loading big images shows content of the previous app" [Undecided,New] https://launchpad.net/bugs/126241423:22

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