elimisteve | 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? | 02:13 |
---|---|---|
=== chihchun_afk is now known as chihchun | ||
davidcalle | elimisteve: I think you can, yes. bzoltan_ , can you confirm? ^ | 08:52 |
bzoltan_ | 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. | 08:54 |
JamesTait | Good morning all! Happy Thursday, and happy Data Privacy Day! 😃 | 10:00 |
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
=== _salem is now known as salem_ | ||
elijah | hey guys, is it possible to set a click handler on another applications application indicator? | 12:19 |
elijah | Better question, does Ubuntu emit click events that other applications can see? | 12:20 |
elijah | I want to run `sudo iwlist wlan0 scan` whenever network-manager application indicator is clicked. | 12:21 |
elijah | 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 |
davmor2 | elijah: why would you run that? | 12:23 |
elijah | davmor2: because network-manager has too long of a delay to detect my hotspot after I turn it on. | 12:23 |
elijah | davmor2: There is a patch to fix that but I figured an easier way is to just scan for networks on click | 12:24 |
elijah | I don't really want to maintain a patched version of network-manager | 12:24 |
elijah | 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:25 |
davmor2 | 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:26 |
elijah | davmor2: If I run that command and then click Network Manager the network shows up immediately, don't they use the same source? | 12:27 |
elijah | davmor2: But I do see what your are saying about the delay. Probably better to go the patched route. | 12:28 |
davmor2 | 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:28 |
elijah | 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 |
elijah | davmor2: I will go the patched route | 12:29 |
davmor2 | 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:31 |
elijah | davmor2: Oh, I didn't know that, do you have more info on that discussion? | 12:32 |
davmor2 | 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 |
elijah | davmor2: OOOohhhhh, that makes sense, very nice! | 12:34 |
elijah | davmor2: If you happen to come across it please ping me anytime. | 12:34 |
davmor2 | elijah: yeah it'll come up again soon I'm sure :) | 12:36 |
elijah | 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:36 |
davmor2 | 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:38 |
elijah | davmor2: Very encouraging, well, I will look for them, I can help test that at a minimum. | 12:39 |
elijah | 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:45 |
ubot5 | Gnome bug 498887 in general "Refresh wireless network list" [Normal,Resolved: fixed] | 12:46 |
ubot5 | Launchpad bug 130786 in NetworkManager "[gutsy] NetworkManager Feature Request - manually trigger ssid scan" [Medium,Fix released] | 12:46 |
elijah | This one is more recent though, but no collaboration mentioned here - https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1491612 | 12:47 |
=== chihchun is now known as chihchun_afk | ||
ubot5 | 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 |
elijah | I will take this to #ubuntu-dev though | 12:47 |
elijah | * #ubuntu-devel | 12:48 |
=== BOHverkill is now known as BOHverkill___ | ||
ahayzen | 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 |
ubot5 | 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 |
ubot5 | 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:18 |
t1mp | ahayzen: hmm, interesting | 15:19 |
t1mp | ahayzen: I have a fix that fixes weather app, but not dekko and music | 15:19 |
ahayzen | eg compare weather vs music | 15:19 |
ahayzen | weather, you see the header on startup and the header slides out (we expected the header not even to be shown) | 15:20 |
ahayzen | music, when starting up, you get a white gap above the header temporarily causing all the content to bounce around | 15:20 |
t1mp | ahayzen: which app is meant by calculator? | 15:20 |
t1mp | is that Tiny Calculator in the store? | 15:21 |
ahayzen | that coreapps one | 15:21 |
ahayzen | *the | 15:21 |
ahayzen | as that doesn't have a header either | 15:21 |
t1mp | somehow that's not in my image (or I cannot find it), and I cannot find' Calculator' in the store | 15:21 |
ahayzen | it is harder to see that on it now | 15:21 |
ahayzen | are you on ota9 ? | 15:22 |
ahayzen | maybe it had its framework bumped | 15:22 |
t1mp | oh, could be | 15:22 |
ahayzen | but i can't see the issue that badly on that one anymore weather shows the issue the best | 15:22 |
t1mp | I just flashed rc-proposed on mako. That gave me image r352 | 15:22 |
ahayzen | hmm i'm on rc-proposed and i have it | 15:23 |
t1mp | ahayzen: for weather I have a fix that works :) | 15:23 |
t1mp | but it doesn't work for Dekko and Music, so I guess you are right they are different bugs. | 15:23 |
ahayzen | :-) | 15:23 |
DanChapman | Dekko uses a custom header so that's probably why it doesn't work for you :-p | 15:24 |
ahayzen | t1mp, music and messaging app have the same white gap issue IIRC | 15:24 |
t1mp | 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 | |
t1mp | DanChapman: right, but I'm trying to figure out why it quickly shows white at the top first. | 15:24 |
t1mp | DanChapman: do you think that's because of a custom header implementation? | 15:25 |
DanChapman | t1mp, 2 secs just reading those bug reports. I haven't noticed the white at the top before | 15:27 |
t1mp | ahayzen: do you happen to have a test program to reproduce https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1524901 ? | 15:28 |
ubot5 | 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 |
ahayzen | DanChapman, it is difficult to see on white background'd apps, try starting music once and then you'll spot it | 15:28 |
ahayzen | 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 | 15:29 |
=== sagar is now known as Guest25594 | ||
t1mp | ahayzen: it would be very useful to have a mini-app | 15:30 |
ahayzen | t1mp, i'll see what i can do, can you un-duplicate the bug ? | 15:30 |
t1mp | in music-app I see the whole background flashing white initially | 15:30 |
ahayzen | i get a top gap that is white | 15:30 |
t1mp | ahayzen: did you un-duplicate it? I didn't yet, but it seems the duplicate is gone... | 15:31 |
ahayzen | oh.. | 15:31 |
ahayzen | magic, i didn't :-) | 15:32 |
DanChapman | ahayzen, is it only on device you see it? or should I be able to reproduce on my desktop? | 15:32 |
t1mp | or I clicked it by accident when I wasn't watching :s | 15:32 |
ahayzen | maybe launchpad is gaining AI... | 15:32 |
t1mp | oh dekko crashes on startup now for me | 15:32 |
ahayzen | 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:32 |
t1mp | 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 |
t1mp | DanChapman: ^ | 15:33 |
dpm | 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 |
dpm | oh, it's similar to t1mp's issue | 15:33 |
DanChapman | ack, i'll change the background color and see what happens | 15:33 |
DanChapman | 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:39 |
dpm | DanChapman, http://pastebin.ubuntu.com/14688826 | 15:43 |
dpm | DanChapman, but that happens to be for the account I removed | 15:43 |
=== nik90 is now known as nik90_ | ||
DanChapman | 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:45 |
t1mp | DanChapman: I removed it in dekko, and it is still listed in online accounts | 15:47 |
t1mp | 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:47 |
t1mp | DanChapman: the account that I was testing with does not have 2FA | 15:48 |
t1mp | oh, wait. It does have :) | 15:49 |
DanChapman | dpm "16:37:50.09210 <<< y1 NO [ALERT] Please log in via your web browser" suggests you use 2fa. | 15:49 |
DanChapman | dpm t1mp see this comment https://bugs.launchpad.net/dekko/+bug/1527331/comments/8 | 15:50 |
ubot5 | Launchpad bug 1527331 in Dekko "Multiple Accounts Generated (Google Apps, Gmail)" [Undecided,Confirmed] | 15:50 |
DanChapman | 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:54 |
t1mp | DanChapman: yes | 15:55 |
DanChapman | 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". | 16:01 |
=== BOHverkill_ is now known as BOHverkill | ||
t1mp | 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 |
ubot5 | 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:09 |
DanChapman | t1mp, ahayzen I'm not seeing this white gap in Dekko after changing the background color | 16:12 |
=== JanC_ is now known as JanC | ||
DanChapman | on mako or krillin | 16:12 |
t1mp | DanChapman: so the bug is fixed when you set a different background color for the app? | 16:14 |
DanChapman | t1mp, i've never seen the bug in dekko so I can't say it fixes it :-) | 16:14 |
t1mp | DanChapman: ah, so nothing changed. You didn't see the bug before changing the color either. | 16:15 |
pmcgowan | nik90_, you around? | 16:15 |
nik90_ | pmcgowan: hey, | 16:15 |
pmcgowan | nik90_, hey, sad to hear you don't see updates | 16:16 |
DanChapman | t1mp, nope not seen the bug at all. as far as I can tell nothing has changed. | 16:16 |
nik90_ | pmcgowan: just unlucky with every ota I guess :/ .. never got a system notification that a OTA is available until now. | 16:16 |
pmcgowan | nik90_, so you did get one? | 16:17 |
pmcgowan | I get them very reliably of course | 16:17 |
nik90_ | pmcgowan: no I haven't got OTA-9 yet | 16:17 |
pmcgowan | nik90_, what happens if you use sudo system-image-cli -n | 16:17 |
nik90_ | https://paste.gnome.org/pkni5jmw3 | 16:18 |
pmcgowan | nik90_, use sudo | 16:18 |
* nik90_ tries | 16:18 | |
nik90_ | 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:22 |
nik90_ | trying this from india | 16:23 |
pmcgowan | oh | 16:23 |
pmcgowan | yeah could be too slow, or could be the network stack is confused | 16:23 |
pmcgowan | nik90_, try toggling wifi maybe | 16:23 |
nik90_ | hmm I have 8.95 Mbps according to speedtest.net | 16:24 |
t1mp | 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 |
ubot5 | 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 |
t1mp | pmcgowan: did you reproduce this bug? https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1524901 | 16:25 |
DanChapman | t1mp, sure :-) | 16:25 |
pmcgowan | t1mp, yes its easy to see | 16:26 |
pmcgowan | t1mp, the panel jumps around as it first displays | 16:27 |
pmcgowan | oh rats | 16:29 |
pmcgowan | nik90, https://bugs.launchpad.net/canonical-devices-system-image/+bug/1508081 | 16:29 |
ubot5 | Launchpad bug 1508081 in ubuntu-download-manager (Ubuntu) "Fails to receive OTA updates" [High,In progress] | 16:29 |
pmcgowan | there are a few related bugs | 16:29 |
pmcgowan | nik90, can you get logs from /var/log/ubuntu-download-manager/ | 16:30 |
nik90 | pmcgowan: sure | 16:30 |
pmcgowan | there may be a ton, so just therecent ones maybe | 16:30 |
dpm | DanChapman, I removed the account from online accounts, added it again, dekko still crashes on start. What should the workflow be? | 16:31 |
nik90 | pmcgowan: output of ubuntu-download-manager.ERROR -> http://paste.ubuntu.com/14689129/ | 16:32 |
pmcgowan | oh wow | 16:32 |
pmcgowan | nik90, can you put that into the bug above | 16:33 |
DanChapman | 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 |
pmcgowan | Elleo, ^^ | 16:33 |
pmcgowan | nik90, does it mean memory or disk | 16:34 |
pmcgowan | nik90, you have free disk? | 16:34 |
nik90 | I added the output to the bug report | 16:34 |
nik90 | checking disk usage | 16:34 |
nik90 | pmcgowan: storage 1.3 GB free | 16:35 |
Elleo | pmcgowan: perhaps we should be purging the downloads sqlite database periodically | 16:35 |
dpm | 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 |
Elleo | pmcgowan: although I don't think sqlite loads everything into memory | 16:35 |
pmcgowan | nik90, Elleo wight whats the size of /var/cache/ubuntu-download-manager/downloads.db | 16:35 |
Elleo | 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 |
pmcgowan | Elleo, or the system just gets in a state where memory is sused and the background process can't get any? | 16:36 |
Elleo | nik90: (assuming things are still in the same state they were when that message happened) | 16:36 |
Elleo | pmcgowan: yeah | 16:36 |
pmcgowan | this explains a lot | 16:36 |
nik90 | pmcgowan: I don't have ubuntu-download-manager folder in the /var/cache directory | 16:36 |
Elleo | pmcgowan: well we do get very tight on memory, hence apps getting killed a lot | 16:36 |
pmcgowan | how can that be | 16:37 |
Elleo | hang on, that log is from 2016/01/12 | 16:37 |
DanChapman | 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 |
Elleo | pmcgowan: does the update fetcher run as root? if not it'll be logged under the user logs in ~/.cache/ubuntu-download-manager | 16:38 |
pmcgowan | do not know | 16:39 |
dpm | DanChapman, thanks. Yes, I had already tried disabling the account from OA, but the app crashes nevertheless | 16:39 |
nik90 | Elleo, pmcgowan: Here is the output of ubuntu-download-manager.INFO in /var/log/ubuntu-download-manager -> http://paste.ubuntu.com/14689175/ | 16:40 |
nik90 | Elleo: I do have a ubuntu-download-manager folder in ~/.cache | 16:40 |
Elleo | I0128 20:44:51.668818 4255 network_session.cpp:68] Connection type gsm <-- it thinks its on GSM | 16:40 |
Elleo | iirc it won't do automatic downloads of updates in GSM mode, unless you've set it to allow that in settings | 16:41 |
Elleo | I think it'll just queue it up and wait for the network type to change to wifi | 16:41 |
Elleo | I think we need to rethink the logic of that | 16:41 |
Elleo | as queueing it up then prevents the user from being able to manually press the download button I think | 16:42 |
Elleo | nik90: can you try connecting to wifi and see if it suddenly starts going? | 16:42 |
DanChapman | 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 |
nik90 | Elleo: I don't have wifi here in India :P...I use 3G and use wifi tethering for my laptop | 16:43 |
nik90 | I suppose I could use another phone's wifi tether to do it perhaps | 16:43 |
Elleo | nik90: maybe try changing the auto-download option in system settings? | 16:43 |
Elleo | 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:44 |
dpm | DanChapman, ok, will try that, thanks! | 16:45 |
nik90 | will try...wil goo offline until phone restarts | 16:45 |
nik90_ | Elleo, pmcgowan: Got the update! | 16:48 |
nik90_ | after changing to always download | 16:48 |
nik90_ | and the rebooting phone | 16:48 |
Elleo | yeah, think we need to rethink how system-settings/system-image-updater handles that | 16:52 |
Elleo | need some way to allow it to be manually started after is been stuck in the queue while still on GSM | 16:52 |
dpm | 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:52 |
dpm | Q:q | 16:53 |
dpm | 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:55 | |
dpm | :) | 16:56 |
nik90_ | Elleo, pmcgowan: Should I update the bug report? | 16:56 |
DanChapman | 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:56 |
Elleo | 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:57 |
dpm | 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? | 16:58 |
t1mp | ahayzen: I did not manage to reproduce https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1524901 except with music-app | 17:00 |
ubot5 | 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 |
DanChapman | dpm. excellent. Yeah it checks OA on launch and also each time Dekko comes into the foreground. | 17:00 |
dpm | 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:04 |
pmcgowan | nik90_, Elleo so what was the net on the issue? | 17:05 |
pmcgowan | oh you dont have wifi | 17:05 |
pmcgowan | thats a bug we should not require wifi | 17:06 |
DanChapman | dpm it should be. I updated it ~2 weeks ago and been in string freeze since then. | 17:08 |
DanChapman | dpm http://bazaar.launchpad.net/~dpniel/dekko/trunk2/view/head:/po/dekko.dekkoproject.pot#L1267 | 17:08 |
dpm | DanChapman, trunk2 - is that the right branch LP uses for importing the translations? | 17:09 |
* dpm checks | 17:09 | |
DanChapman | 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:10 |
dpm | perhaps ping rpadovani when he's online? | 17:11 |
dpm | or Carla | 17:11 |
DanChapman | dpm yes it's pulling in from lp:dekko which is trunk2 | 17:12 |
DanChapman | ok will do that | 17:12 |
DanChapman | thanks | 17:12 |
t1mp | 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 |
dpm | yeah, I saw that too. Not sure why the string does not appear in the search | 17:12 |
ubot5 | 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 |
dpm | perhaps I did something wrong, will double-check | 17:12 |
=== pat_ is now known as Guest30437 | ||
dpm | 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:13 |
DanChapman | dpm, phew! :-D | 17:14 |
dpm | all good :) | 17:15 |
Elleo | 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:16 |
Elleo | pmcgowan: err, until it gets a wifi connection* | 17:17 |
pmcgowan | Elleo, sorry disconected and missed messages | 17:17 |
pmcgowan | Elleo, I think I created a bug for this at some point, if I hit the download button it should do it | 17:18 |
Elleo | pmcgowan: http://pastebin.ubuntu.com/14689399/ <-- those were the only messages I sent | 17:18 |
Elleo | pmcgowan: yeah, I think that needs sorting in system settings then, to change the allowOverGSM property to false | 17:19 |
pmcgowan | Elleo, can you enter a bug for that, I think it may explain some existing things | 17:19 |
Elleo | 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 |
pmcgowan | Elleo, what does autodownlad never set it to ? | 17:20 |
pmcgowan | I think that also sets gsm false | 17:20 |
Elleo | pmcgowan: I would assume it then never creates the download | 17:20 |
pmcgowan | which is just wrong | 17:20 |
pmcgowan | if I manually hit download on gsm it should do it | 17:20 |
Elleo | pmcgowan: until the user manually asks for it | 17:20 |
pmcgowan | I always have auto never and I hit a lot of those symptoms | 17:21 |
Elleo | 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 |
pmcgowan | Elleo, thanks | 17:21 |
Elleo | 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 |
Elleo | kenvandine: if so, perhaps I could help out with that a bit whilst trying to get to the bottom of this | 17:23 |
kenvandine | Elleo, it's something i want to do | 18:08 |
kenvandine | Elleo, pmcgowan: the auto download setting is only for system updates, not app updates | 18:11 |
kenvandine | we never auto download app updates | 18:11 |
pmcgowan | right | 18:11 |
kenvandine | and for system updates, we don't directly talk to udm | 18:11 |
pmcgowan | I would like to detect app updates in the background too | 18:11 |
kenvandine | we tell system-image-dbus | 18:11 |
kenvandine | in fact, we don't even tell it to auto download, s-i-d just does it | 18:12 |
kenvandine | and we get the status | 18:12 |
kenvandine | pmcgowan, that would be nice | 18:12 |
kenvandine | so allowOverGSM is a udm property? | 18:12 |
dpm | 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:15 |
dpm | i.e. not those which are filtered out to another imap folder | 18:16 |
DanChapman | 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:19 |
dpm | 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:22 | |
dpm | I'm talking about imap folders, rather than gmail's tabs (which I guess they are not IMAP standard and not supported?) | 18:23 |
* dpm is confused between gmail's tags, filters and folders | 18:26 | |
DanChapman | 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 |
DanChapman | labels for a message but it's non-standard thing | 18:30 |
=== rickspencer3_ is now known as rickspencer3 | ||
dpm | 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 | 18:48 |
=== marcoceppi is now known as marcoceppi|airpl | ||
dpm | DanChapman, http://webapps.stackexchange.com/questions/59101/automatically-remove-inbox-label-from-messages-with-other-labels | 18:50 |
* dpm updates his filters | 18:50 | |
DanChapman | 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 |
DanChapman | ahh cool i didn't know you could do that | 18:51 |
dpm | 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 | 18:58 |
DanChapman | dpm cool! :-) just found this https://support.google.com/mail/answer/77657?hl=en shows how imap actions apply to gmail | 19:00 |
dpm | ah, cool | 19:01 |
dpm | 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 | 19:03 |
=== marcoceppi|airpl is now known as marcoc|airplane | ||
DanChapman | 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 |
DanChapman | 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:09 |
dpm | 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:10 |
DanChapman | dpm yep it just removes the inbox label but leaves the message in All Mail (aka Archive) alone | 19:11 |
dpm | ah, cool. I wonder how they solve the problem about detection of archive behaviour in the gmail android client | 19:12 |
mrqtros | Hi all | 19:20 |
mrqtros | Can anyone tell where I can ask few questions about scops? Seems that I've found a bug | 19:21 |
DanChapman | 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:21 |
dpm | 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:27 |
mrqtros | dpm hello, if you have a moment - can you please tell me who can I ask about scope development? | 19:35 |
dpm | hi mrqtros, perhaps alecu | 19:35 |
mrqtros | dpm thanks David ;) | 19:37 |
mrqtros | alecu ping! | 19:37 |
mrqtros | alecu can you please take a look at this peace of code? http://paste.ofcode.org/eUhmFr94chW4HgwYX8kfFh | 19:37 |
mrqtros | alecu I am almost sure that I am doing it right, but it dosn't work | 19:37 |
dpm | np :) | 19:38 |
alecu | hi mrqtros! | 19:52 |
alecu | looking | 19:52 |
alecu | mrqtros: how does it end up looking? | 19:53 |
alecu | mrqtros: and what were you expecting to see? | 19:53 |
mrqtros | alecu it is looking like empty UbuntuShape | 19:56 |
mrqtros | alecu I am expecting video preview | 19:56 |
mrqtros | alecu it works well when I am using local URL of video | 19:56 |
alecu | mrqtros: ok. And it doesn't look right when using some remote url? | 19:58 |
alecu | mrqtros: are you using youtube urls there, or from some other service? | 20:02 |
mrqtros | alecu it doesn't. Yes, I am using youtube urls (and they are valid, tried few of them) | 20:03 |
mrqtros | alecu it worked well before? | 20:03 |
alecu | mrqtros: https://developer.ubuntu.com/api/scopes/cpp/sdk-15.04.1/previewwidgets/#video | 20:05 |
alecu | mrqtros: I suggest you try setting the "screenshot" attribute there | 20:05 |
mrqtros | alecu what URL should I use for screenshot? | 20:05 |
alecu | 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 |
alecu | mrqtros: if you are using youtube videos, then you should use some of the youtube screenshot urls | 20:06 |
alecu | mrqtros: try something like: http://www.youtubescreenshot.com/ | 20:07 |
alecu | so, in your example code, seems you should use a url like: http://img.youtube.com/vi/bFmMT2ZDQ8M/1.jpg | 20:10 |
mrqtros | alecu works! :) | 20:11 |
mrqtros | alecu someone should change documentation | 20:11 |
alecu | awesome! | 20:11 |
alecu | mrqtros: easier done than said! | 20:13 |
alecu | 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:13 |
alecu | mrqtros: otherwise, please open a new bug here: https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+filebug | 20:14 |
mrqtros | alecu thanks, I copied both urls, will take a look | 20:38 |
=== salem_ is now known as _salem | ||
popey | balloons, you around tomorrow? I'd like us to finally figure out what to do with all these failing AP tests. | 21:12 |
balloons | popey, yes. Finally on the up and up | 21:13 |
mrqtros | alecu are you still here? :) | 21:18 |
alecu | mrqtros: close enough? | 21:28 |
mrqtros | alecu is there any way to store custom data (for example json objects\string) across queries\scope usage? | 21:31 |
mrqtros | alecu something like LocalStorage or U1DB. If so, is there an example? | 21:31 |
alecu | mrqtros: scopes can access the same folders as any click app, so using something like u1db sounds feasible | 21:34 |
alecu | mrqtros: don't have sample code right now, sorry | 21:34 |
alecu | mrqtros: BTW, keep in mind that scopes are supposed to be stateless, since they can be killed between queries (usually due to timeout) | 21:36 |
mrqtros | alecu just for information - are you scope "sdk" (or kit, I hope you understand me) developer? | 21:37 |
alecu | But using a db sounds ok | 21:37 |
alecu | mrqtros: yes, I work for Canonical on that team | 21:37 |
mrqtros | alecu what if I want to add some "Favourite" content? Provide quicker access to some results? Is it sounds normally for you? | 21:38 |
alecu | mrqtros: not sure I understand. Can you give me some concrete example of how that would work? | 21:41 |
alecu | mrqtros: would that be the empty search? | 21:41 |
alecu | Or a department? | 21:42 |
mrqtros | 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:42 |
mrqtros | As well as "normal" results | 21:43 |
mrqtros | Something similar to shopping cart (just a dummy example for your inderstanding. I do not want to implement shopping cart in scope =) ) | 21:44 |
davidcalle | mrqtros: you can try to use: std::string unity::scopes::ScopeBase::cache_directory | 21:47 |
davidcalle | mrqtros: it returns a directory the scope can write to | 21:47 |
mrqtros | davidcalle seems that will be helpful, thanks! | 21:51 |
davidcalle | 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 |
davidcalle | using it | 22:03 |
ahoneybun | hey I don't see to have my arm kit for my current project, how do I add it? | 23:06 |
ahoneybun | I have it built and updated | 23:06 |
* ahoneybun cries at all these deprecated errors... | 23:08 | |
ahoneybun | is Ubuntu Components 1.3 official now? | 23:09 |
elimisteve | 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:21 |
elimisteve | 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 |
elimisteve | error while loading shared libraries: libunity-scopes.so.1.0: cannot open shared object file: No such file or directory | 23:22 |
ahoneybun | mhall119, ping | 23:23 |
elimisteve | 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:23 |
elimisteve | Any idea if I need to create LIBRARY_PATH or LD_LIBRARY_PATH somewhere? I'll keep looking; I think that's the issue | 23:26 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!