=== chriadam|away is now known as chriadam
=== daker_ is now known as daker
=== _salem is now known as salem_
IsraelI 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.102:04
IsraelDoes Ubuntu.Components.Popups 0.1 conflict with another, such as Ubuntu.Components.ListItems 0.1 ??02:05
Israelis this a bug?  does anyone know?02:17
AskUbuntuHow do I make a random amount of an elements in QML | http://askubuntu.com/q/31567802:24
DenubisIs 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
Denubisor is this more for the process of developing the thing itself?03:02
tsimpsonDenubis: #ubuntu-packaging is more for packaging, though this and that channel are both rather quiet. you may find http://developer.ubuntu.com/packaging/html/ useful03:17
Denubistsimpson, I'm more interested in discussing the different approaches, the link you gave is quite useful in the more pragmatic howto sense03:40
=== salem_ is now known as _salem
dpmgood morning all06:27
AskUbuntuDesign standard for "About" and "Options" | http://askubuntu.com/q/31572906:28
guschmhall119: ping06:39
AskUbuntuClickable emails in Label | http://askubuntu.com/q/31573306:40
dholbachgood morning06:42
xzcvczxevening actually :)06:45
=== nik90_ is now known as nik90
AskUbuntuget the ubuntu sdk preview | http://askubuntu.com/q/31575107:26
oSoMoNhey gusch, would you have some time to review https://code.launchpad.net/~osomon/webbrowser-app/toolbar-buttons/+merge/172604 today?07:50
guschoSoMoN: sure - I'm on it ...07:50
guschoSoMoN: the icons are bigger now, an vertical centered07:57
guschoSoMoN: the problem is, for "Tabs" the text and icon overlap slightly07:58
oSoMoNgusch: interesting, I haven’t seen that, are you testing on desktop or phone?07:58
guschoSoMoN: on the desktop07:58
oSoMoNgusch: let me test again then07:59
guschoSoMoN: I updated UITK today08:00
oSoMoNgusch: ah, I haven’t yet (doing it now), might be the reason of the difference08:00
guschoSoMoN: but I'd say that is a bug in UITK08:01
oSoMoNgusch: it was working well (looking exactly the same as standard toolbar buttons) with yesterday’s uitk08:02
guschoSoMoN: hmmm - or you have to use (anchor?) the ToolbarButton different08:02
guschoSoMoN: gallery looks fine with the new UITK08:04
oSoMoNgusch: 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 same08:10
oSoMoNgusch: can you take a screenshot of the issue and send it my way?08:10
guschoSoMoN: ok08:10
guschoSoMoN: oh - mixed that up - the old one looks wrong08:12
guschoSoMoN: ok - so I'll approve08:14
guschoSoMoN: approved - sorry for the fuzz08:15
oSoMoNgusch: no worries, thanks for the review08:21
JamesTaitGood morning all, happy Compliment Your Mirror Day! :-D08:39
dpmhi 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:12
oSoMoNdpm: hey, thanks :)09:13
oSoMoNdpm: not sure about unity8, it might be that it doesn’t use the correct mechanism to get the translated names09:14
oSoMoNdpm: when I tested on my desktop though, it was09:14
dpmoSoMoN, how did you do the testing on your desktop?09:14
oSoMoNdpm: I installed the package from the ppa on the desktop and searched for the app in the dash09:15
dpmoSoMoN, yeah, that works. I can confirm that, but on the device they're untranslated.09:16
dpmI'll file a bug against unity09:16
seb128hey toolkit guys09:22
seb128is there a magic to tell a ListView "height: whatever is needed to include the ListItem stacked in the list"?09:23
nik90seb128: not a toolkit guy, but cant you use height: ChildRect.height or something?09:27
nik90I mean ChildrenRect09:27
seb128nik90, that seems to work, thanks!09:29
seb128qml is weird, I wonder why those are not default09:29
seb128it's like columns09:29
nik90seb128: yes09:29
seb128when using qml you keep running into stuff not doing what you want because their default size is null09:30
seb128rather than being the one needed for the things they include09:30
nik90seb128: I think qt quick and qml is still picking up and is a bit new.09:31
seb128ok, next question :p09:37
seb128is 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
seb128e.g I want to use "icon: desktop.Icon" where desktop.Icon is the Icon=... from /usr/share/applications/<name>.desktop09:38
seb128those are sometime a theme icon, sometime a filepath09:39
nik90seb128: sry no experience with that. I am still trying to figure that myself.09:43
nik90seb128: although how do they do it in the current .desktop files?09:43
seb128nik90, "they"?09:52
seb128nik90, 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 asking09:52
seb128"icon: icon" works for a themed icon09:52
seb128but if you have a filename you need "icon: Qt.resolvedUrl(icon)" it seems09:53
nik90seb128: I use Qt.resolvedUrl(icon) for the clock-app09:54
nik90seb128: However there I give it a relative path. But am not sure what happens when the theme is changed09:55
seb128where icon is a name from an icon in the theme or a path to a file?09:55
nik90path to a file09:55
seb128k, that makes sense09:55
seb128nik90, just for info, using "icon: "image://gicon/" + iconname" seems to do the trick10:32
nik90seb128: thnx. Will keep that in mind10:38
=== 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
gemaboiko: ping12:47
boikogema: pong12:47
gemaboiko: remember the ssh command we discussed to make the phone send a call to a given number?12:47
gemaboiko: I cannot find it in my logs12:47
boikogema: 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 pressed12:49
gemaboiko: I remember we discussed a way to ssh into the phone and make it call12:49
gemaboiko: maybe calling the app from the command line?12:49
gemaboiko: I haven't tried it , I was going to, but cannot find the line12:50
boikogema: wasn't that for accepting incoming calls? for that there is a dbus command (omer asked me to add that)12:51
gemaboiko: that's another thing we need indeed12:51
gemaboiko: this is to be able to control the phone at the other end from the testing phone12:51
gemaand make a call to the testing phone initiating it from outside12:51
boikogema: 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 check12:52
gemaboiko: thanks12:52
boikogema: let me check what can be done from the command line, just a minute12:53
gemaboiko: thanks a lot12:53
=== oSoMoN_ is now known as oSoMoN
oSoMoNKaleo: hey, any idea12:55
oSoMoNKaleo: hey, any idea what could cause bug #119729312:55
ubot2`Launchpad bug 1197293 in Ubuntu UI Toolkit "ReferenceError: UbuntuColors is not defined" [Undecided,New] https://launchpad.net/bugs/119729312:55
=== greyback|lunch is now known as greyback
KaleooSoMoN: looking13:00
seb128could somebody knowing qml help us and review https://code.launchpad.net/~laney/ubuntu-system-settings/background-welcome-image-accountsservice/+merge/172595 ?13:03
seb128(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
seb128(that's likely going to used as base/copied in other panels)13:04
seb128oSoMoN, Kaleo, ...: ^ if you have some spare cycle, it's not a big diff to review ... ;-)13:04
seb128Laney, ^ fyi13:05
oSoMoNseb128: I’ll have a look later today13:06
seb128oSoMoN, thanks!13:06
Kaleoseb128: camel case13:08
Kaleoseb128: (just going through it quickly, that struck me, names should be camelcase)13:08
boikogema: so, once you get ofono-phonesim running (omer was working on that) you can follow the instructions13:08
boikogema: here: https://kernel.googlesource.com/pub/scm/network/ofono/phonesim/+/c94e6c0c64dd10da2a297d37336653ef707be49a/doc/scriptable.txt13:08
gemaboiko: excellent thanks13:08
boikogema: but that's not real phone calls, it is using the modem simulator from ofono13:09
gemauhmmm, that;s not good enough13:09
gemaI need to make a real phone call13:09
boikogema: 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 do13:09
Kaleoseb128: use property bindings: instead of "onBackgroundFileChanged: testWelcomeImage.source = backgroundPanel.backgroundFile"; do "source: backgroundPanel.backgroundFile"13:09
seb128Laney, ^13:10
gemaboiko: ack, no worries13:10
boikogema: from the app you can do that easily using autopilot (omer already created code for that)13:10
gemaboiko: I'd like not to depend on the app13:11
gemafor the testing13:11
boikogema: but from the other end (to simulate an incoming call), I don't know how to do13:11
gemaboiko: no worries we'll write a little C program if needed be13:11
gemaI thought there was one already , will ping rsalvetti again13:11
KaleoLaney: seb128: QString backgroundFile(); is protected but should be public13:11
Laneythat came from the template13:12
KaleoLaney: seb128: there is some qDebug statements lying around and the qdebug import unneeded13:12
boikogema: so if the idea is to use two ubuntu touch phones, then there are some tricks that we can do13:12
Laneyhow do I do the property binding thing while keeping the fallback as default?13:12
gemaboiko: the idea is to use two, one of them will be quite stable13:12
gemaable to make/receive calls and send / receive smss13:13
gemabut I don't want to depend on the UI apps to do that13:13
KaleoLaney: in the constructor you do background_file = get_background_file(); twice13:13
gemajust a command line that we can send through ssh to that phone13:13
gemato get it going13:13
gemabecuse the phone under test is the other one13:13
KaleoLaney: you could even do get_background_file() lazily in the backgroundFile() getter; that would speed up startup time13:13
gemathat one would only be test infrastructure13:13
KaleoLaney: let me see about the binding13:13
boikogema: in that case there is something you can do to make a call, let me get the command here13:14
LaneyKaleo: Will it be cached by qml?13:14
gemaboiko: thanks13:14
boikogema: (sorry, I didn't realize you were going to use two ubuntu-touch phones)13:14
gemaboiko: ok13:14
LaneyThe thought of doing it in the ctor was to avoid dbus roundtrips13:14
KaleoLaney: no13:14
KaleoLaney: the background() function will be called everytime you type object.background in QML13:15
KaleoLaney: to answer your question/issues in the description of the MR:13:15
Laneythen wouldn't it be better to have that cost once at startup?13:15
KaleoLaney: 1. it's right13:15
KaleoLaney: no13:15
KaleoLaney: it's still a one time cost13:15
KaleoLaney: if you keep storing the result in your private member variable13:16
KaleoLaney: and not call the dbus function every time13:16
KaleoLaney: 2. ubuntu-system-settings and not libsystemsettings1: are those package names?13:16
KaleoLaney: 3. your way is better13:16
kenvandineKaleo, yes those are package names13:17
KaleoLaney: 4. that's alright13:18
mhall119gusch: pong13:18
KaleoLaney: 2. we have convention names for those13:18
KaleoLaney: qtdeclarative5-qtfeedback-plugin qtdeclarative5-localstorage-plugin qtdeclarative5-ubuntu-ui-toolkit-plugin13:18
KaleoLaney: etc.13:18
KaleoLaney: but hang on13:19
guschmhall119: I tried to merge to music-app13:19
KaleoLaney: I would not separate the plugin into a separate debian package at all13:19
KaleoLaney: unless you intend other apps to use it13:19
Laneynot really13:19
KaleoLaney: so no13:19
guschmhall119: lanuchpad says it's merged, but it isn't13:19
KaleoLaney: 5. I don't know yet13:20
LaneyKaleo: so the variable name convention is camelCase for all variables?13:21
guschmhall119: any idea why?13:21
KaleoLaney: yes13:21
* Laney discovers Qt Creator has a refactoring tool for this13:21
mhall119gusch: no, let me look though13:22
guschmhall119: https://code.launchpad.net/~schwann/music-app/music-fix-warnings/+merge/17257313:22
KaleoLaney: and member variables prefixed with m_13:22
KaleoLaney: about the binding, you are right13:22
guschmhall119: and https://code.launchpad.net/~schwann/music-app/music-declarative-duration/+merge/17262013:22
KaleoLaney: no use for one13:22
LaneyKaleo: Give me 5 minutes to do your fixes13:22
KaleoLaney: you can take a look at the following file from the toolkit13:22
guschmhall119: oh - maybe dpm fixed that already?13:23
KaleoLaney: for something similar: modules/Ubuntu/Components/ListItems/ImageWithFallback.qml13:23
guschmhall119: oh dpm did - thx13:23
Laneyah interesting13:23
mhall119yeah, I'm seeing them in trunk13:23
dpmgusch, 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:24
KaleooSoMoN: that's beyond me so far13:31
oSoMoNKaleo: ok, thanks, I’ll keep digging13:33
KaleooSoMoN: try to call the plugin with something that does not start with Ubuntu.Components13:34
oSoMoNKaleo: do you mean renaming it?13:36
KaleooSoMoN: yes13:36
KaleooSoMoN: that's the only change that Isee could be relate13:36
oSoMoNyes, that makes sense13:37
KaleooSoMoN: When you have eliminated the impossible, whatever remains, however improbable, must be the truth.13:37
=== _salem is now known as salem_
KaleooSoMoN: something is odd13:39
KaleooSoMoN: you did not put the browser plugin under Ubuntu/Components/Extras/Browser13:39
KaleooSoMoN: forget it, my bad13:40
KaleooSoMoN: was looking at the wrong tree :)13:40
oSoMoNthe tree that’s hiding the forest? ;)13:40
KaleooSoMoN: yes, I'm starting to have a good idea of what's going on13:42
KaleooSoMoN: I doubt it has anything to do with the naming13:42
KaleooSoMoN: I had not noticed that message before "QQmlComponent: Component is not ready"13:43
oSoMoNKaleo: good, I don’t feel like renaming again13:43
oSoMoNah, me neither, good catch13:43
KaleooSoMoN: found it!13:51
KaleooSoMoN: createQmlObject  QUrl( "file:///home/kaleo/Projects/apps/webbrowser-app/src/Ubuntu/Components/Colors/UbuntuColors.qml" )13:51
Kaleothat's not gonna work :)13:51
oSoMoNKaleo: where in the code is that?13:51
KaleooSoMoN: the toolkit13:52
KaleooSoMoN: ok it _is_ a naming problem13:52
KaleooSoMoN: what's happening is that inside the toolkit plugin "Ubuntu.Components" I'm trying to guess what the path on disk to the plugin is13:52
KaleooSoMoN: Qt 5.1 has a method for that http://doc-snapshot.qt-project.org/qt5-stable/qtqml/qqmlextensionplugin.html#baseUrl13:53
KaleooSoMoN: but Qt 5.0 does not13:53
KaleooSoMoN: so the way I do it is that I convert Ubuntu.Components into Ubuntu/Components13:53
KaleooSoMoN: and then go through the importPathList13:53
KaleooSoMoN: to look for a directory that ends in Ubuntu/Components13:54
KaleooSoMoN: I did not anticipate there could be another Ubuntu/Components13:54
KaleooSoMoN: which there is not when the webbrowser is installed13:54
KaleooSoMoN: so the warnings don't happen when installed I guess13:54
KaleooSoMoN: that's wild13:55
oSoMoNKaleo: not tested installed, I must admit13:55
oSoMoNKaleo: can that be fixed in the toolkit, or should I try to address that in the uninstalled scenario for the browser?13:55
KaleooSoMoN: nah, I can fix it13:55
KaleooSoMoN: somehow13:56
KaleooSoMoN: I don't know how yet :/13:58
KaleooSoMoN: ok, I do13:59
oSoMoNKaleo: that’s ok as I can live with the issue for now, it’s not blocking me in any way13:59
seb128Kaleo, thanks for the review comments ;-)13:59
Kaleoseb128: yw14:00
KaleooSoMoN: done, fixed14:00
KaleooSoMoN: ugly14:00
KaleooSoMoN: https://code.launchpad.net/~fboucault/ubuntu-ui-toolkit/fix_1197293/+merge/17282414:04
LaneyKaleo: ok, pushed an update if you feel like looking again14:06
oSoMoNKaleo: thanks, approved, you might want to have someone on your team give it a quick sanity check too14:17
inaciandohi all. i am looking the incredible "quickly" an my question is : is it possible develop for ubuntu tablet using "quickly" and gtk liberies?14:41
inaciandoor i have to use qt and qml ?14:44
KaleooSoMoN: you're enough :)14:46
KaleooSoMoN: the code will go away with 5.114:47
oSoMoNKaleo: ok, so feel free to top-approve14:47
KaleooSoMoN: ok14:48
Kaleoseb128: can you look at the email I fwed you?15:05
seb128Kaleo, sure (I was out for some exercice, taking a shower and looking at ità15:56
mhall119jvrbanac: hey, are you around for the API website call in 5 minutes?15:56
jvrbanacmhall119, yeah15:58
Kaleoseb128: thx15:59
mhall119jvrbanac: https://plus.google.com/hangouts/_/08c66ad1e28595b54c403c1771de1ac4fc4c66bf?authuser=116:01
doanacboiko: 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 stated17:23
doanacthe first question i have. are there some API's for things like "wait for sms"17:24
doanacie - how to tell when an sms has arrived17:24
boikodoanac: hi17:24
boikodoanac: so, you mean in the phone app or just to test the infrastructure itself?17:25
doanacboiko: 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 not17:26
doanacso a cool CLI like "wait-for-sms --timeout 60s" would be an example17:27
boikodoanac: ok, are the tests C++ or what?17:27
doanacboiko: the tests don't exist. i'd prefer python, but I don't know what my options are17:28
boikodoanac: ah ok, got it, I think python is fine17:28
boikodoanac: 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 sms17:29
doanacboiko: is this a dbus sort of thing, or does ofono include its own api?17:29
* doanac googles :)17:29
boikodoanac: it's dbus17:30
doanacboiko: cool. i'm going to do some research, but any pointers would be greatly appreciated17:30
boikodoanac: salem_ can give you more info (as he recently implemented the telepathy component that talks to ofono using those interfaces)17:30
doanacboiko, salem_: is something like this were I might get started: https://github.com/c4milo/ofono/blob/master/test/list-messages ?17:32
salem_salem_, kind of, will you be using a real phone, or ofono emulator?17:33
boikodoanac: that for messages that are already there, but there is a signal emitted when new messages arrive17:33
boikodoanac: https://github.com/c4milo/ofono/blob/master/doc/messagemanager-api.txt17:33
salem_doanac, ^17:34
doanacboiko: thanks!17:34
boikodoanac: those are for real phone calls and messages, right?17:34
salem_doanac, org.ofono.MessageManager.IncomingMessage is the signal you have to listen to.17:34
doanacboiko: yes. we are going to send the phone real sms's17:35
boikosalem_: ^17:40
salem_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.17:42
doanacsalem_: if you could share the script it would be incredibly helpful.18:09
doanaci haven't done DBUS signals before, so i'm guessing i'd make a few dumb mistakes before getting something working18:09
AskUbuntuautopilot ImportError: No module named input | http://askubuntu.com/q/31599618:22
salem_doanac, https://pastebin.canonical.com/93763/18:28
salem_doanac, just change /phonesim by the real modem object path18:29
doanacsalem_: thanks so much! i owe you a beer18:29
salem_doanac, no problem!18:30
AskUbuntuI wish to translate for Ubuntu! | http://askubuntu.com/q/31601919:16
AskUbuntuCan I download Ubuntu for my Galaxy S lll Fido? | http://askubuntu.com/q/31602819:50
=== seb128_ is now known as seb128
boikoKaleo: ping21:43
boikoKaleo: nevermind, let me double check here21:44
=== salem_ is now known as _salem
Kaleoboiko: pong23:18

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