=== chriadam|away is now known as chriadam === daker_ is now known as daker === _salem is now known as salem_ [02:04] I am having a bit of an issue with QML. tools: ToolbarItems keeps giving me an error when I try to run my program. "Cannot assign to non-existent property "tools"" though I import Ubuntu.Components.Popups 0.1 [02:05] Does Ubuntu.Components.Popups 0.1 conflict with another, such as Ubuntu.Components.ListItems 0.1 ?? [02:17] is this a bug? does anyone know? [02:24] How do I make a random amount of an elements in QML | http://askubuntu.com/q/315678 [03:02] Is this the appropriate channel to discuss different packaging strategies for part of an app we're planning on running on an ubuntu laptop? [03:02] or is this more for the process of developing the thing itself? [03:17] Denubis: #ubuntu-packaging is more for packaging, though this and that channel are both rather quiet. you may find http://developer.ubuntu.com/packaging/html/ useful [03:40] tsimpson, I'm more interested in discussing the different approaches, the link you gave is quite useful in the more pragmatic howto sense === salem_ is now known as _salem [06:27] good morning all [06:28] Design standard for "About" and "Options" | http://askubuntu.com/q/315729 [06:39] mhall119: ping [06:40] Clickable emails in Label | http://askubuntu.com/q/315733 [06:42] good morning [06:45] evening actually :) === nik90_ is now known as nik90 [07:26] get the ubuntu sdk preview | http://askubuntu.com/q/315751 [07:50] hey gusch, would you have some time to review https://code.launchpad.net/~osomon/webbrowser-app/toolbar-buttons/+merge/172604 today? [07:50] oSoMoN: sure - I'm on it ... [07:50] thanks! [07:57] oSoMoN: the icons are bigger now, an vertical centered [07:58] oSoMoN: the problem is, for "Tabs" the text and icon overlap slightly [07:58] gusch: interesting, I haven’t seen that, are you testing on desktop or phone? [07:58] oSoMoN: on the desktop [07:59] gusch: let me test again then [08:00] oSoMoN: I updated UITK today [08:00] gusch: ah, I haven’t yet (doing it now), might be the reason of the difference [08:01] oSoMoN: but I'd say that is a bug in UITK [08:02] gusch: it was working well (looking exactly the same as standard toolbar buttons) with yesterday’s uitk [08:02] oSoMoN: hmmm - or you have to use (anchor?) the ToolbarButton different [08:04] oSoMoN: gallery looks fine with the new UITK [08:10] gusch: I updated to the latest uitk, and I’m not seeing the issue you’re describing, in fact I’m running the browser (my branch) and the gallery (latest trunk), and the size and appearance of the toolbar buttons is exactly the same [08:10] gusch: can you take a screenshot of the issue and send it my way? [08:10] oSoMoN: ok [08:12] oSoMoN: oh - mixed that up - the old one looks wrong [08:14] oSoMoN: ok - so I'll approve [08:15] oSoMoN: approved - sorry for the fuzz [08:21] gusch: no worries, thanks for the review [08:39] Good morning all, happy Compliment Your Mirror Day! :-D [09:12] hi oSoMoN, I hope you had a nice holiday and welcome back! :) - quick question: I've noticed that after the work to get desktop files for the core/system apps internationalized, they still don't appear translated in the dash. I'm not sure if it's a regression or if they never appeared translated, do you have any ideas why the desktop file translations might not be loaded? [09:13] dpm: hey, thanks :) [09:14] dpm: not sure about unity8, it might be that it doesn’t use the correct mechanism to get the translated names [09:14] dpm: when I tested on my desktop though, it was [09:14] working [09:14] oSoMoN, how did you do the testing on your desktop? [09:15] dpm: I installed the package from the ppa on the desktop and searched for the app in the dash [09:16] oSoMoN, yeah, that works. I can confirm that, but on the device they're untranslated. [09:16] I'll file a bug against unity [09:22] hey toolkit guys [09:23] is there a magic to tell a ListView "height: whatever is needed to include the ListItem stacked in the list"? [09:27] seb128: not a toolkit guy, but cant you use height: ChildRect.height or something? [09:27] I mean ChildrenRect [09:29] nik90, that seems to work, thanks! [09:29] qml is weird, I wonder why those are not default [09:29] it's like columns [09:29] seb128: yes [09:30] when using qml you keep running into stuff not doing what you want because their default size is null [09:30] rather than being the one needed for the things they include [09:31] seb128: I think qt quick and qml is still picking up and is a bit new. [09:33] right [09:37] ok, next question :p [09:38] is there a way to have an icon: of a ListItem do "look in the theme if that's a name, use the path if that's a path"? [09:38] e.g I want to use "icon: desktop.Icon" where desktop.Icon is the Icon=... from /usr/share/applications/.desktop [09:39] those are sometime a theme icon, sometime a filepath [09:43] seb128: sry no experience with that. I am still trying to figure that myself. [09:43] seb128: although how do they do it in the current .desktop files? [09:52] nik90, "they"? [09:52] nik90, well, desktop files can contain an icon name or a path to an icon, gtk handles that fine, not sure what qt does which is what I was asking [09:52] "icon: icon" works for a themed icon [09:53] but if you have a filename you need "icon: Qt.resolvedUrl(icon)" it seems [09:54] seb128: I use Qt.resolvedUrl(icon) for the clock-app [09:55] seb128: However there I give it a relative path. But am not sure what happens when the theme is changed [09:55] where icon is a name from an icon in the theme or a path to a file? [09:55] path to a file [09:55] k, that makes sense [10:32] nik90, just for info, using "icon: "image://gicon/" + iconname" seems to do the trick [10:38] seb128: thnx. Will keep that in mind === oSoMoN_ is now known as oSoMoN === MacSlow is now known as MacSlow|lunch === chriadam is now known as chriadam|away === MacSlow|lunch is now known as MacSlow === greyback is now known as greyback|lunch [12:47] boiko: ping [12:47] gema: pong [12:47] boiko: remember the ssh command we discussed to make the phone send a call to a given number? [12:47] boiko: I cannot find it in my logs [12:49] gema: there is a dbus command, but it won't call directly, it will only fill the dialer page with the number and wait for the call button to be pressed [12:49] boiko: I remember we discussed a way to ssh into the phone and make it call [12:49] boiko: maybe calling the app from the command line? [12:50] boiko: I haven't tried it , I was going to, but cannot find the line [12:51] gema: wasn't that for accepting incoming calls? for that there is a dbus command (omer asked me to add that) [12:51] boiko: that's another thing we need indeed [12:51] boiko: this is to be able to control the phone at the other end from the testing phone [12:51] and make a call to the testing phone initiating it from outside [12:52] gema: ah ok, there is the ofono phone simulator, but as far as I know it is not fully controllable from the command line, let me check [12:52] boiko: thanks [12:53] gema: let me check what can be done from the command line, just a minute [12:53] boiko: thanks a lot === oSoMoN_ is now known as oSoMoN [12:55] Kaleo: hey, any idea [12:55] Kaleo: hey, any idea what could cause bug #1197293 [12:55] Launchpad bug 1197293 in Ubuntu UI Toolkit "ReferenceError: UbuntuColors is not defined" [Undecided,New] https://launchpad.net/bugs/1197293 [12:55] ? === greyback|lunch is now known as greyback [13:00] oSoMoN: looking [13:01] thanks [13:03] could somebody knowing qml help us and review https://code.launchpad.net/~laney/ubuntu-system-settings/background-welcome-image-accountsservice/+merge/172595 ? [13:04] (that's for system settings, most of us working on it are new to qml and that's the first "plugin" we use ... it would be good if somebody who knows those stuff better could check things are done the right way) [13:04] (that's likely going to used as base/copied in other panels) [13:04] oSoMoN, Kaleo, ...: ^ if you have some spare cycle, it's not a big diff to review ... ;-) [13:05] Laney, ^ fyi [13:06] cool [13:06] seb128: I’ll have a look later today [13:06] oSoMoN, thanks! [13:08] seb128: camel case [13:08] seb128: (just going through it quickly, that struck me, names should be camelcase) [13:08] gema: so, once you get ofono-phonesim running (omer was working on that) you can follow the instructions [13:08] gema: here: https://kernel.googlesource.com/pub/scm/network/ofono/phonesim/+/c94e6c0c64dd10da2a297d37336653ef707be49a/doc/scriptable.txt [13:08] boiko: excellent thanks [13:09] gema: but that's not real phone calls, it is using the modem simulator from ofono [13:09] uhmmm, that;s not good enough [13:09] I need to make a real phone call [13:09] gema: for real calls I don't know a way to do that, cause you have to call from another phone, and that I don't know how to do [13:09] seb128: use property bindings: instead of "onBackgroundFileChanged: testWelcomeImage.source = backgroundPanel.backgroundFile"; do "source: backgroundPanel.backgroundFile" [13:10] Laney, ^ [13:10] boiko: ack, no worries [13:10] gema: from the app you can do that easily using autopilot (omer already created code for that) [13:11] boiko: I'd like not to depend on the app [13:11] for the testing [13:11] gema: but from the other end (to simulate an incoming call), I don't know how to do [13:11] boiko: no worries we'll write a little C program if needed be [13:11] I thought there was one already , will ping rsalvetti again [13:11] Laney: seb128: QString backgroundFile(); is protected but should be public [13:12] that came from the template [13:12] Laney: seb128: there is some qDebug statements lying around and the qdebug import unneeded [13:12] gema: so if the idea is to use two ubuntu touch phones, then there are some tricks that we can do [13:12] how do I do the property binding thing while keeping the fallback as default? [13:12] boiko: the idea is to use two, one of them will be quite stable [13:13] able to make/receive calls and send / receive smss [13:13] but I don't want to depend on the UI apps to do that [13:13] Laney: in the constructor you do background_file = get_background_file(); twice [13:13] just a command line that we can send through ssh to that phone [13:13] to get it going [13:13] becuse the phone under test is the other one [13:13] Laney: you could even do get_background_file() lazily in the backgroundFile() getter; that would speed up startup time [13:13] that one would only be test infrastructure [13:13] Laney: let me see about the binding [13:14] gema: in that case there is something you can do to make a call, let me get the command here [13:14] Kaleo: Will it be cached by qml? [13:14] boiko: thanks [13:14] gema: (sorry, I didn't realize you were going to use two ubuntu-touch phones) [13:14] boiko: ok [13:14] The thought of doing it in the ctor was to avoid dbus roundtrips [13:14] Laney: no [13:15] Laney: the background() function will be called everytime you type object.background in QML [13:15] Laney: to answer your question/issues in the description of the MR: [13:15] then wouldn't it be better to have that cost once at startup? [13:15] Laney: 1. it's right [13:15] Laney: no [13:15] Laney: it's still a one time cost [13:16] Laney: if you keep storing the result in your private member variable [13:16] Laney: and not call the dbus function every time [13:16] Laney: 2. ubuntu-system-settings and not libsystemsettings1: are those package names? [13:16] yes [13:16] Laney: 3. your way is better [13:17] Kaleo, yes those are package names [13:18] Laney: 4. that's alright [13:18] gusch: pong [13:18] Laney: 2. we have convention names for those [13:18] Laney: qtdeclarative5-qtfeedback-plugin qtdeclarative5-localstorage-plugin qtdeclarative5-ubuntu-ui-toolkit-plugin [13:18] Laney: etc. [13:19] Laney: but hang on [13:19] -system-settings-plugins? [13:19] mhall119: I tried to merge to music-app [13:19] Laney: I would not separate the plugin into a separate debian package at all [13:19] Laney: unless you intend other apps to use it [13:19] right [13:19] not really [13:19] Laney: so no [13:19] mhall119: lanuchpad says it's merged, but it isn't [13:20] Laney: 5. I don't know yet [13:21] Kaleo: so the variable name convention is camelCase for all variables? [13:21] mhall119: any idea why? [13:21] Laney: yes [13:21] * Laney discovers Qt Creator has a refactoring tool for this [13:21] :D [13:22] gusch: no, let me look though [13:22] mhall119: https://code.launchpad.net/~schwann/music-app/music-fix-warnings/+merge/172573 [13:22] Laney: and member variables prefixed with m_ [13:22] Laney: about the binding, you are right [13:22] mhall119: and https://code.launchpad.net/~schwann/music-app/music-declarative-duration/+merge/172620 [13:22] Laney: no use for one [13:22] cool [13:22] Kaleo: Give me 5 minutes to do your fixes [13:22] Laney: you can take a look at the following file from the toolkit [13:23] mhall119: oh - maybe dpm fixed that already? [13:23] Laney: for something similar: modules/Ubuntu/Components/ListItems/ImageWithFallback.qml [13:23] ok [13:23] mhall119: oh dpm did - thx [13:23] ok,cool [13:23] ah interesting [13:23] yeah, I'm seeing them in trunk [13:24] gusch, np, I just noticed that Jenkins hadn't kicked in because the MP hadn't been top-approved and approved it (it was manually marked as merged) [13:31] oSoMoN: that's beyond me so far [13:33] Kaleo: ok, thanks, I’ll keep digging [13:34] oSoMoN: try to call the plugin with something that does not start with Ubuntu.Components [13:36] Kaleo: do you mean renaming it? [13:36] oSoMoN: yes [13:36] oSoMoN: that's the only change that Isee could be relate [13:36] d [13:37] yes, that makes sense [13:37] oSoMoN: When you have eliminated the impossible, whatever remains, however improbable, must be the truth. === _salem is now known as salem_ [13:39] oSoMoN: something is odd [13:39] oSoMoN: you did not put the browser plugin under Ubuntu/Components/Extras/Browser [13:40] oSoMoN: forget it, my bad [13:40] oSoMoN: was looking at the wrong tree :) [13:40] the tree that’s hiding the forest? ;) [13:42] oSoMoN: yes, I'm starting to have a good idea of what's going on [13:42] oSoMoN: I doubt it has anything to do with the naming [13:43] oSoMoN: I had not noticed that message before "QQmlComponent: Component is not ready" [13:43] Kaleo: good, I don’t feel like renaming again [13:43] ah, me neither, good catch [13:51] oSoMoN: found it! [13:51] oSoMoN: createQmlObject QUrl( "file:///home/kaleo/Projects/apps/webbrowser-app/src/Ubuntu/Components/Colors/UbuntuColors.qml" ) [13:51] that's not gonna work :) [13:51] Kaleo: where in the code is that? [13:52] oSoMoN: the toolkit [13:52] oSoMoN: ok it _is_ a naming problem [13:52] oSoMoN: what's happening is that inside the toolkit plugin "Ubuntu.Components" I'm trying to guess what the path on disk to the plugin is [13:53] oSoMoN: Qt 5.1 has a method for that http://doc-snapshot.qt-project.org/qt5-stable/qtqml/qqmlextensionplugin.html#baseUrl [13:53] oSoMoN: but Qt 5.0 does not [13:53] oSoMoN: so the way I do it is that I convert Ubuntu.Components into Ubuntu/Components [13:53] oSoMoN: and then go through the importPathList [13:54] oSoMoN: to look for a directory that ends in Ubuntu/Components [13:54] oSoMoN: I did not anticipate there could be another Ubuntu/Components [13:54] ahah [13:54] oSoMoN: which there is not when the webbrowser is installed [13:54] oSoMoN: so the warnings don't happen when installed I guess [13:55] oSoMoN: that's wild [13:55] Kaleo: not tested installed, I must admit [13:55] Kaleo: can that be fixed in the toolkit, or should I try to address that in the uninstalled scenario for the browser? [13:55] oSoMoN: nah, I can fix it [13:56] oSoMoN: somehow [13:56] cool [13:58] oSoMoN: I don't know how yet :/ [13:59] oSoMoN: ok, I do [13:59] Kaleo: that’s ok as I can live with the issue for now, it’s not blocking me in any way [13:59] Kaleo, thanks for the review comments ;-) [14:00] seb128: yw [14:00] oSoMoN: done, fixed [14:00] oSoMoN: ugly [14:04] oSoMoN: https://code.launchpad.net/~fboucault/ubuntu-ui-toolkit/fix_1197293/+merge/172824 [14:06] Kaleo: ok, pushed an update if you feel like looking again [14:17] Kaleo: thanks, approved, you might want to have someone on your team give it a quick sanity check too [14:41] hi all. i am looking the incredible "quickly" an my question is : is it possible develop for ubuntu tablet using "quickly" and gtk liberies? [14:44] or i have to use qt and qml ? [14:46] oSoMoN: you're enough :) [14:47] oSoMoN: the code will go away with 5.1 [14:47] Kaleo: ok, so feel free to top-approve [14:48] oSoMoN: ok [15:05] seb128: can you look at the email I fwed you? [15:56] Kaleo, sure (I was out for some exercice, taking a shower and looking at ità [15:56] ) [15:56] jvrbanac: hey, are you around for the API website call in 5 minutes? [15:58] mhall119, [15:58] mhall119, yeah [15:58] cool [15:59] seb128: thx [16:01] jvrbanac: https://plus.google.com/hangouts/_/08c66ad1e28595b54c403c1771de1ac4fc4c66bf?authuser=1 [17:23] boiko: i'm looking at getting some sms stuff automated in the qa lab. I was told you might have some info to help me get stated [17:24] the first question i have. are there some API's for things like "wait for sms" [17:24] ie - how to tell when an sms has arrived [17:24] doanac: hi [17:25] doanac: so, you mean in the phone app or just to test the infrastructure itself? [17:26] boiko: i guess via the phone-app. ie - i'm running a test on the phone and it needs to know if it got an SMS or not [17:27] so a cool CLI like "wait-for-sms --timeout 60s" would be an example [17:27] doanac: ok, are the tests C++ or what? [17:28] boiko: the tests don't exist. i'd prefer python, but I don't know what my options are [17:28] doanac: ah ok, got it, I think python is fine [17:29] doanac: without having to rely on the phone-app itself, you could write a program that listen to ofono signals telling you that you got a new sms [17:29] boiko: is this a dbus sort of thing, or does ofono include its own api? [17:29] * doanac googles :) [17:30] doanac: it's dbus [17:30] boiko: cool. i'm going to do some research, but any pointers would be greatly appreciated [17:30] doanac: salem_ can give you more info (as he recently implemented the telepathy component that talks to ofono using those interfaces) [17:32] boiko, salem_: is something like this were I might get started: https://github.com/c4milo/ofono/blob/master/test/list-messages ? [17:33] salem_, kind of, will you be using a real phone, or ofono emulator? [17:33] doanac: that for messages that are already there, but there is a signal emitted when new messages arrive [17:33] doanac: https://github.com/c4milo/ofono/blob/master/doc/messagemanager-api.txt [17:34] doanac, ^ [17:34] boiko: thanks! [17:34] doanac: those are for real phone calls and messages, right? [17:34] doanac, org.ofono.MessageManager.IncomingMessage is the signal you have to listen to. [17:35] boiko: yes. we are going to send the phone real sms's [17:40] salem_: ^ [17:42] doanac, ok, so the object path will be /ril_0 and the signal is org.ofono.MessageManager.IncomingMessage. a simple python script should do the trick. if you need help to create the script, let me know. [18:09] salem_: if you could share the script it would be incredibly helpful. [18:09] i haven't done DBUS signals before, so i'm guessing i'd make a few dumb mistakes before getting something working [18:22] autopilot ImportError: No module named input | http://askubuntu.com/q/315996 [18:28] doanac, https://pastebin.canonical.com/93763/ [18:29] doanac, just change /phonesim by the real modem object path [18:29] salem_: thanks so much! i owe you a beer [18:30] doanac, no problem! [19:16] I wish to translate for Ubuntu! | http://askubuntu.com/q/316019 [19:50] Can I download Ubuntu for my Galaxy S lll Fido? | http://askubuntu.com/q/316028 === seb128_ is now known as seb128 [21:43] Kaleo: ping [21:44] Kaleo: nevermind, let me double check here === salem_ is now known as _salem [23:18] boiko: pong