[02:13] davidcalle and others -- I know that Go scopes for Ubuntu Phone should be developed on Ubuntu 15.04, but what about apps? Can/should I write Go apps on 14.04? === chihchun_afk is now known as chihchun [08:52] elimisteve: I think you can, yes. bzoltan_ , can you confirm? ^ [08:54] elimisteve: davidcalle: the only and biggest blocker of any sort of scope development on 14.04 is the unity-scope-tool, what is used to test the scope you develop. That tool needs unity8 bits that are simple not available on 14.04... and sadly never will be :( The solution would be to get rid of that tool and use the emulator or a simulated unity8 session in a nested Mir. [10:00] Good morning all! Happy Thursday, and happy Data Privacy Day! 😃 === chihchun is now known as chihchun_afk === chihchun_afk is now known as chihchun === _salem is now known as salem_ [12:19] hey guys, is it possible to set a click handler on another applications application indicator? [12:20] Better question, does Ubuntu emit click events that other applications can see? [12:21] I want to run `sudo iwlist wlan0 scan` whenever network-manager application indicator is clicked. [12:23] I think this is close enough to my question - http://askubuntu.com/questions/224709/how-to-run-an-action-when-clicking-on-an-appindicator [12:23] elijah: why would you run that? [12:23] davmor2: because network-manager has too long of a delay to detect my hotspot after I turn it on. [12:24] davmor2: There is a patch to fix that but I figured an easier way is to just scan for networks on click [12:24] I don't really want to maintain a patched version of network-manager [12:25] From the answer on that thread it doesn't appear that Ubuntu has click events emitted. Which I don't want to believe :D [12:26] elijah: no, because then what will happen is instead of you getting a useful list that network manager can use you'll hog the scan time so network manager can't use it if it does connect it will then be disconnected by networkmanager when it does it's scan surely, maybe I'm wrong just saying [12:27] davmor2: If I run that command and then click Network Manager the network shows up immediately, don't they use the same source? [12:28] davmor2: But I do see what your are saying about the delay. Probably better to go the patched route. [12:28] elijah: if your goal is to speed up network manager then maybe just turn off wifi and then turn it back on again this forces network manager to scan straight away rather than having to wait [12:29] davmor2: Yeah, I also do that since I have a hard toggle for it. I just want it to work as one would expect. [12:29] davmor2: I will go the patched route [12:31] elijah: technically it is but it isn't designed for this new fangled mobile world where networks can appear and disappear at will :) It is slowly being fixed though [12:32] davmor2: Oh, I didn't know that, do you have more info on that discussion? [12:34] elijah: there is a bug somewhere but I have too many to remember right now so if it isn't one I'm looking at they disappear. It is basically being worked on for the Phone which uses multiple sources that can appear and disappear so that will land for desktop too so should improve things across the board [12:34] davmor2: OOOohhhhh, that makes sense, very nice! [12:34] davmor2: If you happen to come across it please ping me anytime. [12:36] elijah: yeah it'll come up again soon I'm sure :) [12:36] davmor2: I do see that the SCAN_INTERVAL_MIN is 3 seconds. I am guessing the algorithm to detect when is the tricky part. http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/src/nm-device-wifi.c?id=0.9.8.8#n76 [12:38] elijah: yeah so there is work ongoing from canonical and from the network manager team and they are working together to try and make the experience much better over all, so I know there are a couple of upstream bugs and 2-3 in LP too [12:39] davmor2: Very encouraging, well, I will look for them, I can help test that at a minimum. [12:45] I found these but they are quite ancient, https://bugzilla.gnome.org/show_bug.cgi?id=498887 https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/130786 [12:46] Gnome bug 498887 in general "Refresh wireless network list" [Normal,Resolved: fixed] [12:46] Launchpad bug 130786 in NetworkManager "[gutsy] NetworkManager Feature Request - manually trigger ssid scan" [Medium,Fix released] [12:47] This one is more recent though, but no collaboration mentioned here - https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1491612 === chihchun is now known as chihchun_afk [12:47] Launchpad bug 1491612 in network-manager (Ubuntu) "doesn't scan for available wifi networks often enough + no way to manually force a scan" [High,Confirmed] [12:47] I will take this to #ubuntu-dev though [12:48] * #ubuntu-devel === BOHverkill is now known as BOHverkill___ [15:18] t1mp, i don't think bug 1524901 and bug 1518002 are duplicates, One is stating that if you have the header locked in the visible=false state then it animates on startup. The other states that some apps that have a header get an extra gap at startup. Although they may be linked in terms of how they'll be fixed [15:18] bug 1518002 in ubuntu-ui-toolkit (Ubuntu) "duplicate for #1524901 Header is shown at startup and slides out even though it is set to be invisible and locked" [High,In progress] https://launchpad.net/bugs/1518002 [15:18] bug 1518002 in ubuntu-ui-toolkit (Ubuntu) "Header is shown at startup and slides out even though it is set to be invisible and locked" [High,In progress] https://launchpad.net/bugs/1518002 [15:19] ahayzen: hmm, interesting [15:19] ahayzen: I have a fix that fixes weather app, but not dekko and music [15:19] eg compare weather vs music [15:20] weather, you see the header on startup and the header slides out (we expected the header not even to be shown) [15:20] music, when starting up, you get a white gap above the header temporarily causing all the content to bounce around [15:20] ahayzen: which app is meant by calculator? [15:21] is that Tiny Calculator in the store? [15:21] that coreapps one [15:21] *the [15:21] as that doesn't have a header either [15:21] somehow that's not in my image (or I cannot find it), and I cannot find' Calculator' in the store [15:21] it is harder to see that on it now [15:22] are you on ota9 ? [15:22] maybe it had its framework bumped [15:22] oh, could be [15:22] but i can't see the issue that badly on that one anymore weather shows the issue the best [15:22] I just flashed rc-proposed on mako. That gave me image r352 [15:23] hmm i'm on rc-proposed and i have it [15:23] ahayzen: for weather I have a fix that works :) [15:23] but it doesn't work for Dekko and Music, so I guess you are right they are different bugs. [15:23] :-) [15:24] Dekko uses a custom header so that's probably why it doesn't work for you :-p [15:24] t1mp, music and messaging app have the same white gap issue IIRC [15:24] on Clock I am not sure the bug still exists. There is an animation when I start clock, but that seems to be because size of the clock itself is increasing [15:24] * DanChapman hasn't got round to changing it yet [15:24] DanChapman: right, but I'm trying to figure out why it quickly shows white at the top first. [15:25] DanChapman: do you think that's because of a custom header implementation? [15:27] t1mp, 2 secs just reading those bug reports. I haven't noticed the white at the top before [15:28] ahayzen: do you happen to have a test program to reproduce https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1524901 ? [15:28] Launchpad bug 1524901 in ubuntu-ui-toolkit (Ubuntu) "When an application starts there is temporarily a white gap at the top" [High,In progress] [15:28] DanChapman, it is difficult to see on white background'd apps, try starting music once and then you'll spot it [15:29] t1mp, the music app? ;-) i don't have a mini-app, although i could try and make one if you want? messaging/contacts also jump around === sagar is now known as Guest25594 [15:30] ahayzen: it would be very useful to have a mini-app [15:30] t1mp, i'll see what i can do, can you un-duplicate the bug ? [15:30] in music-app I see the whole background flashing white initially [15:30] i get a top gap that is white [15:31] ahayzen: did you un-duplicate it? I didn't yet, but it seems the duplicate is gone... [15:31] oh.. [15:32] magic, i didn't :-) [15:32] ahayzen, is it only on device you see it? or should I be able to reproduce on my desktop? [15:32] or I clicked it by accident when I wasn't watching :s [15:32] maybe launchpad is gaining AI... [15:32] oh dekko crashes on startup now for me [15:32] DanChapman, i've only seen on mako and had it reported being worse on the Bq's ...so yeah i'd say only device [15:33] I added google account, and I deleted that one again. Now when I start Dekko I briefly see "New account detected" and then the app closes [15:33] DanChapman: ^ [15:33] hi DanChapman, since a few days, Dekko crashes on start for me - does this help in determining what could be happening? -> http://pastebin.ubuntu.com/14688739/ [15:33] oh, it's similar to t1mp's issue [15:33] ack, i'll change the background color and see what happens [15:39] dpm, t1mp I haven't had any reports of that so far. sounds like a new bug. It would be handy if you can grab the imap log from ~/.cache/dekko.dekkoproject/logs/IMAP/* straight after the crash [15:43] DanChapman, http://pastebin.ubuntu.com/14688826 [15:43] DanChapman, but that happens to be for the account I removed === nik90 is now known as nik90_ [15:45] dpm thanks. Do you use two factor auth? also where did you remove the account in system settings or in dekko? removing in dekko doesn't remove from online accounts atm, you have to do it from OA and it will get removed from dekko (well it should) [15:47] DanChapman: I removed it in dekko, and it is still listed in online accounts [15:47] DanChapman: if I disable the account for dekko in the system settings, the next time I start Dekko it no longer crashes, but asks me to add an account [15:48] DanChapman: the account that I was testing with does not have 2FA [15:49] oh, wait. It does have :) [15:49] dpm "16:37:50.09210 <<< y1 NO [ALERT] Please log in via your web browser" suggests you use 2fa. [15:50] dpm t1mp see this comment https://bugs.launchpad.net/dekko/+bug/1527331/comments/8 [15:50] Launchpad bug 1527331 in Dekko "Multiple Accounts Generated (Google Apps, Gmail)" [Undecided,Confirmed] [15:54] t1mp yeah you need to delete the account from system settings for it to get fully removed from dekko. If you just disable Dekko;s access to that account it retains the cache & internal configs until that account no longer exists. But if you just delete it in dekko but access is still granted in OA then you will keep seeing the new account detected prompt. Which I presume shortly after that your seeing the crash? [15:55] DanChapman: yes [16:01] Right so the inability to handle 2fa is causing the crash. I'm not sure what the best way is to catch that and say "Hey this isn't going to work with this google account". === BOHverkill_ is now known as BOHverkill [16:09] ahayzen: do you think it is possible to reproduce https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1524901 with a mini-app? [16:09] Launchpad bug 1524901 in ubuntu-ui-toolkit (Ubuntu) "When an application starts there is temporarily a white gap at the top" [High,In progress] [16:12] t1mp, ahayzen I'm not seeing this white gap in Dekko after changing the background color === JanC_ is now known as JanC [16:12] on mako or krillin [16:14] DanChapman: so the bug is fixed when you set a different background color for the app? [16:14] t1mp, i've never seen the bug in dekko so I can't say it fixes it :-) [16:15] DanChapman: ah, so nothing changed. You didn't see the bug before changing the color either. [16:15] nik90_, you around? [16:15] pmcgowan: hey, [16:16] nik90_, hey, sad to hear you don't see updates [16:16] t1mp, nope not seen the bug at all. as far as I can tell nothing has changed. [16:16] pmcgowan: just unlucky with every ota I guess :/ .. never got a system notification that a OTA is available until now. [16:17] nik90_, so you did get one? [16:17] I get them very reliably of course [16:17] pmcgowan: no I haven't got OTA-9 yet [16:17] nik90_, what happens if you use sudo system-image-cli -n [16:18] https://paste.gnome.org/pkni5jmw3 [16:18] nik90_, use sudo [16:18] * nik90_ tries [16:22] pmcgowan: it keeps getting stuck at [systemimage] Jan 28 21:48:44 2016 (21006) [/com/canonical/applications/download/282d714b37764695be081d7b1e9e4646] Running group download reactor ... it could be that my internet speed [16:23] trying this from india [16:23] oh [16:23] yeah could be too slow, or could be the network stack is confused [16:23] nik90_, try toggling wifi maybe [16:24] hmm I have 8.95 Mbps according to speedtest.net [16:25] DanChapman: can you perhaps comment on https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1524901 too that the bug is not reproducible for you? [16:25] Launchpad bug 1524901 in ubuntu-ui-toolkit (Ubuntu) "When an application starts there is temporarily a white gap at the top" [High,In progress] [16:25] pmcgowan: did you reproduce this bug? https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1524901 [16:25] t1mp, sure :-) [16:26] t1mp, yes its easy to see [16:27] t1mp, the panel jumps around as it first displays [16:29] oh rats [16:29] nik90, https://bugs.launchpad.net/canonical-devices-system-image/+bug/1508081 [16:29] Launchpad bug 1508081 in ubuntu-download-manager (Ubuntu) "Fails to receive OTA updates" [High,In progress] [16:29] there are a few related bugs [16:30] nik90, can you get logs from /var/log/ubuntu-download-manager/ [16:30] pmcgowan: sure [16:30] there may be a ton, so just therecent ones maybe [16:31] DanChapman, I removed the account from online accounts, added it again, dekko still crashes on start. What should the workflow be? [16:32] pmcgowan: output of ubuntu-download-manager.ERROR -> http://paste.ubuntu.com/14689129/ [16:32] oh wow [16:33] nik90, can you put that into the bug above [16:33] dpm your issue is you have 2 factor auth enabled. For that you need to create an account via the add "IMAP account" option and get an app specific password and use that instead of online accounts https://support.google.com/mail/answer/185833?hl=en&rd=1 [16:33] Elleo, ^^ [16:34] nik90, does it mean memory or disk [16:34] nik90, you have free disk? [16:34] I added the output to the bug report [16:34] checking disk usage [16:35] pmcgowan: storage 1.3 GB free [16:35] pmcgowan: perhaps we should be purging the downloads sqlite database periodically [16:35] DanChapman, I think I'll pass and won't use the account with Dekko, I wasn't too sure about the security implications last time I read that article. How can I make Dekko ignore that account and not crash, though? [16:35] pmcgowan: although I don't think sqlite loads everything into memory [16:35] nik90, Elleo wight whats the size of /var/cache/ubuntu-download-manager/downloads.db [16:36] nik90: what does 'free' say about memory usage as well, might just be that apps are taking up so much memory there isn't much to spare at all [16:36] Elleo, or the system just gets in a state where memory is sused and the background process can't get any? [16:36] nik90: (assuming things are still in the same state they were when that message happened) [16:36] pmcgowan: yeah [16:36] this explains a lot [16:36] pmcgowan: I don't have ubuntu-download-manager folder in the /var/cache directory [16:36] pmcgowan: well we do get very tight on memory, hence apps getting killed a lot [16:37] how can that be [16:37] hang on, that log is from 2016/01/12 [16:38] dpm well with 2fa the app specific password is the only way you can access your mail with imap. gmail is just returning NO when you present the oauth token. Anyway for now you can just disable dekko's access to that account in online accounts system settings. Then dekko will no longer try to use it. [16:38] pmcgowan: does the update fetcher run as root? if not it'll be logged under the user logs in ~/.cache/ubuntu-download-manager [16:39] do not know [16:39] DanChapman, thanks. Yes, I had already tried disabling the account from OA, but the app crashes nevertheless [16:40] Elleo, pmcgowan: Here is the output of ubuntu-download-manager.INFO in /var/log/ubuntu-download-manager -> http://paste.ubuntu.com/14689175/ [16:40] Elleo: I do have a ubuntu-download-manager folder in ~/.cache [16:40] I0128 20:44:51.668818 4255 network_session.cpp:68] Connection type gsm <-- it thinks its on GSM [16:41] iirc it won't do automatic downloads of updates in GSM mode, unless you've set it to allow that in settings [16:41] I think it'll just queue it up and wait for the network type to change to wifi [16:41] I think we need to rethink the logic of that [16:42] as queueing it up then prevents the user from being able to manually press the download button I think [16:42] nik90: can you try connecting to wifi and see if it suddenly starts going? [16:43] dpm, ahh ok. I need to look into why it's still trying to use it then. At the moment the only way to recover that is to remove the config for that account from ~/.config/dekko.dekkoproject/dekko.dekkoproject.conf [16:43] Elleo: I don't have wifi here in India :P...I use 3G and use wifi tethering for my laptop [16:43] I suppose I could use another phone's wifi tether to do it perhaps [16:43] nik90: maybe try changing the auto-download option in system settings? [16:44] nik90: I'm not sure if that'll have an effect on downloads that are already queued though, so you might need to restart after [16:45] DanChapman, ok, will try that, thanks! [16:45] will try...wil goo offline until phone restarts [16:48] Elleo, pmcgowan: Got the update! [16:48] after changing to always download [16:48] and the rebooting phone [16:52] yeah, think we need to rethink how system-settings/system-image-updater handles that [16:52] need some way to allow it to be manually started after is been stuck in the queue while still on GSM [16:52] DanChapman, is there a way to identify the account in the .conf file? From the 2 accounts I've had enabled for dekko, I can identify one by the e-mail, but the @canonical.com one I want to delete, I cannot see [16:53] Q:q [16:55] I might just delete the config file and start anew, seems I've got a bunch of accounts listed in there [16:55] * DanChapman deletes his reply [16:56] :) [16:56] Elleo, pmcgowan: Should I update the bug report? [16:56] dpm, oh so you have a load of orphaned configs. They should be getting cleaned up if no longer used. Yeah deleting the config probably the quickest way :-) [16:57] nik90_: wouldn't hurt to have that as an extra data point, I'm not sure if everyone's issue there is the same or not [16:58] DanChapman, that seems to work, app no longer crashes, now setting up accounts. Quick q: how does the "new account detected" logic work? Does it look at existing accounts in OA upon first launch? [17:00] ahayzen: I did not manage to reproduce https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1524901 except with music-app [17:00] Launchpad bug 1524901 in ubuntu-ui-toolkit (Ubuntu) "When an application starts there is temporarily a white gap at the top" [High,In progress] [17:00] dpm. excellent. Yeah it checks OA on launch and also each time Dekko comes into the foreground. [17:04] DanChapman, ok, cool. Another question: is the .pot file up to date? I'm seeing untranslated strings such as "create identity", which I can't find on https://translations.launchpad.net/dekko/0.6/+translations [17:05] nik90_, Elleo so what was the net on the issue? [17:05] oh you dont have wifi [17:06] thats a bug we should not require wifi [17:08] dpm it should be. I updated it ~2 weeks ago and been in string freeze since then. [17:08] dpm http://bazaar.launchpad.net/~dpniel/dekko/trunk2/view/head:/po/dekko.dekkoproject.pot#L1267 [17:09] DanChapman, trunk2 - is that the right branch LP uses for importing the translations? [17:09] * dpm checks [17:10] dpm oh while your here. Dekko has alot of italian translation waiting on review for a long time now. Also I have been talking to someone who wants to contribute italian trans but hasn't been able to get a response from the italian translators team since first contacting them in august. What can be done about both? [17:11] perhaps ping rpadovani when he's online? [17:11] or Carla [17:12] dpm yes it's pulling in from lp:dekko which is trunk2 [17:12] ok will do that [17:12] thanks [17:12] popey, pmcgowan: with which app(s) could you reproduce https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1524901 ? I can only reproduce it with music-app [17:12] yeah, I saw that too. Not sure why the string does not appear in the search [17:12] Launchpad bug 1524901 in ubuntu-ui-toolkit (Ubuntu) "When an application starts there is temporarily a white gap at the top" [High,In progress] [17:12] perhaps I did something wrong, will double-check === pat_ is now known as Guest30437 [17:13] DanChapman, false alarm, not sure why I didn't get it the first time, but now "identity" returns results to translate. Sorry for the noise [17:14] dpm, phew! :-D [17:15] all good :) [17:16] pmcgowan: yeah, I think the problem is that we offer this option to only auto-download updates on wifi which is selected by default, but they way it's implemented isn't great; as it creates the download regardless but sets the "allowOverGSM" property to false, so as far as system settings is concerned its being download because the download exists so it just shows an empty progress bar and no manual "download" button, but UDM just keeps it in [17:17] pmcgowan: err, until it gets a wifi connection* [17:17] Elleo, sorry disconected and missed messages [17:18] Elleo, I think I created a bug for this at some point, if I hit the download button it should do it [17:18] pmcgowan: http://pastebin.ubuntu.com/14689399/ <-- those were the only messages I sent [17:19] pmcgowan: yeah, I think that needs sorting in system settings then, to change the allowOverGSM property to false [17:19] Elleo, can you enter a bug for that, I think it may explain some existing things [17:20] pmcgowan: sure, will stick my phone on GSM only and flash to an earlier image so I can verify the exact order of things first [17:20] Elleo, what does autodownlad never set it to ? [17:20] I think that also sets gsm false [17:20] pmcgowan: I would assume it then never creates the download [17:20] which is just wrong [17:20] if I manually hit download on gsm it should do it [17:20] pmcgowan: until the user manually asks for it [17:21] I always have auto never and I hit a lot of those symptoms [17:21] pmcgowan: yeah, not exactly sure what system settings is doing at the moment, will try to have a poke into it more tomorrow and see what it's setting/when [17:21] Elleo, thanks [17:23] kenvandine: were you planning on rewriting the system settings update stuff now that the new UDM features have landed? I seem to remember you mentioning that it was rather complicated at the moment and you wanted to simplify things? [17:23] kenvandine: if so, perhaps I could help out with that a bit whilst trying to get to the bottom of this [18:08] Elleo, it's something i want to do [18:11] Elleo, pmcgowan: the auto download setting is only for system updates, not app updates [18:11] we never auto download app updates [18:11] right [18:11] and for system updates, we don't directly talk to udm [18:11] I would like to detect app updates in the background too [18:11] we tell system-image-dbus [18:12] in fact, we don't even tell it to auto download, s-i-d just does it [18:12] and we get the status [18:12] pmcgowan, that would be nice [18:12] so allowOverGSM is a udm property? [18:15] DanChapman, is there a way to show the filtered inbox for a gmail account in dekko? That is, I can see all messages in the default "All messages" view, but I only want to see those which are delivered to my inbox directly [18:16] i.e. not those which are filtered out to another imap folder [18:19] dpm yes just select Inbox in the folder list view. Or you can access it by selecting the items above the "Accounts" divider in the navigation drawer. The default view when opening dekko is in fact your Inbox [18:22] DanChapman, yes, but neither the default inbox nor navigating to choose "inbox" seems to show me a filtered inbox. On the web browser I see some e-mails tagged as "translations" which I generally don't see in the inbox, but I see them in dekko [18:22] * dpm checks gmail filter settings [18:23] I'm talking about imap folders, rather than gmail's tabs (which I guess they are not IMAP standard and not supported?) [18:26] * dpm is confused between gmail's tags, filters and folders [18:30] Ahh yeah gmail labels. This is a bit confusing, so gmail doesn't have the concept of folders it's just one big folder and they use labels to categorize/filter Inbox/Junk/Important and so on. When accessing that over imap they turn each label into it's own folder so you can end up with multiple copies of the same message depending on what labels are set on the original message. There is a custom extension X-GM-LABELS you can use to get [18:30] labels for a message but it's non-standard thing === rickspencer3_ is now known as rickspencer3 [18:48] DanChapman, ah, then I'm guessing those e-mails are tagged both 'inbox' and 'translations', thus they appear as duplicates in dekko or any generic e-mail client and that's why they appear in my inbox too === marcoceppi is now known as marcoceppi|airpl [18:50] DanChapman, http://webapps.stackexchange.com/questions/59101/automatically-remove-inbox-label-from-messages-with-other-labels [18:50] * dpm updates his filters [18:51] dpm. yes and if you delete the one from Inbox it will still remain in 'translations'. The only place to delete them all at once is by removing it in [Gmail]/All Mail. [18:51] ahh cool i didn't know you could do that [18:58] DanChapman, yeah, just found out that removing the 'inbox' tag or pressing the Archive button are essentially the same thing in the gmail web client [19:00] dpm cool! :-) just found this https://support.google.com/mail/answer/77657?hl=en shows how imap actions apply to gmail [19:01] ah, cool [19:03] DanChapman, in the future, have you thought about adding additional features specific to a type of account? I know it goes beyond being a generic IMAP client, but given the popularity of gmail, having extra actions such as "Archive" if the account is detected to be a Google one, could be quite useful to a lot of users === marcoceppi|airpl is now known as marcoc|airplane [19:09] dpm I have though about it a bit. The difficulty is with gmail to archive you just remove labels so running "Delete" on a message in inbox archives it. So i thought maybe switch the icons for an archive one [19:09] But then I noticed in gmail settings you can change this behaviour to be more imap like and just apply a deleted flag and leave the labels alone. but there is no way to detect what behaviour the user has chosen so there's the chance the icons would be wrong [19:10] DanChapman, oh, so that already works? If I delete a message in dekko's inbox for a gmail account then it just gets the 'inbox' label deleted? [19:11] dpm yep it just removes the inbox label but leaves the message in All Mail (aka Archive) alone [19:12] ah, cool. I wonder how they solve the problem about detection of archive behaviour in the gmail android client [19:20] Hi all [19:21] Can anyone tell where I can ask few questions about scops? Seems that I've found a bug [19:21] dpm not sure how they do that. But i think going forward we could definitely make some changes for gmail accounts that focus more on the "default" gmail behaviour and be a little less imap specific [19:27] DanChapman, indeed. Another option, now specifically to the "Archive" question, could be to have a setting to let the user decide whether the Delete action should be renamed to Archive (and the icon updated accordingly). I think that would be safe in the sense that it's in the hands of the user to make that explicit choice, and it would also be less scary to archive :) [19:35] dpm hello, if you have a moment - can you please tell me who can I ask about scope development? [19:35] hi mrqtros, perhaps alecu [19:37] dpm thanks David ;) [19:37] alecu ping! [19:37] alecu can you please take a look at this peace of code? http://paste.ofcode.org/eUhmFr94chW4HgwYX8kfFh [19:37] alecu I am almost sure that I am doing it right, but it dosn't work [19:38] np :) [19:52] hi mrqtros! [19:52] looking [19:53] mrqtros: how does it end up looking? [19:53] mrqtros: and what were you expecting to see? [19:56] alecu it is looking like empty UbuntuShape [19:56] alecu I am expecting video preview [19:56] alecu it works well when I am using local URL of video [19:58] mrqtros: ok. And it doesn't look right when using some remote url? [20:02] mrqtros: are you using youtube urls there, or from some other service? [20:03] alecu it doesn't. Yes, I am using youtube urls (and they are valid, tried few of them) [20:03] alecu it worked well before? [20:05] mrqtros: https://developer.ubuntu.com/api/scopes/cpp/sdk-15.04.1/previewwidgets/#video [20:05] mrqtros: I suggest you try setting the "screenshot" attribute there [20:05] alecu what URL should I use for screenshot? [20:06] mrqtros: I don't think unity8 would download the whole video just to get a screenshot, it should only work automatically for local files [20:06] mrqtros: if you are using youtube videos, then you should use some of the youtube screenshot urls [20:07] mrqtros: try something like: http://www.youtubescreenshot.com/ [20:10] so, in your example code, seems you should use a url like: http://img.youtube.com/vi/bFmMT2ZDQ8M/1.jpg [20:11] alecu works! :) [20:11] alecu someone should change documentation [20:11] awesome! [20:13] mrqtros: easier done than said! [20:13] mrqtros: if you want to fix it yourself, please create a MP proposal, with a change of this file: http://bazaar.launchpad.net/~unity-team/unity-scopes-api/trunk/view/head:/src/scopes/PreviewWidget.cpp#L134 [20:14] mrqtros: otherwise, please open a new bug here: https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+filebug [20:38] alecu thanks, I copied both urls, will take a look === salem_ is now known as _salem [21:12] balloons, you around tomorrow? I'd like us to finally figure out what to do with all these failing AP tests. [21:13] popey, yes. Finally on the up and up [21:18] alecu are you still here? :) [21:28] mrqtros: close enough? [21:31] alecu is there any way to store custom data (for example json objects\string) across queries\scope usage? [21:31] alecu something like LocalStorage or U1DB. If so, is there an example? [21:34] mrqtros: scopes can access the same folders as any click app, so using something like u1db sounds feasible [21:34] mrqtros: don't have sample code right now, sorry [21:36] mrqtros: BTW, keep in mind that scopes are supposed to be stateless, since they can be killed between queries (usually due to timeout) [21:37] alecu just for information - are you scope "sdk" (or kit, I hope you understand me) developer? [21:37] But using a db sounds ok [21:37] mrqtros: yes, I work for Canonical on that team [21:38] alecu what if I want to add some "Favourite" content? Provide quicker access to some results? Is it sounds normally for you? [21:41] mrqtros: not sure I understand. Can you give me some concrete example of how that would work? [21:41] mrqtros: would that be the empty search? [21:42] Or a department? [21:42] alecu for example I want to implement scope for some online store. First time I get some results (with query string or without) and mark some of entries as favourite. Next time I will see these goods in "Favourite" section [21:43] As well as "normal" results [21:44] Something similar to shopping cart (just a dummy example for your inderstanding. I do not want to implement shopping cart in scope =) ) [21:47] mrqtros: you can try to use: std::string unity::scopes::ScopeBase::cache_directory [21:47] mrqtros: it returns a directory the scope can write to [21:51] davidcalle seems that will be helpful, thanks! [22:03] mrqtros: and I've found a scope that uses it to store online query data http://bazaar.launchpad.net/~timeout-scope-team/timeout-scope/timeout/view/head:/src/TimeOut-scope.cpp (see line 25 to get the cache) and search for "cache" on http://bazaar.launchpad.net/~timeout-scope-team/timeout-scope/timeout/view/head:/src/TimeOut-client.cpp to see how this one is [22:03] using it [23:06] hey I don't see to have my arm kit for my current project, how do I add it? [23:06] I have it built and updated [23:08] * ahoneybun cries at all these deprecated errors... [23:09] is Ubuntu Components 1.3 official now? [23:21] Thank you davidcalle and bzoltan_ re: scope dev in Ubuntu 14.04; I'm using 15.10 and it's working just fine :-). One issue though -- [23:22] I've now compiled my Go scope on an ARM machine (thanks to Scaleway) but something's not quite right; I get this error: [23:22] error while loading shared libraries: libunity-scopes.so.1.0: cannot open shared object file: No such file or directory [23:23] mhall119, ping [23:23] It seems to be looking in the wrong place for that .so file, which I see on my Ubuntu Phone (Nexus 4) at /usr/lib/arm-linux-gnueabihf/libunity-scopes.so.1.0.2 [23:26] Any idea if I need to create LIBRARY_PATH or LD_LIBRARY_PATH somewhere? I'll keep looking; I think that's the issue