/srv/irclogs.ubuntu.com/2015/06/29/#ubuntu-app-devel.txt

=== chihchun_afk is now known as chihchun
dholbachgood morning06:40
davidcalleMorning all o/07:06
mihirpopey: ping08:13
popeyhi mihir08:13
=== greyback is now known as greyback|doc
dpmpopey, when you've got a minute, could you have a look at https://code.launchpad.net/~dpm/ubuntu-filemanager-app/rename-pam-package/+merge/263162 ? With this and calculator fixed, then only terminal and clock PPA builds will remain to be fixed10:04
popeyok10:10
mihirhey popey10:22
mihircould you comment and if this is right could you review  , https://code.launchpad.net/~mihirsoni/ubuntu-calendar-app/1464457/+merge/26318510:22
mihir?10:22
mihirpopey: read the bug comments first , before review.10:22
dpmthanks!10:31
popeymihir: will do10:42
mihirpopey: thanks :)11:02
=== greyback|doc is now known as greyback
karniI have inputMethodHints: Qt.ImhNone on a TextArea, and I still get input suggestions. Anyone experienced that as well?11:56
nik90karni: is that TextArea in a Dialog?11:57
karnino, just a regular one11:57
nik90karni: I have noticed that in uReadIt where the username and password textarea is shown in a dialog and the inputMethodHints are totally ignored11:58
nik90but yes I have seen the issue before11:58
karninoted. however, this is not the situation here, so it seems it's also ignored in other cases :|11:58
karninik90: cheers11:58
Elleokarni: Qt.ImhNone doesn't disable suggestions, that says that you have no hints to provide, whereas to disable suggestions you need to explicitly pass the hint "Qt.ImhNoPredictiveText"12:08
karni:O \o/12:09
karniElleo: thanks! :)12:10
karninik90: ^^^12:10
Elleokarni: no problem :)12:10
alecupopey, @all: hi! I'm trying to find what are the community apps that use the image thumbnailer, to ask their owners to try out silo 10.12:21
alecuWe have a rewrite of the thumbnailer in that silo, and it needs some testing of the apps that use it.12:22
karnialecu: any API changes? Telegram uses thumbnailer12:30
alecukarni: there are no API changes.12:30
alecukarni: well, you are not supposed to pass -1 as width or height any longer12:31
alecukarni: if you don't do that, then it's fine12:31
karniI very much doubt we do that12:31
alecukarni: apps passing -1 to the thumbnailer will get a warning in their app log12:31
karnicool12:32
alecukarni: so, how do you use the thumbnailer in telegram? do you use it for remote images, or local ones?12:32
karnilocal ones, to show thumbs instead of showing full sized pictures, and also to generate thumbs of sent videos12:33
alecukarni: sounds good12:33
popeyalecu: only music app I think?12:52
=== _salem is now known as salem_
alecupopey: great. Who works on music app?13:31
popeyalecu: https://launchpad.net/~vthompson and https://launchpad.net/~ahayzen13:32
kalikianabrrrrr it's so annoying when you do certain things in qml and the result is a white canvas and no errors whatsoever...13:56
* ogra_ recommends edding 13:57
ogra_:P13:57
kalikiana:-D13:57
ogra_just draw something on it ... be creative13:57
kenvandinelol13:58
alecupopey: thanks, I'll ping them so they can check the new thumbnailer silo.14:04
sverzegnassipopey, ping14:21
popeyhey sverzegnassi14:22
sverzegnassipopey, I'm having a second look at bug 1432394, which is about the documents imported twice through content-hub14:23
ubot5bug 1432394 in Ubuntu Document Viewer App "[content-hub] Do not create new copy of a document, if it already exists in $HOME/Documents" [Low,Triaged] https://launchpad.net/bugs/143239414:23
popeysverzegnassi: I tagged it as bitesize hoping we could find someone else to do it ㋛14:23
sverzegnassipopey, yeah, ok. i'm wondering if it's still valid, and if is it worth to go for that solution14:23
popeysverzegnassi: not sure you want to be md5summing a potentially 4GB pdf?14:24
popeyon a phone14:24
sverzegnassicalculating a MD5 for multiple imports (which now we support) could be a long task for workaround a missing string14:24
popeybe faster to check file name and size first14:25
sverzegnassithere's also another similar bug report for music-app (bug 1413821)14:25
ubot5bug 1413821 in Ubuntu File Manager App "Music files are imported into the Music app, rather than simply opened" [Undecided,New] https://launchpad.net/bugs/141382114:25
sverzegnassiyes, but content-hub does not export the path of the original file :/14:25
popeyuhg, upstream bug.14:25
* popey looks at kenvandine 14:25
mcphailwhy would you need to use something as slow as MD5?14:25
popeymcphail: i think that was just a suggestion14:26
popeymcphail: better suggestions are most welcome :)14:26
sverzegnassiyep14:26
mcphailpopey: you you look at the hashing which rsync uses - more risk of collisions but much faster14:26
mcphail(iirc)14:26
mihirhey popey14:27
popeyhey14:27
mihirthat was pretty fast14:27
mihir:P14:27
sverzegnassiwould be nice if content-hub allows to trusted apps to read the source path of the file. everything would be fix by a string comparison14:27
mihirdid you get chance to look at that bug thred ?14:27
sverzegnassi(english, my dear... s/fix/fixed)14:28
kenvandinewe wouldn't want to expose the path to the original file14:28
sverzegnassikenvandine: huh, ok. so should we check for file name and size instead?14:30
popeymihir: will do now.14:30
kenvandinethat's an option14:30
karniI know it's called "stack", but it's a shame you can't remove a page from other than top. if you first put a new one on top, but want to remove one from under it, if you do it first - you see it all happen which may not be pleasant to the eye.14:31
karniif in contrast one could push page, and pop the one below it, you wouldn't have to see it "go away", but you'd see the n-2 once you pop the top one.14:32
dpmpopey, I was disconnected for a bit, so I'm not sure if you already sent me the FM/Nautilus screenshot. No rush, just checking that I didn't miss it14:33
mcphailhmm - apparently the hash function in rsync is based on the Adler-32 checksum which is implemented in zlib... ? worth exploring as something faster?14:34
mihirpopey: here is the link of the bug , https://bugs.launchpad.net/ubuntu-calendar-app/+bug/146445714:34
ubot5Launchpad bug 1464457 in Ubuntu Calendar App "Delete an event from the Edit Event view" [Medium,In progress]14:34
popeymihir: on it14:34
popeydpm: http://imgur.com/6uudmQj14:35
dpmnice, thanks!14:35
sverzegnassikenvandine, understood. iirc the lastModified date-time does not change in the imported file (while created date-time does), so we have also a third parameter that would make the comparison strong enough14:37
kenvandinecool14:37
=== chihchun is now known as chihchun_afk
=== javiercrowsoft1 is now known as javiercrowsoft
=== javiercrowsoft1 is now known as javiercrowsoft
SturmFlutHrmpf, I can no longer create an schroot on my 15.04 development desktop. See http://paste.ubuntu.com/11794281/ . Does it have problems with my ecryptfs homedir?17:35
SturmFlutRegardless what I try, it won't close the session because it can't unmount /home/sturmflut17:35
nikwenSturmFlut: I guess this doesn't help you but yesterday it still worked perfectly for me. Gonna try it again now.18:09
SturmFlutnikwen: zbenjamin pointed me to https://bugs.launchpad.net/ubuntu/+source/click/+bug/1427264, it is actually broken18:09
ubot5Launchpad bug 1427264 in schroot (Ubuntu) "using ecryptfs, creating frameworks fail to bind mount issues" [High,In progress]18:09
nikwenSturmflut: Ah, ok.18:10
ahayzenkenvandine, we had this report against music the other day which is related to content-hub but I've just realised that the files get deleted on a restart anyway so is this expected behaviour? Or would you expect the contentItem.move() to delete the source if a copy was used? bug 146945219:06
ubot5bug 1469452 in Ubuntu Music App "After importing files via ContentHub files won't be deleted" [Undecided,New] https://launchpad.net/bugs/146945219:06
kenvandineahayzen, when the content-hub-service gets killed, it should clean up all those19:08
ahayzenah when does that happen?19:08
kenvandinedevice reboot usually19:08
ahayzenok so shall i close the bug as it is 'expected' behaviour really?19:08
kenvandineno...19:09
kenvandinesomething's wrong19:09
ahayzenremember the contentItem.move() fails on confined apps so it uses a copy instead19:09
kenvandineyeah19:09
dubstar_04davidcalle: This page has two definitions for text:string. Its a bit confusing.19:09
kenvandinedoesn't matter19:09
kenvandinewhen the device gets rebooted, those files should get removedc19:10
dubstar_04davidcalle: https://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Components.TextField/19:10
ahayzenkenvandine, yeah they do after a reboot i confirmed that :-)19:10
kenvandineah19:10
kenvandineok...19:10
kenvandinethen that is the expected behavior19:10
kenvandineahayzen, there is something you can do though19:10
kenvandineafter you move them19:10
kenvandineset the transfer state to finalized19:10
ahayzenooo ok :-)19:11
kenvandinethat'll tell the hub you are done with the cached files19:11
kenvandineand clean them up right then19:11
ahayzensweet thanks, i'll update the bug and make that change, thanks :-)19:11
kenvandineanytime!19:11
dubstar_04davidcalle: if you come across this later or in the IRC logs I've filed a bug . https://bugs.launchpad.net/developer-ubuntu-com/+bug/146985219:16
ubot5Launchpad bug 1469852 in Ubuntu Developer Portal "Textfield has two entries for text:string " [Undecided,New]19:16
davidcalledubstar_04, oooh19:30
davidcalledubstar_04, thanks for the report! I'll see with the sdk team if they have a small issue in their code that could trigger that doc error (doc is auto-imported)19:31
dubstar_04davidcalle: no worries.19:44
dubstar_04Is it right to set the text of a textfield: textfield.text = "Text"19:44
ahayzenkenvandine, the finalize() works perfectly thanks :-)20:34
alecuahayzen: Hi! We have a new silo with the thumbnailer rewrite (silo 10), and we've issued a "call for testing" to the phone mailing list.21:28
alecuahayzen: I understand the Music app is using the thumbnailer, right?21:28
alecuahayzen: we plan to land that silo later this week, so it would be great if you guys can try the app with the silo installed, and let me know of any issues.21:31
ahayzenalecu, yeah music-app uses thumbnailer :-) i was literally talking with victor about that silo a few hours ago, thanks for the heads up :-)22:13
alecuahayzen: great! Thanks a lot, and let me know of any issues with it22:39
ahayzenalecu, first issue...no thumbnails ;-)22:39
ahayzenjust doing an apt update; apt install thumbnailer-service22:40
alecuahayzen: did you reboot after installing it?22:40
ahayzenyup twice22:40
ahayzenbut i had thumbnailer-service : Depends: libleveldb1 but it is not installable22:41
ahayzenThe following packages have been kept back:22:41
ahayzen  thumbnailer-service22:41
alecuAh, good point22:41
ahayzenthen i've done the update and install and its doing this http://pastebin.ubuntu.com/11796040/22:42
ahayzenseems to pull down part of snappy :-) .. so i've installed snappy via apt on a click-based system \o/22:42
ahayzenalecu, thumbnails are loading now :-)22:43
alecuahayzen: I've no idea what's with that libsnappy1 dependency :-/22:46
ahayzenmagic \o/22:46
ahayzenalecu, what pulled it down lol ? http://pastebin.ubuntu.com/11796064/22:47
ahayzenso i don't think i've lost any thumbnails :-) and it seems pretty quick once they have been cached22:49
alecuah, it's the snappy compression library: https://launchpad.net/ubuntu/trusty/+package/libsnappy122:49
ahayzenahh22:50
ahayzenalecu, do you know if we'll ever see this supported in the new thumbnailer service at some point? bug 137200022:50
ubot5bug 1372000 in Thumbnailer "Album art from images in the same folder not exposed" [Undecided,In progress] https://launchpad.net/bugs/137200022:50
ahayzeni feel it is important for convergence especially22:50
ahayzenas we will need to tackle much larger and varied music library structures22:51
alecuahayzen: I'm reading the bug, and from what I understand this looks like something that should be provided by mediascanner rather than thumbnailer22:55
alecuahayzen: mediascanner should provide the url to the local image when no album art is on the media file but there is some art on the folder.... and then thumbnailer can work with that url22:56
ahayzenalecu, ah yes maybe i'm getting confused :-) i've just been waiting ages on it lol22:56
alecuahayzen: sorry to hear about that. I'll ping around to try to understand who can fix it.22:57
ahayzenyeah exactly that, which the thumbnailer probably already supports ;-)22:57
ahayzenthanks :-)22:57
alecuahayzen: now, what about the "online art"? who's providing that?22:59
alecuahayzen: is it mediascanner too?22:59
ahayzenalecu, yeah it gives us a path that has the album and/or artist in it IIRC22:59
alecuok, sounds great.23:00
SturmFlutWhen I start an app from within QtCreator to run on the device (arale), it seems to spawn a python3 process that doesn't want to die. After starting a couple of apps on the phone, I had five running python3 processes left which consumed so much CPU that the device heated up considerably.23:01
ahayzeneither image://albumart/artist={artist}&album={album} ... or image://albumart/file:///path/to/audio/file23:01
ahayzenimage://thumbnailer/file:///path/to/audio/file .. not albumart and there is an artistart one or something as well IIRC23:02
alecuSturmFlut: can you look at the cmdline parameters of that python3 process?23:05
alecuSturmFlut: if it's apport it means that something crashed: try looking in /var/crashes23:05
SturmFlutalecu: A moment please, it's very late here in europe and I'm a bit tired23:06
* SturmFlut has been hacking on his phone for 18 hours23:07
alecu:-)23:08
SturmFlutOkay, QtCreator crashed. Maybe it's time to go to sleep.23:08
SturmFlutalecu: "python3 /tmp/qtc_device_applaunch.py /tmp/com.ubuntu.developer.sturmflut.floodit_0.9.19_all.click --hook floodit --force-install"23:11
SturmFlutalecu: Consumes a whole core on the device23:11
ahayzen"floodit"23:12
SturmFlutalecu: That's my app23:12
ahayzenah23:12
SturmFlut"Flood It", it's in the store and on github, https://github.com/Sturmflut/ubuntu-touch-floodit23:13
ahayzeni was thinking it was a command to flood something lol should have read the click path first ;-)23:13
SturmFlutHaha23:13
SturmFlutThe app itself doesn't do much, it only reacts to touch input, so there's no reason to consume 100% CPU23:15
SturmFlutahayzen: Arent't we in about the same timezone, and isn't it about 12 PM where you live23:19
ahayzenits 001923:19
SturmFlutahayzen: Okay, it's 0119 here, so I'm in no position to tell you to go to sleep ;)23:19
ahayzenhehe23:20
SturmFlutI have to get up in four hours. Stupid work ;)23:22
ahayzenyeah same in 6 :-/23:24
ahayzens/work/internship/23:24
=== salem_ is now known as _salem

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