/srv/irclogs.ubuntu.com/2013/09/11/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
=== salem_ is now known as _salem
mihirGood morning :)04:57
mihirnik90: Good morning :)04:57
dpmgood morning all06:10
mihirdpm: Good morning :)06:41
dpmhi mihir06:48
mihirdpm: Hello :)06:48
nik90_dpm mihir: Good morning :)06:50
dholbachgood morning06:51
dpmhey nik90_, morning. Good news: the Alarms API backend (eds) landed yesterday :)06:51
nik90_dpm: yes I read the irc chat. Awesome!06:52
nik90_dpm: regarding your email about the alarms notifications06:53
mihirdpm: we are almost done with our all bugs except one I guess06:53
nik90_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
mihirin calculator06:53
nik90_mihir: wow, congrats!06:54
dpmnik90_, 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
nik90_dpm: I am actually 90% complete with the alarms branch.06:58
nik90_dpm: I am just bit worried that when my branch is merged to trunk, a user can actaully set and hear an alarm :)06:59
nik90_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
dpmnik90_, indeed, we'll figure that out07:01
dpmthat sounds awesome07:01
nik90_dpm: so email was charles kerr was correct?07:02
dpmnik90_ I don't know, I asked katie and she mentioned mpt was working on indicators, so I CC'd him. We'll find out07:04
nik90_dpm: okay. As long we get the answers, I am good07:05
dpmperfect07:06
nik90_zsombi: ping07:27
zsombinik90_: pong07:28
nik90_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:0007:29
nik90_zsombi: I created this daily alarm yesterday, so when saving it, it shows the correct date.07:29
nik90_zsombi: but now that the time has passed, shouldnt it update the date to point tomorrow same time?07:30
zsombinik90_: 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 date07:31
nik90_zsombi: so I am guessing this is the same case for weekly alarms as well.07:32
zsombinik90_: 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 time07:32
nik90_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 date07:32
zsombinik90_ yes07:32
nik90_zsombi: couldnt we instead making the backend update the alarm details automatically?07:33
zsombinik90_: well, we can add an extra property to the alarm, called nextOccurrence07:33
zsombinik90_: not really07:34
nik90_zsombi: will the nextOccurrence property update automatically?07:35
zsombinik90_: will07:35
nik90_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
nik90_It isn't mission critical07:35
zsombinik90_: 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 sync07:36
nik90_zsombi: ah okay07:36
zsombinik90_: sure, need to add a work item to the BP, and we can see how we can schedule it, however seems a bit critical07:36
zsombinik90_: 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 backend07:37
nik90_zsombi: you mean you can sync this field every time I fetch the alarm details?07:38
zsombinik90_: yes07:38
nik90_zsombi: my plan is run a qml timer every minute (when user is in alarm tab), so that would work07:39
zsombinik90_: 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:40
zsombinik90_: 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
nik90_zsombi: woops okay :D07:41
zsombinik90_: so then we need 2 things: nextOccurrence property and forced fetch support in the model.07:42
nik90_zsombi: so when EDS updates the array, my listview showing the alarms will then automatically update. Nice07:42
zsombinik90_: yes, that's the way07:42
nik90_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 display07:44
zsombinik90_: the model itself does not have, however the QAbstractListModel does have07:45
zsombinik90_: onDataChanged07:47
zsombinik90_: no, sorry, it is onModelReset!07:48
nik90_zsombi: ah that works! thnx07:50
zsombinik90_: if you want to display some ActivityIndicator suggesting that there's something ongoing, you can listen to onModelAboutToBeReset07:51
nik90_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
zsombinik90_: ;)07:54
nik90_dpm,popey: Any new updates on qtlocation qml documentation?08:07
=== chriadam is now known as chriadam|away
JamesTaitGood morning all, happy Hot Cross Bun Day! :-D08:37
FooBarWidgetis this channel the right place for help with ubuntu packaging?09:06
dpmnik90_, not yet, sorry. In the meantime you might want to look here for an example:09:24
dpmhttp://qt.gitorious.org/qt/qtlocation/source/e31739e1b6d24616654b03d30bcdf6aeba037117:src/location/doc/snippets/declarative/declarative-location.qml09:24
dpmnote that the repo is ahead of what we've got in Ubuntu, so you'd need to import QtLocation 5.0 and not QtPositioning09:24
dpmthere are some unofficial docs here: http://qt.developpez.com/doc/5.0-snapshot/location-positioning-qml09:25
popeynik90_: yes!09:25
nik90_dpm: thnx will give it a shot09:25
popeynik90_: I spoke to mzanetti yesterday, he has a demo...09:26
popeyhttp://paste.ubuntu.com/6087730/09:26
nik90_popey: ooh nice09:26
mzanetti?09:26
popeyhttp://paste.ubuntu.com/6087739/09:26
dpmnice!09:26
dpmnice work popey and mzanetti :)09:26
nik90_popey: does this work on phone and desktop? or just phone?09:27
nik90_mzanetti: thnx09:27
mzanettinik90_: it crashes on the desktop :/09:27
mzanettibut it should run everywhere...09:27
dpmmzanetti, is the 'sudo start ubuntu-location-service' not supposed to be 'sudo service ubuntu-location-service start'? Or do both work?09:27
mzanettidpm: AFAIK the "start <service>" is the new, shorter way. both should work09:28
dpmok, nice to know, thanks!09:28
nik90_dpm: is that for the phone?09:28
nik90_^^09:28
popeyyes09:28
dpmyes09:28
dpm:)09:28
mzanettibut 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 <service> start09:28
popeybut on the phone it should autostart now09:28
popeyI have it autostarted here09:29
mzanettipopey, 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 too09:29
popeynice one09:29
mzanettiI'll do some last testing this evening and will upload GetMeWheels09:29
dpmcool09:30
nik90_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
popey\o/ late breakfast09:30
mardySaviq: 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 again09:31
nik90_popey: mostly brunch :)09:31
popeynik90_: "phablet-flash cdimage-touch" will download and install the most recent "blessed" / current image09:31
mardySaviq: I created a desktop file for it, but it didn't help09:31
popeyyou can add --pending to get bleeding edge on it09:31
nik90_okay09:31
mardySaviq: any ideas of what could be wrong?09:31
Saviqmardy, well, short-term solution - make sure it's started with --desktop_file_hint argument09:32
Saviqmardy, but this will soon stop working anyway - you'll have to launch it via upstart09:33
Saviqmardy, so that upstart authorizes the app to show a surface09:33
Saviqmardy, what's your use case?09:34
mardySaviq: 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 time09:35
mardySaviq: so I created a D-Bus service; it creates a QQuickWindow with the OnlineAccounts UI, when requested09:36
Saviqmardy, sounds pretty tricky, a) I'm afraid we didn't consider a process that would dynamically create a surface yet09:38
Saviqmardy, b) we can only do one surface per .desktop file atm09:38
Saviqmardy, 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
mardySaviq: 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 tasks09:39
Saviqgreyback, thoughts ↑?09:39
mardySaviq: if (c) becomes an issue, reparenting could be mediated with apparmor, somehow09:40
Saviqmardy, yeah, possibly - for now, how difficult would it be for you to spawn a separate process for the new window?09:42
mardySaviq: well, if we are talking about "for now", the --desktop_file_hint trick you suggested is good enough09:43
greybackmardy and I have asked for Mir to have  gain the surface parent idea09:43
Saviqmardy, not sure how long that will work, though09:43
Saviqmardy, 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* time09:44
Saviqgreyback, yeah, that in itself is needed for a few reasons09:44
greybackindeed09:45
Saviqgreyback, 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:45
mardySaviq: 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
Saviqmardy, yeah, of course09:46
greybackSaviq: i've not considered those things either tbh. Would need list of use cases where we need the idea09:47
Saviqgreyback, it should be a safe for a process to have --desktop_file_hint and create surfaces dynamically, right?09:47
mardySaviq: how to make sure that the issue is not forgotten? Do you want me to file a bug report?09:47
mardySaviq: or will you write it in some blueprint?09:47
Saviqmardy, yes please, against unity-mir I think09:48
greybackSaviq: yep. desktop file only for the session. session can have multiple surfaces then09:48
Saviqgreyback, i.e. it will only be considered for app management when the surface is actually created, not when the process starts09:48
Saviqgreyback, it will be trickier with upstart, though (i.e. we might need more "sources" of authenticated surfaces)09:49
greybackSaviq: yes09:49
greybackSaviq: 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 managed09:50
labsinI'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:50
Saviqgreyback, yup, but I mean that's when we'll ask upstart, if the app is auth'ed to display the surface09:51
Saviqgreyback, but upstart won't know about mardy's DBus service09:51
Saviqgreyback, 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
Saviqgreyback, probably an apparmor-protected interface for trusted services that can do that (online accounts, content management etc.)09:52
greybackSaviq: 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 now09:53
mardySaviq: I guess the issue is only with reparenting, right? We could say that only a few apps are allowed to use the reparening API09:54
Saviqgreyback, yeah, I'm talking long term09:54
mardySaviq: the API internally could try to create a file somewhere in the filesystem, and apparmor would block that if the app is not allowed09:54
greybackSaviq: yep, what you're saying makes sense in future09:54
Saviqmardy, not only with reparenting, but just the fact that a process wants to display a surface (connects to mir)09:54
Saviqmardy, will need to be authenticated09:55
Saviqerm09:55
Saviqauthorized09:55
Saviqmardy, 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
Saviqotherwise we'd have to go the BAMF way all over again09:56
mardySaviq: but most (all?) apps will have to display something, so why do we need to protect it at all?09:56
mardyapart from the case of an app opening 30 windows :-)09:57
Saviqmardy, that in itself is not really about protecting09:57
Saviqmardy, but just having one place (to rule them all) through which apps are launched09:57
mardySaviq: ah, so it's about mapping a surface to a well-known app?09:57
mzanettigreyback: I get this one here: Shell.qml:78: Error: Unknown method parameter type: unity::shell::application::ApplicationManagerInterface*09:57
Saviqmardy, so that we have an authoritative mapping, yeah09:57
mzanettigreyback: shouldn't be registered by your plugin?09:57
Saviqmzanetti, greyback maybe is not registered with full namespace path?09:58
Saviqremember moc doesn't do well with namespaces?09:58
greybackmzanetti: no we don't register the interface at all, only the implementation09:58
mzanettigreyback: I guess we'd need to do that. where is the code?09:58
mardySaviq: makes sense (though I'm not sure this belongs to upstart, it seems a task for the shell, IMHO)09:59
Saviqgreyback, I think we need to register the interface too, 'cause otherwise you can't say "return *any* implementation of that"09:59
Saviqmardy, shell has an app manager that keeps that mapping indeed09:59
Saviqmardy, but the initial "oh, here's a surface, where's it coming from?" is answered by upstart09:59
mzanettiSaviq: actually... wouldn't it make sense to register interfaces in the shell itself?09:59
mzanettiSaviq: and only implementations in the plugins10:00
greybackmzanetti: qtubuntu (and unity-mir)10:00
Saviqmardy, as upstart is the only supported way to launch apps10:00
Saviqmzanetti, you mean like in main()?10:00
mzanettiSaviq: for instance, yes10:00
Saviqmzanetti, maybe10:01
Saviqmzanetti, but10:01
Saviqmzanetti, we'd need a plugin / library with them10:01
Saviqmzanetti, as right now interface in plugin a is not the same interface as in plugin b10:01
Saviq'cause they're compiled separately10:01
Saviqplugin a == implementation a / plugin b == implementation b10:02
mzanettibut they implement the same interface10:02
mzanettiso it should be the same10:02
Saviqmzanetti, but they compile it separately10:02
mzanettiunless there's some version mismatch10:02
Saviqmzanetti, I think it's not matched just by its name10:02
Saviqmzanetti, I just think even gcc would complain10:03
mzanetticomplain about what?10:03
Saviqmzanetti, if you had two separate compiles of the same source code and try to use them from each other as they'd be the same10:03
mzanettimaybe I'm wrong, but I would have assumed that works just fine10:04
Saviqmzanetti, what I mean is that if you register ClassA from ClassA.h in both plugin A and B10:04
mzanettiwhy would we do that?10:05
Saviqthe objects would not be of the same class10:05
Saviqscratch that, simpler10:05
Saviqif you compile ClassInterface in the shell (to register it), and then compile it separately in a plugin10:05
SaviqI really doubt that an object of ClassInterface from the plugin would be an object of ClassInterface from the shell10:06
mzanettisaviq, we're not talking about objects here10:06
mzanettiSaviq: we register a type10:06
mzanettiand that is the same as long as the .h file wasn't changed10:06
mzanettithe actual object only comes from the implementation of the plugin. but follows the type which can be compiled wherever you want10:07
mzanettimaybe I'm missing something10:07
nik90_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:07
nik90_mzanetti: I think this is better than no output :)10:08
mzanettinik90_: hehe, yeah. you should be able to get it running by setting up geoclue. but not sure if it's worth the efforts10:08
Saviqmzanetti, just try, I feel like that's not going to work, but feel free to prove me wrong10:09
Saviqmzanetti, I just feel like how can QML say that ClassA inherits InterfaceA to match the return type10:09
Saviqif they've been compiled separately (even from the same source - doesn't matter)10:09
nik90_mzanetti: yeah, but atleast the clock app does not crash when trying this in desktop making it viable for use on phone.10:10
Saviqergh, like how does QML know that they were compiled from the same .h?10:10
mzanettithe same way it knows it right now10:10
mzanettilet me try10:11
mzanettiSaviq: ok... you're right... it doesn't produce the error message any more, but what I get is QObject(0x0)10:15
Saviqmzanetti, if it matched on class name or something I'd be scared ;)10:15
Saviqmzanetti, but sure, if we build a lib in unity-api10:16
Saviqmzanetti, and then link to that from the implementations10:16
Saviqmzanetti, that would work then10:16
Saviqthere just needs to be a common binary where they live in10:16
mzanettiSaviq: yeah... I think way to go in the mid-term10:16
mzanettifor now I'm going to patch qtubuntu10:17
dpmbzoltan1, 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?10:38
=== Guest72454 is now known as karni
=== MacSlow is now known as MacSlow|lunch
=== gusch is now known as gusch|lunch
dpmzsombi, 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:13
zsombidpm: so you'd like to have it as "live" background for the MainView?11:15
zsombidpm: is it so?11:17
dpmzsombi, essentially, yes.11:18
dpmzsombi, 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 does11:19
zsombidpm: 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 MainView11:19
zsombidpm: to my knowledge camera app doesn't have neither header nor tabs11:20
dpmzsombi, I know, I know, I meant only that the camera app is full screen11:20
zsombidpm: ah, so you'd like to have it as background for the Tabs?11:21
dpmzsombi, 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-screen11:21
nik90_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
nik90_zsombi: If you have time, please do the honours of reviewing the branch.11:22
popeySWEEET!11:22
popeynik90_: will do11:22
dpm\o/11:22
* popey runs adhoc_branch_build_run.sh lp:~nik90/ubuntu-clock-app/new-alarm-designs11:23
zsombidpm: 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 parent11:23
* popey watches it appear on the phone11:23
zsombinik90_: ah, thank you, thank you :)11:24
popeyhttp://popey.com/~alan/device-2013-09-11-122420.png11:24
popey\o/11:24
popeyhttp://popey.com/~alan/device-2013-09-11-122453.png11:25
popeynik90_: http://popey.com/~alan/device-2013-09-11-122513.png  can't see the text to label the alarm11:25
popeyif I pull up it snaps back down11:25
popeyhttp://popey.com/~alan/device-2013-09-11-122623.png  managed that kinda blind11:26
nik90_popey: yeah that's something affecting timer and alarm. Somehow I need to anchor the label to the OSK.11:26
nik90_popey: the workaround for now is to go in order. So set the time then label and then the options11:27
popeyright11:28
popeylooks great though! :D11:29
popey(needs a setting for only weekdays though)11:29
popeyI don't need waking at 6am on Saturday11:29
nik90_popey: I think that can be implemented11:29
dpmzsombi, 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
zsombidpm: okay, good luck!11:31
zsombiguys, do you happen to know why was it decided so that MainView.backgroundColor chooses between Ambiance and SuruXXX themes?11:32
zsombiSaviq: ^11:33
Saviqzsombi, no idea11:35
Saviqzsombi, but I do remember something about a binding loop11:36
Saviqzsombi, bug #120445311:36
ubot2`Launchpad bug 1204453 in Ubuntu UI Toolkit "Binding loop in MainView when using tabs in unity8 indicators" [High,Confirmed] https://launchpad.net/bugs/120445311:36
zsombiSabviq: yes, I found the cause (style change is applied in MainViewStyle, and then it is destroyed because of theme change...)11:36
bzoltan1dpm:  I have the same problem :(11:53
=== MacSlow|lunch is now known as MacSlow
=== _salem is now known as salem_
danielholmhey, is it possible to make a Composer Shett fill the whole parent?12:16
danielholmsheet*12:16
=== dholbach_ is now known as dholbach
rschrollmzanetti: 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:52
mzanettirschroll: oh, cool12:53
rschrollThanks again for the help!12:53
rschrollA 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:16
rschrollAnd while y'all are considering that, is it possible for a click package to register to handle a mimetype?13:30
dpmrschroll, I don't think it's possible13:34
dpmkalikiana, you might be able to answer rschroll's question about U1db paths ^13:35
mhall119nik90_: so the platform side of alarms isn't working yet?13:35
rschrolldpm: OK.  Should I submit a feature request somewhere?13:36
dpmrschroll, 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/+filebug13:38
rschrollThanks13:38
cleptohow can I delete my app's u1db locally?13:45
cleptodpm, ping13:48
dpmhi clepto13:49
cleptodpm, hi! ready to package! I'll follow this right? http://developer.ubuntu.com/resources/tutorials/getting-started/creating-click-packages-with-cpp-extensions/13:49
dpmclepto, 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:50
dpmbzoltan1, jppiiroinen, is "Build application on device" still working? I don't see any extra button on the Devices tab to set it up13:51
boikotimp: I have seen there were changes to the toolbar/panel13:55
timpboiko: yes13:56
boikotimp: but I think there might be a regression, I am trying today's image and I cannot open the toolbar at all13:56
cleptodpm, no I don't know how to build it for arm13:57
timpboiko: in gallery-app it works for me. in phone-app I cannot get a toolbar :(13:57
timpboiko: browser-app and notes-app also work fine13:58
dpmclepto, 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
boikotimp: address-book-app and messaging-app are  not working13:58
timpboiko: which image?13:59
boikotimp: I just flashed using cdimage-touch --pending14:00
boikonot the 5.1 one14:00
timpboiko: ok I have 20130910.214:00
cleptodpm, I'm using qmake, but I never worked with qmake, hakermania did it for me (he is not here now)14:00
timpboiko: can you check other apps? gallery-app and the webbrowser?14:00
boikotimp: gallery is not working here either14:00
timpdamn14:00
timpboiko: I'm downloading the 20130911.1 image now14:01
boikotimp: and on browser if I hide the toolbar, it does not show up again14:01
timpthat's bad14:03
timpboiko: what's apt-cache policy qtdeclarative5-ubuntu-ui-toolkit-plugin on device?14:06
bzoltan1dpm: It is well hidden in th menus... but it is there "platform development environment"14:06
boikotimp: http://paste.ubuntu.com/6092618/14:07
dpmclepto, 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:08
dpmbzoltan1, I can't find it. Under which top-level menu is that option?14:09
cleptodpm, separate, you can see here the structure https://github.com/Clepto/cnotes-ubuntu-touch/tree/cnotes-ubuntu-one14:09
timpboiko: huh that is old and doesn't have my new toolbar changes14:09
cleptodpm, dirParserPlugin is the plugin14:09
timpbzoltan1: ^ do you know what's up there? boiko has toolbar problems in today's pending image with http://paste.ubuntu.com/6092618/14:09
boikotimp: so something else changed :)14:09
boikotimp: all autopilot tests that rely on toolbars are failing in the smoke tests too14:10
bzoltan1timp:  I am affraid that it is HUD issue14:10
timplike the touch detection of HUD blocking the bottom-edge-swipe in apps??14:11
timpbzoltan1: who can fix that? and how do you know its a HUD issue?14:12
bzoltan1timp: Wellark14:12
bzoltan1timp:  the bottom edge swipe? gee... that is not HUD, in that case I have no idea14:13
timpbzoltan1: I was just speculating. I just know that the toolbar is not working for boiko, and the image has an UITK package from 3 september14:13
timpbzoltan1: so version 0.1.46+13.10.20130903.4-0ubuntu1 is after my initial toolbar update, but also after reverting it..14:15
bzoltan1timp:  upgrade?14:15
dpmclepto, ok, it seems I can build it on the desktop by doing a:14:15
dpmqmake dirParser.pro14:15
dpmmake14:15
cleptodpm, yes, its in the README14:16
timpboiko, 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
dpmclepto, let me have a look to see if we can use the https://wiki.ubuntu.com/Touch/CrossCompile instructions as a basis14:16
cleptodpm, ok, thanks!14:16
timpboiko: so something else must have changed also14:17
boikotimp: yes, probably14:17
timpboiko: did this change for you? https://pastebin.canonical.com/97355/14:19
timpboiko: do other interactions with the apps still work?14:19
boikotimp: seems to be the same version: 13.10.1+13.10.20130904-0ubuntu114:20
boikotimp: everything else seems to be working fine14:21
cleptodpm, I'll be right back14:22
timpboiko: I don't know what's wrong :s14:23
boikotimp: a dpkg -l on the device in case you need: http://paste.ubuntu.com/6092701/14:24
cleptodpm, back14:26
timpboiko: hud seems the same also. I don't know what to look for...14:31
boiko:/14:31
timpboiko: do you know of a way to figure out what changed from today's stable image to today's pending image?14:32
boikoom26er: ^14:32
om26ertimp, boiko you can look at the change in version numbers of packages in the .manifest file14:33
om26erhttp://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/20130911.1/14:33
om26erthere is a .manifest file14:34
om26erboiko, how to clear sms logs in the messaging app ?14:34
om26erboiko, I am writing tests where i need to start fresh14:34
boikoom26er: remove (or move) the ~/.local/share/history-service directory14:35
om26erboiko, cool14:35
iBelievenik90_, ping14:36
timpboiko: I have to go afk for about an hour, bbl.14:41
timpboiko: back. so < 1h :)15:06
cleptodpm, any progress?15:06
timpboiko: 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:07
dpmclepto, not yet, sorry, I've been in meetings since :/15:08
cleptodpm, no problem man, whenever you can!15:08
timpboiko: I wonder whether somehow pressed events are broken. Do you use that anywhere instead of clicked?15:08
rschrollA 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 t15:18
rschrollop, and its elements are visible through the header when scrolled.15:18
rschrollHere's a test case: https://gist.github.com/rschroll/6491639.  Am I doing something wrong, or is this a bug?15:18
iBelieverschroll, I've experienced the same problem as a File Manager app developer. I'm pretty sure this is a bug15:28
rschrolliBelieve: Should it be submitted against ubuntu-ui-toolkit, or something else?15:29
iBelieverschroll, Yes, you should submit a bug there because it's a bug with the code that handles the app header15:39
timprschroll: the topmargin of the listview is updated automatically when it becomes the flickable of the page.15:40
timprschroll: if you have flickable: null in the page, the margin will be gone.15:40
timprschroll, iBelieve the cause is this code in the Page:15:41
timp        Binding {15:41
timp            target: page.flickable15:41
timp            property: "topMargin"15:41
timp            value: internal.headerHeight15:41
timp            when: page.flickable15:41
timp        }15:41
timphmm.. seems like the value is not reset to 0 when page.flickable is null.15:42
timprschroll: when you say flickable = null, you can try to add lisview.topMargin = 0;15:42
rschrolltimp: Just a sec - I'll try15:42
rschrolltimp: That does it for the margin; I still have the transparency issues15:44
iBelieverschroll, set clip to true in your ListView15:48
rschrolliBelieve: fantastic - that does it.15:48
rschrolliBelieve, timp: thanks for the help!15:49
iBelieverschroll, glad that works15:49
=== marcoceppi_ is now known as marcoceppi
boikotimp: long press is working on the messaging-app16:35
boikotimp: there is no indication of the toolbar reacting to the swipe from bottom16:36
karniHi 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
karniAny hints for a QML newbe? :)16:49
karnifile:///home/phablet/shell/Dash/Music/MusicPreview.qml:214: ReferenceError: buttonIdHere is not defined16:50
karniI thought it was a forward reference problem, but same error occurs when I try to define property alias foo: buttonIdHere.text16:50
karniFigured it out the QML way. Used property binding.16:57
dakerkarni: the buttonIdHere element is not defined17:40
karnidaker: you're telling me what I pasted, or you mean that ;)? because the button, with that id, *is* in that QML file :)17:41
karniThat's the problem17:42
karnidaker: in any case, I solved it with property binding, so I left that problem behind. thanks17:42
dakerok17:42
=== tiagohillebrandt is now known as tiagoscd
=== tiagoscd is now known as Guest67365
hakermaniaclepto, ping18:38
cleptohakermania, nevermind18:47
nik90_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 of19:06
Chocantonik90_: Hey :) Did you see with the sdk team about the qml-file plugin ?19:12
nik90_Chocanto: no...What is the news?19:13
nik90_:)19:13
nik90_Chocanto: oh the meeting19:13
Chocantonik90_: Yes :) To know what to do with this plugin :)19:14
nik90_Chocanto: No not yet I am afraid. People are quite busy to get a plugin merged at this time of the cycle.19:14
Chocantonik90_: Yes.. I can understand them19:14
Chocantonik90_: Ok, I will create a separate plugin so, thank you :)19:15
nik90_Chocanto: I think for now that's the way to go19:15
Chocantonik90_: And it's the only way to go :)19:15
nik90_hehe19:15
Chocantonik90_: And the docviewer isn't working currently, so... things have to be done fast ^^19:16
nik90_Chocanto: oh okay19:18
nik90_Chocanto: In that case, coordinate with mhall to get this packages as a separate plugin and merged into the repos.19:19
nik90_Chocanto: that's how the filemanager and music app have done things19:19
Chocantonik90_: And that's how I have done in the past for the poppler plugin19:19
Chocantonik90_: So 2 plugins will be needed to run the docviewer, wow ahah19:19
nik90_Chocanto: yeah :(19:20
nik90_Chocanto: but this is something which should take discussion early next cycle to avoid this19:20
Chocantonik90_: Yes but we had no time to do this19:21
nik90_Chocanto: i knw19:21
Chocantonik90_: But the most important is that this app will work19:21
mhall119nik90_: Chocanto: is this the file content reader plugin you guys made?19:50
Chocantomhall119: Yes it is19:50
mhall119so 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 packages19:54
Chocantomhall119: make it part of the Ubuntu 13.10 will need how many days ?19:55
mhall119Chocanto: we'll need to coordinate with the phablet engineers19:55
mhall119the good news is that, since it doesn't affect the desktop, we're not under the hard deadlines that we otherwise would be19:56
Chocantomhall119: Yes but this plugin is needed for the docviewer19:56
mhall119popey: who should we talk to about getting these plugins to be part of the click platform?19:56
Chocantomhall119: And I think the docviewer is under the hard deadlines19:57
mhall119pmcgowan: ^^ is the docviewer under FF rules?20:02
pmcgowanmhall119, would need to check on adding dependencies, but should be fine in universe20:05
pmcgowanmhall119, you can always include the deps in the click20:06
rschrollA 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 fix20:12
rschroll this?20:12
ChocantoFF rules ?20:15
asomethingare there any good examples for an app using ConditionalLayout from the SDK?20:20
asomethingI've found a few doing custom stuff using things like "property bool wideAspect: width >= units.gu(80)"20:21
asomethingbut nothing actually using ConditionalLayout20:21
=== salem_ is now known as _salem
asomethingI 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#34028320:22
asomethingbut I'd like to look at a more complex example20:22
iBelieverschroll, 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 "<name>.db" as the path.20:29
iBelieverschroll, see this discussion: https://plus.google.com/117574309170420884411/posts/JbD7qfdkeWE20:31
iBelievenik90_, ping20:32
rschrolliBelieve: I have no phone to test this on, but this is what I'm seeing using a click installer on the 13.10 desktop20:34
iBelieverschroll, according to Stuart Langridge in reply to my Google+ question, it should work out right on the phone.20:36
iBelieverschroll, 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 not20:36
rschrollThe path he gives is the same as I see used, and the apparmor profile does not give apps write access for files in that directory20:41
rschrollUnless it's different on the phone and the desktop.  (But why?)20:41
balloonsiBelieve, did you get anywhere with the filemanager test failures? Any thoughts?21:01
iBelieveballoons, I don't understand why they're failing. The only one that failed for me is the open file test.21:09
balloonsiBelieve, yes, I did see that even on the desktop21:12
iBelieveballoons, so the only time most of tests fail is on the phone, right?21:15
balloonsiBelieve, it's failing in the jenkins VM as well21:16
iBelieveballoons, 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:21
balloonsiBelieve, yes there is21:30
balloonsiBelieve, let me run trunk in the jenkins VM and you can see the video of the failures, ok?21:30
iBelieveballoons, that's cool that that is possible21:32
ahayzenmhall119, ping21:32
balloonsiBelieve, you can watch it run here. 91.189.93.70:8080/job/generic-mediumtests/35821:34
mhall119ahayzen: pong21:38
ahayzenmhall119, 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
ahayzenmhall119, cause it appears tht the tests are passing http://reports.qa.ubuntu.com/smokeng/saucy/image/4157/music-app-autopilot/21:39
mhall119ahayzen: not that I'm aware of, are all of the tests passing now?21:39
* ahayzen is checking the other devices21:40
mhall119balloons: who can enable the enforcement of tests?21:40
mhall119for music app21:40
mhall119since they're all passing now21:40
ahayzenmhall119, don't think the Nexus 10 is passing?21:41
ahayzenmhall119, will it only be the Nexus 4 tht it is enforced on?21:41
ahayzenmhall119, nexus 4, 7, galaxy are passing but the 10 is failing :/21:42
mhall119ahayzen: that I don't know, balloons or fginther are the folks to talk to about that21:43
ahayzensystemsettle before/after were the ones tht failed http://reports.qa.ubuntu.com/smokeng/saucy/image/4158/music-app-autopilot/21:44
cleptomhall119, to whom should I talk about packaging?21:49
rschrollAny hints on icons for click packages?  I can only get it to work if I give an absolute path.  Is there a better way?22:01
=== _salem is now known as salem_
labsinrschroll, I got told to use "icon=<icon name>.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:18
rschrolllabsin: Thanks. Do you (or anyone else) happen to know if SVG files are acceptable.  (They are on the desktop.)22:19
labsinrschroll, No clue. Wanted to know that too.22:20
labsinI have no Ubuntu touch supported phone :/22:20
rschrolllabsin: Same here.  Makes this whole process sorta nebulous.22:21
mhall119clepto: depends on your question22:37
mhall119clepto: what do you need help with?22:37
cleptomhall119, cross compiling, but I might need help in general regarding packaging22:38
cleptomhall119, my app is ready! :D bugfree I believe (so far)22:38
mhall119clepto: xnox I think can help you with cross compiling22:40
cleptomhall119, thanks22:40
cleptoxnox, ping22:40

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