=== chriadam|away is now known as chriadam [00:36] mhall119, once there's some documentation on *how*, I'm more than happy to try :) [01:20] aquarius: how to write a scope? === ahoneycutt is now known as ahoneybun === ahoneycutt is now known as ahoneybun [05:59] kalikiana: I wonder why the CI didn't autotrigger itself when it was changed [06:57] akiva-thinkpad: is there a way to make 1 button change 2 properies? [06:58] ahoneybun, yes [06:59] oh? [06:59] ahoneybun, so like, "onButtonPressed: dostuff"? [06:59] thats what you are trying to do? [06:59] akiva-thinkpad: onClicked: dostuff [06:59] should it be onButtonPressed? [07:00] ahoneybun, yep; its been awhile since Ive done qml, but I think just doing && works === ara is now known as Guest58945 [07:00] I want 1 button to change 2 different textfields defaults [07:00] so onclicked: a.color = "black" && b.color = "red" [07:00] that I have set as "property int actualValue = 0" [07:00] oh! [07:00] let me try [07:01] ahoneybun, && means and, || means or [07:01] Expected token `,' [07:01] I remembered that from C+++ [07:01] C++ [07:02] hmmmmm [07:02] onClicked: score1.actualValue = 8000 && score2.actualValue = 8000 [07:02] ahoneybun, try this [07:02] onClicked: { score1.actualValue = 8000; score2.actualValue = 9000 } [07:03] I think && is more about comparisons actually [07:03] so [07:03] onClicked: { score1.actualValue = 8000 && score2.actualValue = 8000 } [07:03] Expected token `,' [07:03] no, I removed && [07:03] yea if 1 is true then the 2 is [07:03] oh [07:04] works! [07:04] i think its actually onClicked: score1.actualValue < 8000 && score2.actualValue < 8000 ? something : something [07:04] akiva-thinkpad: I'm setting modes for common games [07:05] yea ahayzen gave me something similar [07:05] ahoneybun, yah sorry my initial thing is about making comparisons. [07:05] && is and, || is or [07:05] akiva-thinkpad: that was what I was thinking in the beginning as well lol so no big [07:06] ahoneybun, best way to learn is to teach :P (I learned why I was wrong by trying to teach) [07:06] lol [07:07] thanks akiva-thinkpad [07:07] np [07:07] almost 320 users on uBeginner app akiva-thinkpad [07:08] now your just bragging :P [07:08] * akiva-thinkpad cries as he tries to finish autopilot [07:08] akiva-thinkpad: no just happy [07:08] {: [07:08] https://appstore.bhdouglass.com/app/gazeteer.aaronhoneycutt [07:21] ahoneybun, oh this is your scorecard app; yah ! thats neat [07:21] I thought you were speaking about your very first app :P [07:25] akiva-thinkpad: the users is for uBeginner [07:25] 320 [07:25] that is my new app [07:25] :) [07:26] akiva-thinkpad: http://imgur.com/DhKC7ci [07:26] current work === chihchun_afk is now known as chihchun [07:27] Ha! ever play dominion? [07:27] no [07:27] I really don't play any of those games lol [07:27] Magic is on there though :P [07:28] my friend does and he has a app on his iPod Touch and I thought we should have one on Ubuntu as well [07:28] Same guy made dominion [07:28] Ah cool :P [07:28] he plays yugioh [07:28] does dominion have a score system? [07:28] ahoneybun, sort of [07:28] ahoneybun, we'd have to play a game for you to understand. Want to? [07:29] takes like 10 minutes to do one [07:29] online I'm guessing? [07:29] akiva-thinkpad: any exp with including C++ ? [07:29] http://www.cplusplus.com/forum/beginner/1304/ [07:29] ahoneybun, a little [07:30] I want to include a coin flip as you see [07:31] ahoneybun, and so you just need a random number generator? [07:31] yea pretty much [07:31] I'd imagine that you wouldnt need to use c++ for that. [07:31] oh? [07:33] some c++ : srand((unsigned)time(NULL)); [07:33] ahoneybun, lookup qml math.random [07:34] http://doc.qt.io/qt-5/qtquick-usecase-integratingjs.html? [07:35] ahoneybun, try it [07:35] good morning [07:35] hey dholbach [07:35] might need to import math [07:35] hi ahoneybun [07:36] hai folks [07:36] good old 3:30 am! [07:42] akiva-thinkpad: it is not making much sense for me but I think I'm going to stop on it for this morning [07:44] thanks akiva-thinkpad [07:50] later [07:50] later [08:37] zsombi: the results are positive, I tested your MP 15-20 times and no crashes :) [08:37] zsombi: oh and good morning ;-) [08:37] nik90: awesome! [08:37] nik90: yeah, I'm already here for >3h ;) [08:37] nik90: good morning to U too [08:39] :) [08:39] zsombi: yeah I have no intention of coming online here at 06:00 AM :P [08:50] nik90: :D [08:50] mhall119, in go, in Ubuntu SDK, without cmake misery [08:53] kalikiana: ogra_: haha... seems qmlscene is also setting the application name before anybody else would do that!!!! [08:53] kalikiana: ogra_: I have now the same problem with the state files [09:00] balloons, can you check my comments on https://code.launchpad.net/~dholbach/help-app/1434415/+merge/253844? [09:00] balloons, I don't know how to best solve them, but I think it'd be good if we could land something soon, so everything builds again [09:19] zsombi: is that a new issue? [09:19] kalikiana: I don't think so, I just encountered this while doing unit test for StateSaver [09:20] kalikiana: I think the qmlscene always set the app name and org name [09:20] kalikiana: before loading the QML file [09:23] kalikiana: what is weird on the state saver is that while the logs clearly state that the state file exists, the QFile::exists(statefile) returns false for the same file [09:24] kalikiana: ah, btw, an alarm MR is waiting for your review ;) https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/alarmmodel-get-crash/+merge/253981 [09:25] hello! how do I get WiFi signal strength and battery information in QML? [09:26] should I use B2Qt WifiManager? [09:27] zsombi: I'm on it [09:27] kalikiana: thx!!! [09:31] zsombi, ha ! awesome ... [09:34] ogra_: kalikiana: I think it would be the time either to distropatch the qmlscene or to really have our own launcher [09:35] i think long term the latter makes sense [09:35] short term rather the former :) [09:35] ogra_: this has been discussed many many times, and the decision was always to go with qmlscene [09:35] I've stopped counting how often this question comes up… [09:36] yeah, as kalikiana said [09:36] haha [09:36] even upstream doesn't like we use this binary to run the apps... === dbarth_ is now known as dbarth-afk [09:43] do we have a bu open about the fact that anchorToKeyboard isnt respected if you rotate to landscape ? [09:44] (or is there any programming trick to work around this) [09:44] *a bug [09:49] zsombi: did somebody disable ci again? staging has flake8 errors :-( [09:50] ./tests/autopilot/ubuntuuitoolkit/tests/components/test_urihandler.py:22:5 F401 mock imported but unused [09:50] kalikiana: Mirv was also wondering this morning about it [09:51] we really need ci for ci at one point… [09:51] or maybe cuffs for whoever does the disabling [09:51] kalikiana: btw, Popovers vs OrientationHelper... [09:52] kalikiana: have you tried to move OrientationHelper from PopupBase's base type to the foreground only? [09:58] zsombi: I can't see any crashes with staging in ubuntu-clock-app [09:59] kalikiana: just plain staging without zsombi's MP? [09:59] nik90: yes [09:59] which you suggested should be crashing left and right [09:59] kalikiana: that's weird.... especially that the only alarm fix did land beginning of March, and with that Clock was still crashing [10:00] kalikiana: pmcgowan reported crashes every time [10:00] kalikiana: yeah me too..on my vivid phone and desktop, i can make the clock app crash with my mind [10:00] the force must be too weak in me… [10:01] kalikiana: I just got one [10:01] :P [10:01] kalikiana: I didn't know what's up but I ran CI manually for your u1db-qt branch [10:01] kalikiana: so, you need to have alarms, the open the settings, move here'n'there, you will get a crash [10:01] kalikiana: easy way to get it to crash would be to create a new alarm and then do what zsombi says ^^ [10:02] kalikiana: believe me, it crashes [10:02] kalikiana: the weird thing is that the last line in get() still has a valid Alarm pointer, but once reaches QML, the ret value is null... [10:03] kalikiana: the best case, sometimes crashes straight away, without returning teh value [10:03] kalikiana: nik90: so it crashes somewhere in the middle of the meta object calls [10:04] bzoltan_: I think you should update the UITK gallery in the store :) [10:04] zsombi: good idea [10:05] * kalikiana I wonder if these are related, I get hundreds of them: [10:05] qml: [CLOCK] Error saving alarm, code: 2 [10:05] file:///usr/share/ubuntu-clock-app/common/AnalogClockMarker.qml:40: TypeError: Cannot read property of null [10:06] bzoltan_: for some reason the new list items page is empty... and I guess it's because the API [10:06] kalikiana: that might also be the reason get() returned null [10:07] kalikiana: the error code 2 is EarlyDate, meaning the date for your alarm is not right [10:08] kalikiana: zsombi: hmm you shouldn't see error code 2 either since clock app automatically should adjust it to the next day. So for instance if the current time is 25th March 11:00 AM and if you set an alarm for 10:00 AM, clock app should automatically set it to 26th March 10:00 AM [10:09] well atleast I have a function that checks the validity of the date and does that for the user [10:10] nik90: well, the error is shown at the time teh save is called, so the date adjustment is wrong then. and this is only for one-time alarms [10:10] nik90: never the less all alarms are saved, so the error might be some false alarm somewhere [10:10] or there might be some collision of which alarm object the save is called on [10:11] hmm I guess [10:13] nik90: zsombi with the branch the errors are all gone [10:16] kalikiana: what about crashes? [10:24] nik90: none. I'm guessing the values get garbage collected, and since it's copied in the branch it works fine [10:27] bzoltan_, zbenjamin Holy macaroni, am I dumb! I got the damn thing embedded; my mistake was to manually call the createConfigurationWidget() [10:27] holy hell [10:27] okay this thing SHOULD be done pretty quickly then [10:45] bzoltan_: next candidate for landing https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/alarmmodel-get-crash/+merge/253981 [11:08] ooh [11:08] zsombi: review, please https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/sphinxSysPath/+merge/252891 [11:08] zsombi: you got ot nailed? Cool [11:09] akiva-thinkpad: nice job, dude :) [11:09] zsombi: note that it's not easy to repro locally because you'd have to uninstall both autopilot and uitoolkit, I used the CI logs to verify it [11:09] bzoltan_, ;_; tears literally in my eyes, I was so happy. Do you want a demo, and you can let me know what else you want to see before sending it over to you for review? [11:10] via a screencast? [11:10] akiva-thinkpad: I love demos :) [11:10] okay stand by [11:10] zsombi: also: feast your eyes on the PASSING CI, I don't remember when I last saw that [11:11] kalikiana: long ago... but all those seem to be mako related [11:14] zsombi: I got used to seeing "unstable" always… [11:15] zsombi: Do you want me to push it to the ongoing landing once it got merged to the staging? [11:18] bzoltan_: let's wait for CI to finish with it [11:18] zsombi: J has approved it [11:20] bzoltan_: I see it's merged, so do the monkey :) [11:20] zsombi: I do that :) [11:21] zsombi: I top approved it ... [11:21] bzoltan_: well, kalikiana did that 51 mins ago :D [11:21] SDK folks, question - how can I turn off this behavior: have window split in two, I scroll one pane to some part of code with the scrollbar, then I focus the other pane -- first pane scrolls back to where the cursor was initially. [11:21] zsombi: https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/sphinxSysPath/+merge/252891 [11:22] I know this is a QtC question, but maybe you'll be able to help. [11:22] zsombi: I reloaded it and it was still "need review" ... but whatever [11:23] karni: It is indeed QtC question... I suggest you the #qt-creator channel [11:23] bzoltan_: ah, that one... I had not checked that, I thought you talked about the alarm stuff [11:23] bzoltan_: thanks! [11:23] bzoltan_: but yeah, that's ok as well [11:29] bzoltan_, https://www.youtube.com/watch?v=Ox7pj5MjGec&feature=youtu.be [11:29] i don't think its private :P [11:32] akiva-thinkpad: awesome! MR it right away :D [11:32] :) [11:32] bzoltan_, anything you want added before that? === _salem is now known as salem_ [11:36] akiva-thinkpad: By looking at the video it is good. Let me see the code :) [11:36] okay, in a bit === chriadam is now known as chriadam|away [12:37] Hi, could someone tell me how I would me able to present a file dialog to a user to be able to open a file for an app (I already know about the ContentHub, but can't see a type more specific to text files) ? [12:39] The normal QtQuick.Dialogs' FileDialog also works on desktop, but not the emulator - am a bit stuck [12:50] dholbach, I see https://code.launchpad.net/~dholbach/help-app/1434415/+merge/253844 is happy :-) [12:51] balloons, yes :) [12:51] balloons, the question is: what to do about the Exception you mentioned [12:51] balloons, the tempfile question I think is solved [12:51] (did you see my comments?) [12:51] dholbach, I don't see any comments [12:52] weird [12:52] it says "unsaved comment" [12:52] ok... [12:52] I did see the pep8 proposal [12:52] I'm not quite sure how to best do this... if we raise an exception, we will have to instantiate our Markdown() object everywhere in try/except stanzas. [12:52] ^ this is what I replied to your exception question [12:52] regarding tempfile: http://paste.ubuntu.com/10677461/ [12:53] balloons, if you think it makes sense to use exceptions, I'll look into it [12:53] dholbach, ahh yes. So I raised the question because it appeared like you were reusing the object in tests. So it would make sense to raise an exception and send it back. The print isn't the biggest deal; it's the sys.exit() to go with it [12:53] right [12:53] I know this isn't the only case with them, so I wouldn't hold this mp for it. Something to think about though [12:54] ok... shall I file a separate bug for it? [12:54] I guess that might be best so we don't forget, heh [12:54] done... bug 1436316 [12:54] bug 1436316 in Ubuntu Help App "Don't sys.exit() in Markdown() instantiation" [Undecided,New] https://launchpad.net/bugs/1436316 [12:54] thanks balloons for the reviews! [12:55] cool, so I'll approve [12:55] I approved both. Jenkins should merge it all :-) [12:55] oh... [12:56] is it going to autoland the branches? [12:56] dholbach, yes.. Do you not want that? [12:56] no no that's fine [12:56] easier that way methinks [12:56] absolutely :) [12:56] nice! [12:56] popey, in light of bug 1436110 as stated in the comments why can't the file manager call url-handler for anything in /sd_card/Music/ or ~/Music and content-hub for anything outside ? ... i see bug 1413821 has been marked as won't fix :/ [12:56] bug 1436110 in Ubuntu Music App "Music refuses to play file opened via file manager" [Undecided,New] https://launchpad.net/bugs/1436110 [12:56] bug 1413821 in Ubuntu File Manager App "Music files are imported into the Music app, rather than simply opened" [Undecided,Won't fix] https://launchpad.net/bugs/1413821 === chihchun is now known as chihchun_afk [12:58] ahayzen: hmm [12:58] ahayzen, https://bugs.launchpad.net/developer-ubuntu-com/+bug/1436317. I didn't forget about you [12:58] Ubuntu bug 1436317 in Ubuntu App Developer site "Add pyflakes / pep8 documentation" [Undecided,New] [12:58] balloons, sweet thanks that'll be useful for pointing new devs to :) [12:59] popey, the problem with content-hub is not that it is slow ... it is the fact that we import that music again ... so say you open a file that is already in ~/Music via content hub...you'll then have two inside ~/Music and a duplicate in your library :/ [13:02] ugh === dbarth-afk is now known as dbarth [13:06] balloons, do you know how long it roughly takes until the landing happens? I know I'm getting overly excited :) [13:08] popey, surely file manager can just have a whitelist of paths that if a audio/video file is tried to be opened from, it then uses url-handler rather than content-hub? [13:15] dholbach, to be fair we haven;t tested that jib yet, hehe [13:15] ahayzen: for the small set of paths, potentially, yes. [13:15] dholbach, http://91.189.93.70:8080/job/help-app-autolanding/ [13:15] balloons, https://code.launchpad.net/~dholbach/help-app/run-pep8-and-pyflakes3/+merge/254059 failed, but that was expected [13:15] popey, /media/*/*/Music and /home/*/Music ? [13:15] bah, it ran them in the wrong order [13:15] i tried to be sneaky [13:15] :) [13:16] it appears to be doing something :) [13:19] ahayzen: yeah, worth a bug in file manager :) [13:19] popey, or do we reopen that one that was closed lol ? [13:19] oh, we have one already, don't we. Yeah, a comment on that. [13:19] popey, bug 1413821 :) [13:19] bug 1413821 in Ubuntu File Manager App "Music files are imported into the Music app, rather than simply opened" [Undecided,Won't fix] https://launchpad.net/bugs/1413821 [13:21] popey, commenting :) [13:21] thanks [13:21] balloons, landed! :) [13:21] can't believe it [13:24] popey, ah bugger i can't reopen the bug lol [13:24] popey, do you have permission to flip it from won't fix -> new? [13:24] ya [13:25] done [13:25] thanks popey :) [13:25] dholbach, excellent :-) [14:07] I upgraded to 15.04 yesterday and could build Ubuntu Touch app with qmake [14:07] with 15.04 click target [14:08] however, when deploying, it says it can't find the runtime for 15.04 on the device (or similar, don't remember the exact error message) [14:08] ubuntu-core-15.04 armhf or the like [14:08] any idea how to enable this? [14:10] xhoch3: obvious question, are you trying this on the devel images on the phone? [14:10] nik90, no, stock image [14:11] when will those be able to to run on ordinary devices? [14:11] xhoch3: ha that's the issue then..the current stock image (RTM) is based on utopic [14:11] xhoch3: the stable phone images will switch over to the 15.04 framework only when it is deemed fit and stable and without regressions [14:11] ok, since I bought the Aquaris E4.5, I'd like to work with the vanilla environment [14:12] xhoch3: as a developer if you want to target users with the Aquaris E4.5 which runs the stable images, you will have to use the 14.10 framework [14:12] xhoch3: and then when the E4.5 switches to 15.04, you can update your app and make use of the new features that 15.04 brings [14:12] ok, since I ultimately need qmake, I also need 15.04, so my question is when the 15.04 image is expected to appear? just an estimate [14:13] unfortunately 14.10 is feature-incomplete for me, so I cannot use this [14:13] xhoch3: too hard to say..but the current focus is to get 15.04 stable and ready. so some say the ETA is between 5-10 weeks [14:14] xhoch3: there are lot of bugs that need to be fixed in vivid before it will make it to the stable images [14:14] nik90: wow https://i.imgur.com/7jdN4y4.png [14:14] daker: you got lxc setup? [14:15] yes [14:15] ok, and in order to work with 15.04, I would have to erase my device? Or can I switch to 15.04 on my phone like I did with my desktop? [14:15] by accepting the latest dev version [14:15] daker: excellent! enjoy! [14:15] xhoch3: no you wouldn't need to erase your phone [14:16] xhoch3: you can switch to vivid easily. However in big caps "THINGS MIGHT BREAK" .. so obviously it cant be used as a daily phone any longer [14:16] s/cant/shouldnt [14:17] ok, no risk no fun [14:17] :D [14:17] how do I do it? [14:17] xhoch3: if you run "ubuntu-device-flash touch --channel=ubuntu-touch/devel" in the terminal after connecting your phone to your laptop, you should be upgraded to 15.04 [14:17] xhoch3: I presume you know how to restore it if something goes wrong? [14:18] too late [14:19] :D [14:19] * nik90 brb in 15 mins [14:19] xhoch3: same command but with the channel name ubuntu-touch/stable or bqaquarius_en I think [14:19] ppl in the #ubuntu-touch channel will know for sure [14:24] 2015/03/25 15:21:59 Rebooting into recovery to flash [14:24] Failed to enter Recovery [14:25] now I have the orange ball spinning [14:25] can I safely shutdown the phone? [14:26] oh it rebooted [14:28] nik90, ok, cool I have 15.04 now [14:28] thanks [14:32] 15.04 is snappier, isn't it? feels smoother [14:50] charles: ping [14:51] nik90: do you remember, have you agreed with charles about any EDS tags to be set for application ID and alarm ID? [14:53] zsombi: https://code.launchpad.net/~charlesk/indicator-datetime/lp-1426519-add-tag-for-menuitem-activation-url/+merge/253997 [14:54] zsombi: I guess if alarms specify com.ubuntu.clock along with the alarm ID in the X-CANONICAL-ACTIVIATION-URL EDS tag that should be it? [14:54] charles: can you confirm ^^ [14:56] nik90: charles: uhm... how should I encode it? $(appid):///$(alarmId)? [14:56] hmm that was the discussion we had with ted, but I cannot remember the outcome we decided upon [15:19] nik90: checking charles' comments on teh bug, I think we should decide what to place in the URL [15:19] zsombi, oops, didn't see your pings from earlier, looking now [15:19] nik90: so url-dispatcher would expect sthing like $(appid):///URL [15:20] zsombi, nik90, we should also get renatu in on this converation, he had some opinions on this yesterday [15:20] nik90: charles: where URL should be somethiong containing the alarm ID [15:21] nik90: charles: reading this https://developer.ubuntu.com/en/apps/platform/guides/url-dispatcher-guide/ the format is well defined: $(appId):///$(URI) [15:21] where $(URI) is something the app should understand [15:21] iirc renaut suggested not use appid as the url scheme, rather something like 'alarm' [15:22] charles: how do we then know which app to open? [15:22] charles: well, the thing is url-dispatcher needs appid as protocol [15:22] nik90: exactly [15:22] ah. :) [15:22] nik90, yes, confirming "X-CANONICAL-ACTIVATION-URL" is the x-prop to use [15:22] zsombi, no you can register your app to handle any url prefix [15:23] renatu: true, but if there are multiple apps registering for "alarm" url prefix then we get into trouble [15:23] renatu: right, but then any app can override the url dispatcher... [15:23] for example the dialer app register itself for dilaer-app:/// and cal:// [15:23] exactly [15:23] zsombi, renatu has a patch at https://code.launchpad.net/~renatofilho/qtorganizer5-eds/fix-1426519/+merge/253985 to generate x-prop entries in ical from QOrganizerItemExtendedDetail in QOrganizer [15:24] charles: yes, I am making the changes on Alarm based on that [15:24] renatu: the idea here is to allow alarms created by app-1 to be opened by *only* app-1 [15:24] zsombi, my opinion is that if the app create the event/alarm and it is a app especific thing then the app should set the event url [15:24] zsombi, cool :) [15:24] renatu: if we use the standard "alarm" then app-1 could get app-2's alarms [15:25] but if it is a generic stuff like a google calendar event then the user should be able to choose which app to use to open it [15:25] I thought we wanted to be able to let 3rd parties make their own clock, calendar, etc apps to supplant the default ones? [15:25] nik90: I see some rational in renatu's idea, because then it would be easier to "replace" Clock app [15:25] +1 [15:26] zsombi: I agree but I remember having this discussion some time back where we wanted to make each app's alarms to be accessible by the concerned app only? [15:27] charles: renatu: nik90: the question is shouldn't we support the ability for multiple apps to create their own alarms? which should be in a separate DB than the clock app? [15:27] nik90: right, as I wrote :) [15:28] nik90, if you want the alarms created by the clock app to accessible only by the clock app you can set the url by yourself during the alarm creating [15:28] creation [15:28] nik90: renatu: charles: so, if separate apps can register their own alarms, then appid is the one we need [15:28] zsombi, I think we'd want them to all go through the same alarm API; otherwise, they wouldn't get notifications [15:28] renatu: I do not want to provide complete URL specifying freedome to the alarm user... [15:28] zsombi, I don't think datetime is something we'd want to supplant, because even after we have custom indicators, datetime still is responsible for hw wakeups on alarm [15:29] renatu: you mix Alarm API with QtOrganizer one [15:30] charles: yes. What I planned is to provide Alarm API to access the alarmId, and to have a lookup for it, and use APP_ID to encode the URL [15:30] charles: so in that sense each app can have its own URL [15:32] whats happen if the app get removed? [15:33] charles: nik90: renatu: it would be too ugly if the develoiper would need to set the protocol for each alarm saved... [15:33] who will remove the alarms created by this app [15:33] renatu: same question with a generic "alarm" protocol [15:33] renatu: what if I remove the Clock app, and I don't install anything else? [15:34] clock app can not be removed [15:34] renatu: so then? [15:34] renatu: if you cannot remove, how do you override? [15:34] zsombi: well if we go with a generic "alarm" protocol, deleting a 3rd party app wouldn't affect the user since he would then use the clock app to handle those alarms created by the other app [15:35] I am saying if I intall a new clock app would be nice if this new app can handle the allarms created by clock app [15:35] nik90: but wo decided which app to open in case you install a 3rd party Clock app? [15:35] decides [15:36] we do not have support for that yet :D. But the url-handler will provider a dialog where you can choose which app to use and set the default one [15:36] hmm true..we don't have a mechanism like the content-hub which shows which apps can handle a specific url [15:36] exactly... [15:36] if more than one app register the same url prefix [15:36] I do not know whats happen today [15:36] renatu: will I get that dialog each time it is invoked? that'd suck, sorry to say [15:37] zsombi, you can set the default one [15:37] like android does [15:37] and it will never appear again [15:37] until you reset it [15:37] zsombi: considering that the use case where multiple apps register for the same url prefix is something that's going to become common..(multiple reddit apps etc) .. the dialog allowing the user to choose the app to open and set a default is inevitable..UT definitely needs it [15:38] how do you revert in bazaar, other than deleting and rebranching it? [15:39] today I do not know whats happen if more then one app register the same url prefix, and I think there is nothing blockin the user to install a app with the same app id from a already installed app [15:39] nik90: I understand that, and it sounds right, the problem is that it feel the app developer to provide the protocol and the format every time it saves the alarm si too much [15:40] zsombi, we can define that alarm:// is the default value the devel can chage it to the app id if he wants [15:40] renatu: well, I'd need to expose some AlarmConfig API then... [15:40] renatu: or I could give it as a property to each alarm... [15:41] zsombi, for alarms I do not see much benefit on it, but for calendar events I think this is very useful [15:41] renatu: well, the idea was to let several apps to be able to create alarms individually, and I do no tmean overriding teh Clock app [15:42] zsombi, will the alarms created on others app visible on clock app? [15:43] if not they are individual alarms and should use the app-id on it [15:43] renatu: no, clock app should only see Clock alarms, they should never collide [15:43] zsombi: renatu : All this boils down to one question, "Will apps creating alarms using the same db as clock app or not? " [15:43] s/using/use [15:44] nik90: well, this may hopefully get solved when charles will start the new Alarm backend :) [15:44] yeah... :) [15:44] I'd like to that sooner rather than later, but it's not happening this sprint [15:45] zsombi, whell if they still using qtorganizer you can have different address-books for each app [15:45] s/address-book/calendars [15:45] anyway my 2 cents is that apps creating alarms should use the same db as clock app [15:46] charles, they can still using the same db but different "eds sources" [15:46] renatu, true. datetime will pick them all up anyway [15:46] charles: not sure I agree to that since seeing the reminder's app alarms in the clock app would look strange [15:46] this is how we intend to separate contacts [15:47] renatu, I'm not sure why you'd want to keep alarms under a separate sources? [15:47] nik90, the alarm API can filter the alarms based on the application [15:47] charles, security :D, you can block apps to access different sources [15:48] nik90, the reminder would use a different scheme, IMO we'd want to be able to mix reminders between reminder apps, alarms between clock apps, events between calendar apps [15:48] but not mix reminders with clock apps [15:48] charles: renatu: yet I'm using only one collection for all alarms, I can create separate ones [15:49] charles, +1 [15:49] renatu, that gets back to the same question, of letting a replacement calendar app edit pre-existing calendar events === chihchun_afk is now known as chihchun [15:49] renatu: I filter alarms based on collection [15:50] renatu: so far I use only one collection for all alarms [15:50] charles, with the new changes on qtorganizer the calendar app will be able to replace the event url [15:51] charles, and we need to have some fallback url in case of events synced from google, etc... [15:51] renatu, yes, maybe I should have used alarms or reminders as the example there [15:52] you're right that calendars are a special case b/c we need to handle 'no url provided' case for imported events [15:52] nik90: renatu: charles: ok, so the protocol I'll chose to be 'alarm' [15:53] zsombi: so "alarm:///alarm-id" which the corresponding app can get and open the correct alarm [15:54] mzanetti: ^ this is relevant to reminders as well [15:54] nik90: would you like the alarm-id to be encoded in some fancy way, or plain alarm-id is fine? [15:54] mzanetti, wrt choosing the url scheme and using the "X-CANONICAL-ACTIVATION-URL" x-prop [15:55] nik90: like canonicak.com/alarmId?= [15:55] then reminder will be: "reminder://reminder-id" [15:55] charles, where would I add that? [15:55] and calendar is cal://, yes? [15:55] zsombi: erm I think alarmId?= shoudl be sufficient [15:55] renatu: as far as charles specified, it can be anything, charles wil only call that URL given in the X-* detail [15:56] mzanetti, you're using QOrganizer right now? [15:56] charles, yep [15:56] zsombi: this way it would make sense for alternative clock app as well [15:56] mzanetti, you need to register this on url handler for your app [15:57] ok, reminders supports "evernote://note/" already [15:57] nik90: the thing is that you will get the second part of the URL without the protocol, so it's up to you how you see it easily handled [15:57] If I remember correct there is a json file for url-handler [15:58] mzanetti, renatu has a patch @ https://code.launchpad.net/~renatofilho/qtorganizer5-eds/fix-1426519/+merge/253985 that will convert QOrganizerItemExtendedDetails into x-props [15:58] nik90: I'd say some identification on what came should be given so if eventual alarm overrides wil want to handle sthing else, they can also provide identification on those [15:58] zsombi: true so I will get only alarmId="somevalue" .. which I will parse and extract? [15:58] mzanetti, so you'd create an extended detail and add it to your QOrganizerItem [15:58] nik90: so alarm://alarmId?= [15:58] zsombi: yes [15:58] nik90: deal [15:58] perfect [15:58] I can specify the url? [15:58] completely, I mean? [15:59] mzanetti: yep [15:59] perfect! [15:59] oh, and I should ping popey too, calendar-app will complete the three apps that should follow this approach [15:59] charles: alarms is comin' ;) [16:00] popey: long discussion above, short summary is if you want clicking on a calendar event menuitem in the indicator to launch calendar-app to that specific event [16:01] what you do is create a QOrganizerItemExtendedDetails where the key is X-CANONICAL-ACTIVATION-URL and the value is the url [16:01] datetime will pass that url to url_dispatch() when clicked, so calendar-app can register to handle that scheme and process it to go to the right page [16:01] charles, he can leave it empty too :D, since we will have the fallback url, correct? [16:01] yes, was just about to get to that :) [16:02] charles: renatu: does the key need to be all capitals? [16:03] popey, since we have to handle imported calendar events too, datetime will still have to have a fallback url to handle [16:03] charles: asking as the x-canonical-alarm and x-canonical-disabled is specified as small caps [16:03] zsombi: no [16:03] it doesn't have to be all caps [16:03] ok [16:05] I just did it that way because all the other properties in ical are all caps [16:05] no biggie [16:06] kalikiana: seems the statesaver fix works, I only need to get a proper test for the urihandler... [16:11] charles: ouhhh.... what are we gonna do with the existing alarms? [16:12] charles: like the ones people already created in the phone? [16:19] zsombi, I'll leave the old logic in datetime so that those don't break [16:20] charles: ok [16:20] zsombi, they just won't be launchable as the new ones are [16:20] or rather, they will launch to the app just as they do now, not to the alarm itself [16:20] charles: I was thinking to do an update when the app starts, so when the Clock is started first time it would take a bit longer but all Alarms would be updated [16:21] zsombi, that would be wonderful [16:21] +1 [16:21] so nice of us to agree on new work for clock-app :D [16:22] LOL right [16:22] charles: any huch when would you have time for the v2 backend? [16:22] hunch [16:22] charles: lol :P [16:23] zsombi, not unless I do it on my own time [16:23] charles: ouhh... [16:23] two weeks ago it seemed so close :) [16:23] hah [16:23] two weeks ago I thought we can get subtheming into Vivid [16:26] bzoltan_: hey what's the planned ETA for the UITK vivid update? Just curious :-) [16:27] nik90: Excellent timing of the question :) The silo12 has the release candidate. I have finished today the testing and now it is up to the QA team's queue when they will give it green light [16:28] bzoltan_: Awesome! thnx :) [17:25] nik90, I updated to 15.04, but I still get WARNING:root:Signature check failed, but installing anyway as requested [17:25] Cannot install /tmp/untitled.username_0.1_armhf.click: Framework "ubuntu-core-15.04" not present on system (use --force-missing-framework option to override) [17:25] Sdk-Launcher> Installing the application failed [17:26] xhoch3: hmm that's strange..let me try it [17:26] xhoch3: wrong framework [17:26] ubuntu-core is for snappy [17:26] popey: that's what the qtcreator atm is setting for new projects in vivid [17:27] wat [17:27] it should be ubuntu-sdk-15.04, not ubuntu-core-15.04 [17:27] unless I am mistaken? [17:28] popey: atm there are only two 15.04 frameworks listed by qtc, which are ubuntu-core-15.04 and ubuntu-core-15.04-dev1 [17:28] huh [17:28] in qtc it is listed as ubuntu-sdk-15.04 [17:28] ubuntu-core-15.04-dev1 is the one I believe [17:28] https://docs.google.com/a/canonical.com/spreadsheets/d/1t_JGpg4r8BLluzfzmqa-gAbcKUjKUOufSCTSdPpFc5g/edit#gid=0 [17:28] last one in that list [17:28] xhoch3: hmm I dont see ubuntu-sdk-15.04 on my brand new vivid desktop install [17:29] http://www11.pic-upload.de/25.03.15/xwxx2jknupm.png [17:29] xhoch3: no that's not what me and popey are referring to [17:30] xhoch3: open manifest.json file in qtc [17:30] xhoch3: in the framework field, there is only ubuntu-core-15.04 and -dev1 version listed [17:30] yes, exactly [17:30] so take the dev one [17:30] the 15.04-dev1 framework isn't even on my vivid device [17:30] xhoch3: anyway let me test the 15.04 frameworks and see if that works on the phone [17:31] nik90, same result [17:31] so it will fail to install [17:31] brb [17:31] yes [17:33] popey: http://imgur.com/iRXIWPW,KgbvQeH [17:33] nik90, did it work for you? [17:33] xhoch3: just a moment [17:33] bzoltan_: ^ [17:34] I just created the qmake sample (Simple UI), left everything as default and tried to run [17:34] bzoltan_, https://code.launchpad.net/~akiva/qtcreator-plugin-autopilot/trunk -- it seems well stable. What branch am I merging with? [17:35] xhoch3: yup I get that error [17:35] bzoltan_, popey: I cannot install a default project app created by qtc [17:36] xhoch3: it works if you set the framework to 14.10. [17:36] xhoch3: *and* you can still import Ubuntu.Components 1.2 [17:37] nik90, thanks, that works [17:39] xhoch3: just remember that while you may be using the 14.10 framework, you are still using Ubuntu.Components 1.2 which is not on the BQ stable images yet. So devel images are still needed until we make the transition that I mentioned before [17:40] ok thx [17:41] okay I got to go for a bit. bbl [17:48] hey ahayzen [17:48] ahoneybun, yo [17:49] http://i.imgur.com/DhKC7ci.png ^ [17:50] ahoneybun, thats looking awesome :D [17:51] the coin flip is not working atm (no code behind it) [17:51] ahoneybun, OCDness tells me that the coin flip button is not as wide as the others? (right alignment is wrong) ;) [17:52] or all the others are too big :) [17:52] yea I know I'm wondering about that [17:54] nik90: ugh, can you file a bug please? [17:54] popey: sure, on it now [17:54] thanks! [17:59] popey: bug 1436470 [17:59] bug 1436470 in qtcreator-plugin-ubuntu (Ubuntu) "Project template defaults to invalid ubuntu-core-15.04 framework in the manifest file" [Undecided,New] https://launchpad.net/bugs/1436470 [17:59] ahayzen: right alignment? [17:59] ahoneybun, yeah the right side is off [18:00] ahoneybun, tbh it looks like the buttons below are actually slightly too big in width as the margin on the left is larger than the right for them [18:00] ahayzen: http://pastebin.ubuntu.com/10679604/ [18:03] ahoneybun, try for the buttons in the rows where you have done - units.gu(1) put - units.gu(2) ... i think your not taking both of the spaces into account [18:05] ahoneybun, so in the rows where you have 2 items you need todo - 1GU before the divide ... and where you have 3 items do -2GU before the divide [18:07] ahayzen: thats how it is [18:07] (parent.width - units.gu(2)) / 3 [18:08] ahoneybun, not in the pastebin you gave me ;) [18:08] ahoneybun, so does that work? === JamesTai1 is now known as JamesTait [18:09] http://pastebin.ubuntu.com/10679648/ [18:09] still offset [18:10] ahoneybun, are the numbered buttons now right though? [18:10] right? [18:10] ahoneybun, like the items in your Row at L56 need the same width set [18:10] ahoneybun, at L80 those ones need -1GU [18:11] ahoneybun, at L189 those need -1GU [18:11] then it all should be aligned correctly [18:11] ...hopefully... [18:14] don;t think so [18:15] http://pastebin.ubuntu.com/10679689/ [18:15] ahoneybun, what does that look like? [18:16] let me grab a screenie [18:16] http://imgur.com/pwXfDSj [18:17] ahoneybun, so some of them are correct lol [18:18] lol [18:18] ahoneybun, so L62, L69, L75 should read width: (parent.width - units.gu(2) / 3 [18:19] ahoneybun, then all the number ones should be - units.gu(2) not 1 [18:19] then it should be correct :) [18:19] all in one ( )? [18:19] ahoneybun, sorry extra bracket (parent.width - units.gu(2)) / 3 [18:26] t1mp: hey, I just figured out how to use the PageHeadStyle component. Can I make request here to add backgroundColor property to it..that's all I need :) [18:27] ahayzen: fixed it temp [18:29] zsombi: hey quick suggestion, in PageHeadStyle wouldn't it better to indicate in the docs which theme it has been defined in? Currently I did a trial and error to check if can be imported from the SuruDark theme or the Ambiance theme. It would be handy if this was stated in the docs itself. [18:35] back [19:18] nik90: I will add that in the next week or two [19:19] t1mp: cool thnx [19:41] does anyone know if it's possible to change Page.head.sections when the PageHeadState changes? [19:44] mhall119: have you tried setting the selectedIndex property based on the pageheadstate changes? [19:48] nik90: I want to change the model and onSelectedIndexChanged handler [19:48] I think I have to do with with code in Page.onStateChanged, rather than through PageHeadState [20:06] ah yeah that's tricky === salem_ is now known as _salem === _salem is now known as salem_ === ahoneycutt is now known as ahoneybun === chihchun is now known as chihchun_afk [21:51] does anyone done a random number in qml or c++ [21:51] ? [21:52] ahoneybun, use Math.random() in JS? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random [21:53] (which you can use in QML) [21:54] I have to import something right ahayzen_? [21:54] no just create a function somewhere and use it IIRC [21:55] seems to work [21:55] just need to output the number in a Label [21:55] ahoneybun, http://doc.qt.io/qt-5/qtqml-javascript-expressions.html [21:56] in that example in the first link it was returning it [21:56] \o/ [21:57] it shots no errors [21:57] just to output the result [21:58] ahoneybun, so like to set it to the label do ... myLabel.text = myRandomMethod().toString() [21:58] or myLabel.text = Math.random().toString() directly would work but depends what number you wnat to make [21:58] 0 or 1 [21:59] you could just round that number [21:59] ahoneybun, like Math.round(Math.random()) would give 0 or 1 IIRC [21:59] its like heads or tails [22:01] ahoneybun, something like ... Math.round(Math.random()) === 0 ? "Heads" : "Tails" [22:01] I need to define myRandomMethod().toString() [22:01] oh wait [22:02] depends how you want todo it... ^^ is the onliner way lol [22:02] so lost [22:02] http://pastebin.ubuntu.com/10680820/ [22:03] haha just try things see where you get ;) [22:03] ReferenceError: myRandomMethod is not defined [22:03] ahoneybun, define your function () {} somewhere else don't set it to the onClicked: [22:04] ahoneybun, then called it from the onClicked: myMethod() [22:04] ahoneybun, look at the section "JavaScript in Standalone Functions" on http://doc.qt.io/qt-5/qtqml-javascript-expressions.html [22:06] sorry ahayzen_ [22:08] yay [22:10] ahayzen_: http://imgur.com/a/ajo6J [22:10] ahoneybun, looks like fun :) [22:10] now to set them as 0 to 1 [22:11] I'm looking at what you wrote [22:11] ahoneybun, you probably need to put the Math.round() around your Math.random() [22:11] around? [22:11] Math.round(Math.random()) [22:11] ok [22:11] output of random goes into the input of round [22:12] works! [22:12] \o/ [22:12] 1 or 0 [22:12] should I set a variable 0 = Head or soemthing like that [22:12] ? [22:14] ahayzen_: I'll be back brb === salem_ is now known as _salem [22:58] ahayzen_: btw Math.round(Math.random()) === 0 ? "Heads" : "Tails" works perfect [22:59] Hello! [22:59] I wanted to contribute to ubuntu app development. [23:00] I am a complete begginer. [23:01] are there any easy projects which are suitable for begginers? [23:02] ahoneybun, awesome :) [23:03] ahayzen_: uploading code to lp with credits of course [23:03] https://launchpad.net/gazeteer [23:04] tushard: What do you mean? You want to create your own Apps, or you want to contribute to Canonicals projects, e.g. the Ubuntu SDK which is used for ubuntu app development? [23:04] tushard, if you are a complete beginner probably best to start with the guide https://developer.ubuntu.com/en/start/ and https://developer.ubuntu.com/en/apps/qml/tutorials/building-your-first-qml-app/ [23:05] ahayzen_: http://bazaar.launchpad.net/~aaronhoneycutt/gazeteer/1.0/files [23:05] * ahoneybun sees he spelled your name wrong... [23:05] tushard, then if you want to help out the coreapps are probably the best projects to contribute to https://launchpad.net/ubuntu-phone-coreapps ... look for a 'bitesize' tag of bugs as well [23:06] ahoneybun, \o/ [23:06] ahayzen_: Though to contribute, you have to sign the Ubuntu Code of Conduct before, I think.. Right? [23:07] jplatte, yup and for canonical projects usually CLA as well [23:07] jplatte: uploading to LP and such [23:07] Yeah, a good reason to not contribute to anything Canonical does :P [23:07] depends on your views ;) [23:08] * ahayzen_ doesn't want to start a flame war [23:09] Well, I don't want to either [23:10] Just wanted to have mentioned that there's no use in even looking at the code of any Canonical project if you want to have the power over the code you might write for them [23:11] jplatte, define power [23:11] It's still the case that you have to attribute the copyright to canonical, right? [23:11] you are best off using the stuff that is there as a platform on which to do your own thing [23:11] jplatte, well look at the coreapps some do some don't directly mention canonical in the license header [23:12] Okay, that's interesting [23:12] you can absolutely inspect all the code, and contribute fixes, but Canonical create and curate the code of the operating system and unity and so on, which is fine, that is what they do [23:12] But no, I won't look at the code because I just don't get how launchpad works and it would take me 10 minutes to just find it there [23:13] no need to sign anything much to use the SDK to make an app for the platform as far as I am aware [23:13] Yeah I know they still maintain everything as open source and I can look at it [23:14] jplatte: i want to contribute to an already existing projects preferably. [23:14] and the CLA isn't particularly obnoxious if you read it [23:14] although the main reason is learning. [23:15] I guess if you were planning to do a *heap* of work on a canonical curated project and you want to have control/ownership over the work you did so you can monetise it later then yeah, CLA might not be your friend [23:15] but if you want to just fix a little thing that annoys you and contribute that fix, then meh, it is fine [23:16] tushard, coreapps are probably best to look at as they are built by other community people :) [23:17] tushard: I think it mostly depends on what you want to learn then. Are you talking about 'Ubuntu device' apps only? Then have a look at the core apps or ask if someone here needs help with their app (I'm sure a lot of people in here would value people helping them with the development of their apps). You could also contribute to the Ubuntu SDK itself, though I don't even know in which language this QtCreator-plugin stuff (if it' [23:18] ahayzen_: thanks man. But they are for ubuntu's phone version ? [23:18] tushard, yes they are for the phone primarily, some work on the desktop as well [23:19] most, if not all, you can run on the desktop at least for development purposes [23:19] AlanBell: TBH, I'm not informed that well. I just thought you'd have to attribute copyright to Canonical, which would allow them to use your code in non-openSource projects / stop developing the software you contributed to as OSS altogether. [23:20] I am inclined to work on the apps then. How to ask people if they need help. is there another irc channel? [23:20] tushard, this is the channel :) [23:20] tushard: There are some, I think; but you're in the right one already AFAIK. there should be a lot of app developers in here :) [23:20] * ahayzen_ waves o/ [23:21] ohh...Thanks then. :) [23:22] By the way.. What apps are all you guys working on? [23:22] tushard, i would get yourself familiar with the SDK first ... and run yourself through the tutorial of that example app (currency converter IIRC?) [23:22] i'm working primarily on the music-app [23:23] The core music app? :O [23:23] * nik90 waves [23:23] yup [23:23] nik90, o/ [23:23] hey tushard, welcome :-) [23:23] ahayzen_: hey [23:23] Oooh, nice! That's like, the best app that came with my Ubuntu Phone ^-^ [23:23] Thanks for creating such an awesome app! [23:23] jplatte, haha awesome that means alot :) [23:23] ahayzen_: its in the link you posted right? [23:24] tushard, yeah https://launchpad.net/ubuntu-phone-coreapps [23:24] nik90: Hi! :) [23:24] tushard, popey, may be able to tell you which apps need to most help or have 'low hanging fruit' ? [23:24] tushard: as ahayzen_ said, get familiarized with the ubuntu sdk and pushing to github/launchpad .. and feel free to raise questions here. [23:25] Gonna do that then....Thanks guys!! [23:25] ahayzen_: Well then, should I contact you directly here (/msg) if I want to talk about the app or are there better places for that? I'd use the rating form in the Ubuntu Store, but writing on the Smartphone is quite annoying, especially for long texts like my feedback would have been (until I lost what I had written already, but that's a different topic). [23:25] tushard: I don't remember marking bugs as bitesize to point you to it, but that's something we should probably do in the core apps soon [23:26] Lol, are helf of the people talking here working on the core apps? :D [23:26] jplatte, if you have a bug then raise it here https://bugs.launchpad.net/music-app ... otherwise the mailing list can bee good for generic discussions... or pinging devs directly :) [23:27] well me and nik90 are ... so yeah 50% of the folks talking are :) [23:27] jplatte: actually more like ppl working on the core apps in the nite, hanging out in this channel atm :P [23:27] No, I don't have a bug, only some small feature requests [23:27] jplatte, they can sometimes turn into bugs ... but mailing list is probably best [23:28] which ML? [23:28] * ahayzen_ tries to find the link [23:28] And do I have to be subscribed to post to it? ^^ [23:28] yup i think its on launchpad...where is it [23:28] ahayzen_: https://lists.launchpad.net/ubuntu-phone/ [23:28] nik90, where is the coreapps mailing list? i can never find it [23:28] Also, could we just get all devs to use http://discourse.ubuntu.com/ ? [23:29] ahayzen_: core apps mailing list? 1 sec [23:29] nik90, i was thinking coreapps one may be more relevant to discussion of apps specifically? what do you think? [23:29] That things has just 10x the UX of mailing lists, and thrice the UX of forums [23:29] https://lists.launchpad.net/ubuntu-touch-coreapps/ thats the archive... [23:29] ahayzen_: https://lists.launchpad.net/ubuntu-touch-coreapps/ [23:29] ahayzen_: https://launchpad.net/~ubuntu-touch-coreapps [23:30] subscribe on the second link :) [23:30] jplatte, ^^ [23:30] jplatte: You would need to join the group at https://launchpad.net/~ubuntu-touch-coreapps and then subscribe to the mailing list from there [23:30] Yeah, what I expected [23:30] jplatte, and the ubuntu phone one is a good one as well if you are generally interested in other discussions [23:30] Yay, more mails ^^° [23:30] \o/ [23:30] jplatte, what specific features are you looking for? [23:31] Being able to control the music player from the lock screen (I know Canonical doesn't want it to be a lock screen, but for me it is :D), e.g. through an indicator [23:31] jplatte, well the plan is eventually to do it in the sound-indicator [23:32] jplatte, but i'm also trying to convince support on the lock screen as well [23:32] and having random mode precompute the song order for the whole playlist so you don't get Song A -> Song B -> Song A -> Song C or stuff like that [23:32] jplatte, basically we are waiting for one platform feature before this can work [23:32] Okay [23:32] ...and the way random works will change with this new platform feature :) [23:32] Well, an indicator would already be nice [23:32] (random is pretty poor at the moment) [23:32] Huh? Why? [23:33] jplatte, because we won't be handling it the platform will ...or we will have to give it a preshuffled list [23:33] What?? [23:33] I don't understand what you're saying [23:34] You mean you'll just use a different rng (with a more even distribution) or what? [23:34] jplatte, basically it may change :) .... and probably will either be a precomputed random list or the random maybe more intelligent (no duplicates) [23:34] but... why is this handled by the platform? :D [23:35] jplatte, no at the moment we handle the shuffling as our app is never suspended when playing audio ... but soon our app will be suspended and the platform will play the list of tracks we tell it [23:35] Okay... [23:35] "its complicated" is probably the best answer [23:35] Well, that explanation was understandable [23:36] I still don't get why that changes the order of the random playlist significantly [23:37] jplatte, at the moment it just picks a random number between 0 and queue size... so you can get duplicates as you said. i see us either moving to a precomputed list (which would stop them) or the platforms implementation of shuffle maybe better than ours and track which have been played (again stopping duplicates) [23:38] jplatte, is that clear enough? lol [23:39] I understood that before :D [23:39] But maybe you referred to the random implementation before. [23:39] I definitely favor the precomputed list though, and that wouldn't need any new platform features, right? [23:40] yeah but then what happens when you switch shuffle off? [23:40] does it flip back to the 'ordered' list [23:40] and what happens if you reorder things [23:41] Reorder things? I didn't even know you could do that :D [23:41] But I think the way gmusicbrowser implements it is the best [23:42] There reordering things simply turns off the random mode [23:42] The only problem I see with the way it is there is that the random list is never automatically changesd [23:42] *changed [23:42] Which has a big advantage too, though [23:43] press and hold an item in the queue then you can drag them up/down (only within the viewport) [23:43] Okay [23:44] I won't need that, but good to know anyway :D [23:44] same way to multiselect things to add to queue/playlist or remove from playlist/queue [23:44] (which you may use) [23:44] haha, not really [23:45] The only thing I do is select an interpret and then click the random button ^^ [23:45] or your just like me and play an album/artist [23:45] well, it is like that on my smartphone [23:45] it was like that on my last smartphone [23:45] heh [23:46] What I do on my computer is way cooler, but I don't see that being doable on smartphones in this year, if ever :D [23:47] Because those smartphone apps are all about simplicity, and on my PC I use a filter in gmusicbrowser (like smart playlists in other players) which plays all my tracks with a rating of either 0 (my default) or >= 70, on all my songs [23:48] yeah exactly [23:48] but we are looking into like smart playlists, so "play me my most/least played tracks".. "play me recently added tracks" etc ... but thats further down the road [23:49] Okay [23:49] would that be something you would use though? [23:49] Depends on whether you also add ratings [23:49] we are always trying to figure out actual usecases of people other than us lol [23:50] Well, I guess I have stated my perfect use case ^^ [23:50] :) [23:51] maybe something we can do for the tablet/desktop version ;) [23:51] * ahayzen_ takes note [23:51] I think smart playlists with && and || wouldn't even be that hard to do in a simple interface if you just do it like Thunderbird does with their email filters [23:52] Instead of allowing nesting of &&'s and ||'s like gmusicbrowser, just allow the user to create a set of rules, and select whether to && them together or to || them together (all or any) [23:52] well the search at the moment is just a regexp [23:52] if you know what you are typing you could do some cleaver stuff hehe [23:52] lol :D [23:52] I see you running into problems with that though ^^ [23:52] such as ? hehe [23:53] searching for "(live)" which some tracks have in their title for example [23:53] it would kind of work, but also match things that have the word "live" outside of brackets [23:54] for me, it would totally break [23:54] yeah [23:54] because I've changed all (live)'s and (instrumental)'s in my musics tags to [live] and [instrumental] [23:54] so () is reserved for (whatever remix) and things like that [23:55] ah i see [23:55] or (XY edition)