=== chriadam|away is now known as chriadam === salem_ is now known as _salem [04:57] Good morning :) [04:57] nik90: Good morning :) [06:10] good morning all [06:41] dpm: Good morning :) [06:48] hi mihir [06:48] dpm: Hello :) [06:50] dpm mihir: Good morning :) [06:51] good morning [06:51] hey nik90_, morning. Good news: the Alarms API backend (eds) landed yesterday :) [06:52] dpm: yes I read the irc chat. Awesome! [06:53] dpm: regarding your email about the alarms notifications [06:53] dpm: we are almost done with our all bugs except one I guess [06:53] dpm: I was not referring to the design but rather if the notifications actually work. So If set an alarm for say 08:00 AM, will I get a sound if the alarm goes off? [06:53] in calculator [06:54] mihir: wow, congrats! [06:58] nik90_, gotcha. Yes, in any case, this will need design input. Apart from this bit, are you now unblocked in terms of the alarms API? [06:58] dpm: I am actually 90% complete with the alarms branch. [06:59] dpm: I am just bit worried that when my branch is merged to trunk, a user can actaully set and hear an alarm :) [07:01] dpm: I am just fixing some last minute bugs and testing stuff before proposing merge. Zsombor already had a bried look at my code. [07:01] nik90_, indeed, we'll figure that out [07:01] that sounds awesome [07:02] dpm: so email was charles kerr was correct? [07:04] nik90_ I don't know, I asked katie and she mentioned mpt was working on indicators, so I CC'd him. We'll find out [07:05] dpm: okay. As long we get the answers, I am good [07:06] perfect [07:27] zsombi: ping [07:28] nik90_: pong [07:29] zsombi: I created an alarm for 08:00 AM Daily. It saved it fine. However the time now is 09:28 AM. But when I retrieve the alarm.date, it still shows Wed 08:00 instead of Thurs 08:00 [07:29] zsombi: I created this daily alarm yesterday, so when saving it, it shows the correct date. [07:30] zsombi: but now that the time has passed, shouldnt it update the date to point tomorrow same time? [07:31] nik90_: not really. The alarm itself will always have the same date when created. The backend's responsibility is to schedule the occurrences based on the data given, relative to the start date [07:32] zsombi: so I am guessing this is the same case for weekly alarms as well. [07:32] nik90_: the order the alarm should be displayed is however the order of the occurrence, so if one occurrence expired, it should be placed to a later time [07:32] zsombi: hmm, I am wondering how then i can find out the next closest active alarm. Previously I was reading the alarm.date and comparing it to the current date [07:32] nik90_ yes [07:33] zsombi: couldnt we instead making the backend update the alarm details automatically? [07:33] nik90_: well, we can add an extra property to the alarm, called nextOccurrence [07:34] nik90_: not really [07:35] zsombi: will the nextOccurrence property update automatically? [07:35] nik90_: will [07:35] zsombi: can this be added then please? I need that to display certain strings like "Next Alarm in x hours" which depend on it. [07:35] It isn't mission critical [07:36] nik90_: however we don't have complete support for updates in all the circumstances, renato promised to implement that part too, so then we can keep it 100% in sync [07:36] zsombi: ah okay [07:36] nik90_: sure, need to add a work item to the BP, and we can see how we can schedule it, however seems a bit critical [07:37] nik90_: so at the moment I can sync this field when fetching, but I don't get notified when the alarm is triggered, so I could update the alarm data. That needs to be done still in EDS backend [07:38] zsombi: you mean you can sync this field every time I fetch the alarm details? [07:38] nik90_: yes [07:39] zsombi: my plan is run a qml timer every minute (when user is in alarm tab), so that would work [07:40] nik90_: uhh.. no... the fetch is automatic, so whenever you check the model's alarm list, that will pull the same array. That array is updated whenever the backend says so... [07:41] nik90_: then we also need a force fetch, but remember, that fetch is async, and actually it takes quite a bit of time with EDS backend... in some cases, especially when you have repeating alarms, that takes >20 sec! [07:41] zsombi: woops okay :D [07:42] nik90_: so then we need 2 things: nextOccurrence property and forced fetch support in the model. [07:42] zsombi: so when EDS updates the array, my listview showing the alarms will then automatically update. Nice [07:42] nik90_: yes, that's the way [07:44] zsombi: is there a signal that I can catch when EDS updates the array (or refreshes my listview)? I need this to update my next closest active alarm display [07:45] nik90_: the model itself does not have, however the QAbstractListModel does have [07:47] nik90_: onDataChanged [07:48] nik90_: no, sorry, it is onModelReset! [07:50] zsombi: ah that works! thnx [07:51] nik90_: if you want to display some ActivityIndicator suggesting that there's something ongoing, you can listen to onModelAboutToBeReset [07:54] zsombi: thnx. So now the get_active_alarm() is called automatically when an alarm is changed either by the user or by EDS. This is much more reliable and resource friendly. [07:54] nik90_: ;) [08:07] dpm,popey: Any new updates on qtlocation qml documentation? === chriadam is now known as chriadam|away [08:37] Good morning all, happy Hot Cross Bun Day! :-D [09:06] is this channel the right place for help with ubuntu packaging? [09:24] nik90_, not yet, sorry. In the meantime you might want to look here for an example: [09:24] http://qt.gitorious.org/qt/qtlocation/source/e31739e1b6d24616654b03d30bcdf6aeba037117:src/location/doc/snippets/declarative/declarative-location.qml [09:24] note that the repo is ahead of what we've got in Ubuntu, so you'd need to import QtLocation 5.0 and not QtPositioning [09:25] there are some unofficial docs here: http://qt.developpez.com/doc/5.0-snapshot/location-positioning-qml [09:25] nik90_: yes! [09:25] dpm: thnx will give it a shot [09:26] nik90_: I spoke to mzanetti yesterday, he has a demo... [09:26] http://paste.ubuntu.com/6087730/ [09:26] popey: ooh nice [09:26] ? [09:26] http://paste.ubuntu.com/6087739/ [09:26] nice! [09:26] nice work popey and mzanetti :) [09:27] popey: does this work on phone and desktop? or just phone? [09:27] mzanetti: thnx [09:27] nik90_: it crashes on the desktop :/ [09:27] but it should run everywhere... [09:27] mzanetti, is the 'sudo start ubuntu-location-service' not supposed to be 'sudo service ubuntu-location-service start'? Or do both work? [09:28] dpm: AFAIK the "start " is the new, shorter way. both should work [09:28] ok, nice to know, thanks! [09:28] dpm: is that for the phone? [09:28] ^^ [09:28] yes [09:28] yes [09:28] :) [09:28] but I'm not entirely positive... might work only for the user sessions, e.g. "start unity8" and for system services you still need the service start [09:28] but on the phone it should autostart now [09:29] I have it autostarted here [09:29] popey, dpm: yesterday I've contacted some people and I think with the very latest image we have that running already and the apparmor policy is fixed too [09:29] nice one [09:29] I'll do some last testing this evening and will upload GetMeWheels [09:30] cool [09:30] popey: okay. Wow will try this after my late breakfast. Btw I tried phablet-flash cdimage-touch, but instead of grabbing the new new image, I think it installs the image that I downloaded when I got the phone. [09:30] \o/ late breakfast [09:31] Saviq: hi! I have a D-Bus service which creates a QQuickView in response to some client request; the window is shown and works correctly, but if I swipe it away it doesn't appear in the "Recent apps" list, and therefore it's impossible to find it again [09:31] popey: mostly brunch :) [09:31] nik90_: "phablet-flash cdimage-touch" will download and install the most recent "blessed" / current image [09:31] Saviq: I created a desktop file for it, but it didn't help [09:31] you can add --pending to get bleeding edge on it [09:31] okay [09:31] Saviq: any ideas of what could be wrong? [09:32] mardy, well, short-term solution - make sure it's started with --desktop_file_hint argument [09:33] mardy, but this will soon stop working anyway - you'll have to launch it via upstart [09:33] mardy, so that upstart authorizes the app to show a surface [09:34] mardy, what's your use case? [09:35] Saviq: the Online Accounts UI: it can be invoked by the SystemSettings or by other applications, and it should appear as modal to the application invoking it (this doesn't work yet), but still the instances need to be aware of each other, not to edit the same accounts at the same time [09:36] Saviq: so I created a D-Bus service; it creates a QQuickWindow with the OnlineAccounts UI, when requested [09:38] mardy, sounds pretty tricky, a) I'm afraid we didn't consider a process that would dynamically create a surface yet [09:38] mardy, b) we can only do one surface per .desktop file atm [09:39] mardy, c) I wonder how secure that would be (arbitrary surfaces appearing as modal to applications feels like a perfect way for spoofing passwords) [09:39] Saviq: I think that the .desktop file is a temporary workaround only; eventually, when we get window reparenting, the created windows will appear as part of the calling application, and not as separate tasks [09:39] greyback, thoughts ↑? [09:40] Saviq: if (c) becomes an issue, reparenting could be mediated with apparmor, somehow [09:42] mardy, yeah, possibly - for now, how difficult would it be for you to spawn a separate process for the new window? [09:43] Saviq: well, if we are talking about "for now", the --desktop_file_hint trick you suggested is good enough [09:43] mardy and I have asked for Mir to have gain the surface parent idea [09:43] mardy, not sure how long that will work, though [09:44] mardy, but as long as you only create a single QQW and the whole service is started with --desktop_file_hint, it will work for *some* time [09:44] greyback, yeah, that in itself is needed for a few reasons [09:45] indeed [09:45] greyback, I'm just worried we haven't thought of how that would actually work in terms of "how do I know which surface I parent to" and "how do we know some app is not hijacking my password" [09:46] Saviq: in the long run the goal is to be able to create more windows (otherwise I wouldn't bother with the D-Bus service stuff), but for the time being we have no client apps making use of this, so it's all fine :-) [09:46] mardy, yeah, of course [09:47] Saviq: i've not considered those things either tbh. Would need list of use cases where we need the idea [09:47] greyback, it should be a safe for a process to have --desktop_file_hint and create surfaces dynamically, right? [09:47] Saviq: how to make sure that the issue is not forgotten? Do you want me to file a bug report? [09:47] Saviq: or will you write it in some blueprint? [09:48] mardy, yes please, against unity-mir I think [09:48] Saviq: yep. desktop file only for the session. session can have multiple surfaces then [09:48] greyback, i.e. it will only be considered for app management when the surface is actually created, not when the process starts [09:49] greyback, it will be trickier with upstart, though (i.e. we might need more "sources" of authenticated surfaces) [09:49] Saviq: yes [09:50] Saviq: mir tells shell when a client connects to it, and naturally when it creates surface. Is only at that stage app is considered running, so app is then managed [09:50] I'm having troubles uploading my click app to https://myapps.developer.ubuntu.com/dev/click-apps. After choosing the click package to upload and pressing save, it keeps saying "0 seconds left" and doen't save. [09:51] greyback, yup, but I mean that's when we'll ask upstart, if the app is auth'ed to display the surface [09:51] greyback, but upstart won't know about mardy's DBus service [09:52] greyback, so we need another way to authenticate it (which, btw, will probably be related to the fact that we want to parent that surface to an app's) [09:52] greyback, probably an apparmor-protected interface for trusted services that can do that (online accounts, content management etc.) [09:53] Saviq: we don't authenticate individual surfaces right now, only the session/process that creates them. If shell can recognise that the dbus service is mardy's one, it will let it show whatever surface it wants. That is case right now [09:54] Saviq: I guess the issue is only with reparenting, right? We could say that only a few apps are allowed to use the reparening API [09:54] greyback, yeah, I'm talking long term [09:54] Saviq: the API internally could try to create a file somewhere in the filesystem, and apparmor would block that if the app is not allowed [09:54] Saviq: yep, what you're saying makes sense in future [09:54] mardy, not only with reparenting, but just the fact that a process wants to display a surface (connects to mir) [09:55] mardy, will need to be authenticated [09:55] erm [09:55] authorized [09:56] mardy, i.e. you won't be able to just launch any app from the console and expect it to show up - we need it mediated through upstart (if not for anything else - to match surfaces to app ids) [09:56] otherwise we'd have to go the BAMF way all over again [09:56] Saviq: but most (all?) apps will have to display something, so why do we need to protect it at all? [09:57] apart from the case of an app opening 30 windows :-) [09:57] mardy, that in itself is not really about protecting [09:57] mardy, but just having one place (to rule them all) through which apps are launched [09:57] Saviq: ah, so it's about mapping a surface to a well-known app? [09:57] greyback: I get this one here: Shell.qml:78: Error: Unknown method parameter type: unity::shell::application::ApplicationManagerInterface* [09:57] mardy, so that we have an authoritative mapping, yeah [09:57] greyback: shouldn't be registered by your plugin? [09:58] mzanetti, greyback maybe is not registered with full namespace path? [09:58] remember moc doesn't do well with namespaces? [09:58] mzanetti: no we don't register the interface at all, only the implementation [09:58] greyback: I guess we'd need to do that. where is the code? [09:59] Saviq: makes sense (though I'm not sure this belongs to upstart, it seems a task for the shell, IMHO) [09:59] greyback, I think we need to register the interface too, 'cause otherwise you can't say "return *any* implementation of that" [09:59] mardy, shell has an app manager that keeps that mapping indeed [09:59] mardy, but the initial "oh, here's a surface, where's it coming from?" is answered by upstart [09:59] Saviq: actually... wouldn't it make sense to register interfaces in the shell itself? [10:00] Saviq: and only implementations in the plugins [10:00] mzanetti: qtubuntu (and unity-mir) [10:00] mardy, as upstart is the only supported way to launch apps [10:00] mzanetti, you mean like in main()? [10:00] Saviq: for instance, yes [10:01] mzanetti, maybe [10:01] mzanetti, but [10:01] mzanetti, we'd need a plugin / library with them [10:01] mzanetti, as right now interface in plugin a is not the same interface as in plugin b [10:01] 'cause they're compiled separately [10:02] plugin a == implementation a / plugin b == implementation b [10:02] but they implement the same interface [10:02] so it should be the same [10:02] mzanetti, but they compile it separately [10:02] unless there's some version mismatch [10:02] mzanetti, I think it's not matched just by its name [10:03] mzanetti, I just think even gcc would complain [10:03] complain about what? [10:03] mzanetti, if you had two separate compiles of the same source code and try to use them from each other as they'd be the same [10:04] maybe I'm wrong, but I would have assumed that works just fine [10:04] mzanetti, what I mean is that if you register ClassA from ClassA.h in both plugin A and B [10:05] why would we do that? [10:05] the objects would not be of the same class [10:05] scratch that, simpler [10:05] if you compile ClassInterface in the shell (to register it), and then compile it separately in a plugin [10:06] I really doubt that an object of ClassInterface from the plugin would be an object of ClassInterface from the shell [10:06] saviq, we're not talking about objects here [10:06] Saviq: we register a type [10:06] and that is the same as long as the .h file wasn't changed [10:07] the actual object only comes from the implementation of the plugin. but follows the type which can be compiled wherever you want [10:07] maybe I'm missing something [10:07] mzanetti: In case you are interested, on trying your code in the clock app (in desktop), I get the message Could not reference provider: The name org.freedesktop.Geoclue.Providers.Gypsy was not provided by any .service files/ [10:08] mzanetti: I think this is better than no output :) [10:08] nik90_: hehe, yeah. you should be able to get it running by setting up geoclue. but not sure if it's worth the efforts [10:09] mzanetti, just try, I feel like that's not going to work, but feel free to prove me wrong [10:09] mzanetti, I just feel like how can QML say that ClassA inherits InterfaceA to match the return type [10:09] if they've been compiled separately (even from the same source - doesn't matter) [10:10] mzanetti: yeah, but atleast the clock app does not crash when trying this in desktop making it viable for use on phone. [10:10] ergh, like how does QML know that they were compiled from the same .h? [10:10] the same way it knows it right now [10:11] let me try [10:15] Saviq: ok... you're right... it doesn't produce the error message any more, but what I get is QObject(0x0) [10:15] mzanetti, if it matched on class name or something I'd be scared ;) [10:16] mzanetti, but sure, if we build a lib in unity-api [10:16] mzanetti, and then link to that from the implementations [10:16] mzanetti, that would work then [10:16] there just needs to be a common binary where they live in [10:16] Saviq: yeah... I think way to go in the mid-term [10:17] for now I'm going to patch qtubuntu [10:38] bzoltan1, I don't seem to connect to the phone to deploy apps to it today. QtC detects the device and enables developer mode correctly, but when pressing Ctrl+F12 to deploy and run my app, I get a "ssh_exchange_identification: Connection closed by remote host" - any ideas what it could be? === Guest72454 is now known as karni === MacSlow is now known as MacSlow|lunch === gusch is now known as gusch|lunch [11:13] zsombi, I'm trying to get a very simple QML example that displays the camera output occupying the whole phone screen (or at least all the space below the header). I'm not too sure how to do it, but I'm sure it's something trivial for you :) Where should I best specify anchoring and where width/height? -> http://pastebin.ubuntu.com/6092019/ [11:15] dpm: so you'd like to have it as "live" background for the MainView? [11:17] dpm: is it so? [11:18] zsombi, essentially, yes. [11:19] zsombi, I'd like to show the header with the tab, but if that makes things difficult, I'd be happy to have the camera full screen, in the same way the camera app does [11:19] dpm: well, in that case I'm afraid you cannot do it like this. You need to specify a style for the MainView as all the MainView content is re-parented onto an internal component which occupies only a portion of the MainView [11:20] dpm: to my knowledge camera app doesn't have neither header nor tabs [11:20] zsombi, I know, I know, I meant only that the camera app is full screen [11:21] dpm: ah, so you'd like to have it as background for the Tabs? [11:21] zsombi, yes. Alternatively, can I do it in a way that the camera output is shifted down the mainview the same number of grid units the header occupies? I'm not bothered about a portion of it being off-screen [11:22] popey, dpm, mhall119: Feel free to test the alarm UI at https://code.launchpad.net/~nik90/ubuntu-clock-app/new-alarm-designs/+merge/183899. The alarm UI has been connected to the alarm manager with EDS integration. However the alarm will not actually ring yet to the platform notification support not being there yet. [11:22] zsombi: If you have time, please do the honours of reviewing the branch. [11:22] SWEEET! [11:22] nik90_: will do [11:22] \o/ [11:23] * popey runs adhoc_branch_build_run.sh lp:~nik90/ubuntu-clock-app/new-alarm-designs [11:23] dpm: uhh... so: if you want to have the camera view to be under the whole app (also under header) you need to define it in a style component. If you want to have it under Tabs, you can put the Tabs as child of Camera {}, then anchors.fill Camera to its parent [11:23] * popey watches it appear on the phone [11:24] nik90_: ah, thank you, thank you :) [11:24] http://popey.com/~alan/device-2013-09-11-122420.png [11:24] \o/ [11:25] http://popey.com/~alan/device-2013-09-11-122453.png [11:25] nik90_: http://popey.com/~alan/device-2013-09-11-122513.png can't see the text to label the alarm [11:25] if I pull up it snaps back down [11:26] http://popey.com/~alan/device-2013-09-11-122623.png managed that kinda blind [11:26] popey: yeah that's something affecting timer and alarm. Somehow I need to anchor the label to the OSK. [11:27] popey: the workaround for now is to go in order. So set the time then label and then the options [11:28] right [11:29] looks great though! :D [11:29] (needs a setting for only weekdays though) [11:29] I don't need waking at 6am on Saturday [11:29] popey: I think that can be implemented [11:31] zsombi, thanks I'll have a play with it, I need to see what makes sense in the app, I'll probably come back to you :) [11:31] dpm: okay, good luck! [11:32] guys, do you happen to know why was it decided so that MainView.backgroundColor chooses between Ambiance and SuruXXX themes? [11:33] Saviq: ^ [11:35] zsombi, no idea [11:36] zsombi, but I do remember something about a binding loop [11:36] zsombi, bug #1204453 [11:36] Launchpad bug 1204453 in Ubuntu UI Toolkit "Binding loop in MainView when using tabs in unity8 indicators" [High,Confirmed] https://launchpad.net/bugs/1204453 [11:36] Sabviq: yes, I found the cause (style change is applied in MainViewStyle, and then it is destroyed because of theme change...) [11:53] dpm: I have the same problem :( === MacSlow|lunch is now known as MacSlow === _salem is now known as salem_ [12:16] hey, is it possible to make a Composer Shett fill the whole parent? [12:16] sheet* === dholbach_ is now known as dholbach [12:52] mzanetti: The way to refer to the user's home in the apparmor manifest is "@{HOME}" (obviously...). Once I got that straightened out, those apparently unrelated errors went away, and my click package installed and worked! [12:53] rschroll: oh, cool [12:53] Thanks again for the help! [13:16] A question on U1db and XDG_DATA_HOME: If you create a database with a relative file path, U1db attempts to put it in $XDG_DATA_HOME. When testing locally, a program run with qmlscene thinks this is ~/.local/share/Qt Project/QtQmlViewer/. When running as a click package, this is still the case, but apparmor doesn't allow writes there; it expects XDG_DATA_HOME to be ~/.local/share/@{APP_PKGNAME}/. Any ideas on how to fix this? [13:30] And while y'all are considering that, is it possible for a click package to register to handle a mimetype? [13:34] rschroll, I don't think it's possible [13:35] kalikiana, you might be able to answer rschroll's question about U1db paths ^ [13:35] nik90_: so the platform side of alarms isn't working yet? [13:36] dpm: OK. Should I submit a feature request somewhere? [13:38] rschroll, you can, but to set the expectations, and given that click packages are supposed to be self-contained, I don't think it's likely to be implemented. In any case, you can do it here, and you'll get the authoritative answer from the click developers: https://bugs.launchpad.net/ubuntu/+source/click/+filebug [13:38] Thanks [13:45] how can I delete my app's u1db locally? [13:48] dpm, ping [13:49] hi clepto [13:49] dpm, hi! ready to package! I'll follow this right? http://developer.ubuntu.com/resources/tutorials/getting-started/creating-click-packages-with-cpp-extensions/ [13:50] clepto, yes, you can follow this, but you'll need to compile your extension for armhf first. Have you already done that/do you know how to do it? [13:51] bzoltan1, jppiiroinen, is "Build application on device" still working? I don't see any extra button on the Devices tab to set it up [13:55] timp: I have seen there were changes to the toolbar/panel [13:56] boiko: yes [13:56] timp: but I think there might be a regression, I am trying today's image and I cannot open the toolbar at all [13:57] dpm, no I don't know how to build it for arm [13:57] boiko: in gallery-app it works for me. in phone-app I cannot get a toolbar :( [13:58] boiko: browser-app and notes-app also work fine [13:58] clepto, ok. I guess you're building it for the desktop atm. How are you doing it? Are you using stock qmake from Qt Creator, or cmake, or something else? [13:58] timp: address-book-app and messaging-app are not working [13:59] boiko: which image? [14:00] timp: I just flashed using cdimage-touch --pending [14:00] not the 5.1 one [14:00] boiko: ok I have 20130910.2 [14:00] dpm, I'm using qmake, but I never worked with qmake, hakermania did it for me (he is not here now) [14:00] boiko: can you check other apps? gallery-app and the webbrowser? [14:00] timp: gallery is not working here either [14:00] damn [14:01] boiko: I'm downloading the 20130911.1 image now [14:01] timp: and on browser if I hide the toolbar, it does not show up again [14:03] that's bad [14:06] boiko: what's apt-cache policy qtdeclarative5-ubuntu-ui-toolkit-plugin on device? [14:06] dpm: It is well hidden in th menus... but it is there "platform development environment" [14:07] timp: http://paste.ubuntu.com/6092618/ [14:08] clepto, how do you currently build your extension? Do you have a separate project for it? Or do you have a single .pro file for both the QML code and the C++ code? [14:09] bzoltan1, I can't find it. Under which top-level menu is that option? [14:09] dpm, separate, you can see here the structure https://github.com/Clepto/cnotes-ubuntu-touch/tree/cnotes-ubuntu-one [14:09] boiko: huh that is old and doesn't have my new toolbar changes [14:09] dpm, dirParserPlugin is the plugin [14:09] bzoltan1: ^ do you know what's up there? boiko has toolbar problems in today's pending image with http://paste.ubuntu.com/6092618/ [14:09] timp: so something else changed :) [14:10] timp: all autopilot tests that rely on toolbars are failing in the smoke tests too [14:10] timp: I am affraid that it is HUD issue [14:11] like the touch detection of HUD blocking the bottom-edge-swipe in apps?? [14:12] bzoltan1: who can fix that? and how do you know its a HUD issue? [14:12] timp: Wellark [14:13] timp: the bottom edge swipe? gee... that is not HUD, in that case I have no idea [14:13] bzoltan1: I was just speculating. I just know that the toolbar is not working for boiko, and the image has an UITK package from 3 september [14:15] bzoltan1: so version 0.1.46+13.10.20130903.4-0ubuntu1 is after my initial toolbar update, but also after reverting it.. [14:15] timp: upgrade? [14:15] clepto, ok, it seems I can build it on the desktop by doing a: [14:15] qmake dirParser.pro [14:15] make [14:16] dpm, yes, its in the README [14:16] boiko, bzoltan1 I have today's stable image (not pending), and it has the same UITK package version, and toolbars work fine for me. [14:16] clepto, let me have a look to see if we can use the https://wiki.ubuntu.com/Touch/CrossCompile instructions as a basis [14:16] dpm, ok, thanks! [14:17] boiko: so something else must have changed also [14:17] timp: yes, probably [14:19] boiko: did this change for you? https://pastebin.canonical.com/97355/ [14:19] boiko: do other interactions with the apps still work? [14:20] timp: seems to be the same version: 13.10.1+13.10.20130904-0ubuntu1 [14:21] timp: everything else seems to be working fine [14:22] dpm, I'll be right back [14:23] boiko: I don't know what's wrong :s [14:24] timp: a dpkg -l on the device in case you need: http://paste.ubuntu.com/6092701/ [14:26] dpm, back [14:31] boiko: hud seems the same also. I don't know what to look for... [14:31] :/ [14:32] boiko: do you know of a way to figure out what changed from today's stable image to today's pending image? [14:32] om26er: ^ [14:33] timp, boiko you can look at the change in version numbers of packages in the .manifest file [14:33] http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/20130911.1/ [14:34] there is a .manifest file [14:34] boiko, how to clear sms logs in the messaging app ? [14:34] boiko, I am writing tests where i need to start fresh [14:35] om26er: remove (or move) the ~/.local/share/history-service directory [14:35] boiko, cool [14:36] nik90_, ping [14:41] boiko: I have to go afk for about an hour, bbl. [15:06] boiko: back. so < 1h :) [15:06] dpm, any progress? [15:07] boiko: I wonder what can break the toolbar like that. It doesn't even show the toolbar hint when you touch near the bottom of the screen? [15:08] clepto, not yet, sorry, I've been in meetings since :/ [15:08] dpm, no problem man, whenever you can! [15:08] boiko: I wonder whether somehow pressed events are broken. Do you use that anywhere instead of clicked? [15:18] A question about Page.flickable: I have a Page that usually has a single ListView, and the flickable property is set to that and everything's fine. But in some circumstances, I want to display two listviews side-by-side on this page. I think I should set Page.flickable=null in this case, so the header stays in place regardless of the scrolling of the listviews. But when I do this, I have two problems: The listview gets a big margin at the t [15:18] op, and its elements are visible through the header when scrolled. [15:18] Here's a test case: https://gist.github.com/rschroll/6491639. Am I doing something wrong, or is this a bug? [15:28] rschroll, I've experienced the same problem as a File Manager app developer. I'm pretty sure this is a bug [15:29] iBelieve: Should it be submitted against ubuntu-ui-toolkit, or something else? [15:39] rschroll, Yes, you should submit a bug there because it's a bug with the code that handles the app header [15:40] rschroll: the topmargin of the listview is updated automatically when it becomes the flickable of the page. [15:40] rschroll: if you have flickable: null in the page, the margin will be gone. [15:41] rschroll, iBelieve the cause is this code in the Page: [15:41] Binding { [15:41] target: page.flickable [15:41] property: "topMargin" [15:41] value: internal.headerHeight [15:41] when: page.flickable [15:41] } [15:42] hmm.. seems like the value is not reset to 0 when page.flickable is null. [15:42] rschroll: when you say flickable = null, you can try to add lisview.topMargin = 0; [15:42] timp: Just a sec - I'll try [15:44] timp: That does it for the margin; I still have the transparency issues [15:48] rschroll, set clip to true in your ListView [15:48] iBelieve: fantastic - that does it. [15:49] iBelieve, timp: thanks for the help! [15:49] rschroll, glad that works === marcoceppi_ is now known as marcoceppi [16:35] timp: long press is working on the messaging-app [16:36] timp: there is no indication of the toolbar reacting to the swipe from bottom [16:49] Hi guys, I've got a QML question. In a DashPreview, I have two buttons under "buttons: " section, and I can't reference any of these two. They have an id, but QML seems not to notice them. [16:49] Any hints for a QML newbe? :) [16:50] file:///home/phablet/shell/Dash/Music/MusicPreview.qml:214: ReferenceError: buttonIdHere is not defined [16:50] I thought it was a forward reference problem, but same error occurs when I try to define property alias foo: buttonIdHere.text [16:57] Figured it out the QML way. Used property binding. [17:40] karni: the buttonIdHere element is not defined [17:41] daker: you're telling me what I pasted, or you mean that ;)? because the button, with that id, *is* in that QML file :) [17:42] That's the problem [17:42] daker: in any case, I solved it with property binding, so I left that problem behind. thanks [17:42] ok === tiagohillebrandt is now known as tiagoscd === tiagoscd is now known as Guest67365 [18:38] clepto, ping [18:47] hakermania, nevermind [19:06] mhall119: to answer your question long time ago, the platform side does the organisation part but does *not* notify the user that an alarm has gone of [19:12] nik90_: Hey :) Did you see with the sdk team about the qml-file plugin ? [19:13] Chocanto: no...What is the news? [19:13] :) [19:13] Chocanto: oh the meeting [19:14] nik90_: Yes :) To know what to do with this plugin :) [19:14] Chocanto: No not yet I am afraid. People are quite busy to get a plugin merged at this time of the cycle. [19:14] nik90_: Yes.. I can understand them [19:15] nik90_: Ok, I will create a separate plugin so, thank you :) [19:15] Chocanto: I think for now that's the way to go [19:15] nik90_: And it's the only way to go :) [19:15] hehe [19:16] nik90_: And the docviewer isn't working currently, so... things have to be done fast ^^ [19:18] Chocanto: oh okay [19:19] Chocanto: In that case, coordinate with mhall to get this packages as a separate plugin and merged into the repos. [19:19] Chocanto: that's how the filemanager and music app have done things [19:19] nik90_: And that's how I have done in the past for the poppler plugin [19:19] nik90_: So 2 plugins will be needed to run the docviewer, wow ahah [19:20] Chocanto: yeah :( [19:20] Chocanto: but this is something which should take discussion early next cycle to avoid this [19:21] nik90_: Yes but we had no time to do this [19:21] Chocanto: i knw [19:21] nik90_: But the most important is that this app will work [19:50] nik90_: Chocanto: is this the file content reader plugin you guys made? [19:50] mhall119: Yes it is [19:54] so we have two options, either we get it part of the "Ubuntu 13.10 Platform", or we package it separately in each of your app's click packages [19:55] mhall119: make it part of the Ubuntu 13.10 will need how many days ? [19:55] Chocanto: we'll need to coordinate with the phablet engineers [19:56] the good news is that, since it doesn't affect the desktop, we're not under the hard deadlines that we otherwise would be [19:56] mhall119: Yes but this plugin is needed for the docviewer [19:56] popey: who should we talk to about getting these plugins to be part of the click platform? [19:57] mhall119: And I think the docviewer is under the hard deadlines [20:02] pmcgowan: ^^ is the docviewer under FF rules? [20:05] mhall119, would need to check on adding dependencies, but should be fine in universe [20:06] mhall119, you can always include the deps in the click [20:12] A repeat question on U1db and XDG_DATA_HOME: If you create a database with a relative file path, U1db attempts to put it in $XDG_DATA_HOME. When testing locally, a program run with qmlscene thinks this is ~/.local/share/Qt Project/QtQmlViewer/. When running as a click package, this is still the case, but apparmor doesn't allow writes there; it expects XDG_DATA_HOME to be ~/.local/share/@{APP_PKGNAME}/. Any ideas on how to fix [20:12] this? [20:15] FF rules ? [20:20] are there any good examples for an app using ConditionalLayout from the SDK? [20:21] I've found a few doing custom stuff using things like "property bool wideAspect: width >= units.gu(80)" [20:21] but nothing actually using ConditionalLayout === salem_ is now known as _salem [20:22] I understand the basics, for instance I'm the one who gave this answer: http://askubuntu.com/questions/332519/can-a-single-ubuntu-sdk-target-touch-and-desktop-with-separate-layouts/340283#340283 [20:22] but I'd like to look at a more complex example [20:29] rschroll, have you verified that u1db databases don't work on the phone? That's pretty serious. I was told that it should work just by using ".db" as the path. [20:31] rschroll, see this discussion: https://plus.google.com/117574309170420884411/posts/JbD7qfdkeWE [20:32] nik90_, ping [20:34] iBelieve: I have no phone to test this on, but this is what I'm seeing using a click installer on the 13.10 desktop [20:36] rschroll, according to Stuart Langridge in reply to my Google+ question, it should work out right on the phone. [20:36] rschroll, Awhile ago nik90_ said that my data wasn't being saved when the app got restarted, so I don't know if the U1db path used is right or not [20:41] The path he gives is the same as I see used, and the apparmor profile does not give apps write access for files in that directory [20:41] Unless it's different on the phone and the desktop. (But why?) [21:01] iBelieve, did you get anywhere with the filemanager test failures? Any thoughts? [21:09] balloons, I don't understand why they're failing. The only one that failed for me is the open file test. [21:12] iBelieve, yes, I did see that even on the desktop [21:15] balloons, so the only time most of tests fail is on the phone, right? [21:16] iBelieve, it's failing in the jenkins VM as well [21:21] balloons, I don't understand why the tests fail in the VM or on the phone but not on the desktop. Is there any way to watch them being executed to see if the app doesn't look right? [21:30] iBelieve, yes there is [21:30] iBelieve, let me run trunk in the jenkins VM and you can see the video of the failures, ok? [21:32] balloons, that's cool that that is possible [21:32] mhall119, ping [21:34] iBelieve, you can watch it run here. 91.189.93.70:8080/job/generic-mediumtests/358 [21:38] ahayzen: pong [21:39] mhall119, u said a few meetings ago to let u know when the test cases were passing so u could enable something to force the tests to pass before a merge is done... did this ever get enabled? [21:39] mhall119, cause it appears tht the tests are passing http://reports.qa.ubuntu.com/smokeng/saucy/image/4157/music-app-autopilot/ [21:39] ahayzen: not that I'm aware of, are all of the tests passing now? [21:40] * ahayzen is checking the other devices [21:40] balloons: who can enable the enforcement of tests? [21:40] for music app [21:40] since they're all passing now [21:41] mhall119, don't think the Nexus 10 is passing? [21:41] mhall119, will it only be the Nexus 4 tht it is enforced on? [21:42] mhall119, nexus 4, 7, galaxy are passing but the 10 is failing :/ [21:43] ahayzen: that I don't know, balloons or fginther are the folks to talk to about that [21:44] systemsettle before/after were the ones tht failed http://reports.qa.ubuntu.com/smokeng/saucy/image/4158/music-app-autopilot/ [21:49] mhall119, to whom should I talk about packaging? [22:01] Any hints on icons for click packages? I can only get it to work if I give an absolute path. Is there a better way? === _salem is now known as salem_ [22:18] rschroll, I got told to use "icon=.png" in the desktop file. It doesn't show up right in the dash with me, but I think it's a bug. click apps that are released don't show up ether. [22:19] labsin: Thanks. Do you (or anyone else) happen to know if SVG files are acceptable. (They are on the desktop.) [22:20] rschroll, No clue. Wanted to know that too. [22:20] I have no Ubuntu touch supported phone :/ [22:21] labsin: Same here. Makes this whole process sorta nebulous. [22:37] clepto: depends on your question [22:37] clepto: what do you need help with? [22:38] mhall119, cross compiling, but I might need help in general regarding packaging [22:38] mhall119, my app is ready! :D bugfree I believe (so far) [22:40] clepto: xnox I think can help you with cross compiling [22:40] mhall119, thanks [22:40] xnox, ping