/srv/irclogs.ubuntu.com/2015/06/15/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
dupingpinghi everyone05:44
dholbachgood morning06:15
Frantiquegood morning07:00
=== chriadam is now known as chriadam|away
mivoligomzanetti: hi! Seen the latest bug? https://bugs.launchpad.net/machines-vs-machines/+bug/146520509:29
ubot5Launchpad bug 1465205 in Machines vs. Machines "It is impossible to pass the game on Hard difficulty" [Undecided,New]09:29
mzanettimivoligo, which level pack?09:29
mivoligohe doesn't mention09:30
mzanettimivoligo, I commented09:32
mzanettimivoligo, I have to admit that I'm stuck in level 13 on the shoot the serifs level pack09:32
mivoligomzanetti: oh, really?09:33
mivoligomzanetti: did you buy any towers?09:34
mzanettimivoligo, well, I did only play one evening (like 4h or so while watching tv)09:34
mzanettimivoligo, yeah, I bought the one that has a huuuge range09:34
mzanettinot enough stars for the next one yet09:34
mivoligothat should be enough09:34
mivoligomzanetti: BTW by "I'm stuck" you mean you can't get 3 stars or you can't pass the lvl 13?09:47
mzanettimivoligo, no, I can't get past it :D09:47
mivoligo:D09:48
mivoligomzanetti: I just tested it, put two "I" towers below the end flag, one below the other. Later should be easy :D09:50
mzanettimivoligo, dang... it was 1409:50
mzanettiI managed 1309:50
mzanettinow that I opened the game09:51
mivoligoah :)09:51
mzanettimivoligo, the sound track for that level pack is growing on me.. there are some cool tunes in there09:52
mivoligomzanetti: same here, I didn't like all of them at first09:52
mivoligoanyway, I suppose to make graphics for other game now ;)09:56
nerochiarooSoMoN: does this API works for you for the keyboard shortcuts refactoring ? http://pastebin.ubuntu.com/11718648/10:08
oSoMoNnerochiaro, lemme see10:12
oSoMoNnerochiaro, that looks ok. I would have thought this would be a list property instead of a custom type though10:14
oSoMoNnerochiaro, we might want to use the Action API exposed by the UITK, too (maybe as a complement to the triggered() signal, i.e. if there is an attached action trigger it, otherwise emit the triggered() signal)10:15
nerochiarooSoMoN: KeyboardShortcut inherits Action10:16
oSoMoNaha10:16
oSoMoNperfect :)10:16
nerochiarooSoMoN: and what do you mean with a list property ?10:16
oSoMoNnerochiaro, something like this: http://pastebin.ubuntu.com/11718679/10:18
oSoMoNI guess both approaches are fine, although IMHO the list is a bit better suited10:19
nerochiarooSoMoN: i would rather use the default property when possible. it is a list property already and the code looks a lot nicer10:20
nerochiarooSoMoN: not type safe, but i think we can trust people not to do something stupid here10:20
oSoMoNnerochiaro, yeah, we have code reviews for that :) I’m fine with your proposal, go ahead10:21
nerochiarooSoMoN: unless you mean adding a property to the Browser and not having a KeyboardShortcuts object10:21
nerochiarooSoMoN: cool10:21
oSoMoNnerochiaro, yeah, I meant adding a property to the Browser10:21
nerochiarooSoMoN: a property and some more code that checks if the key pressed matched the actions by iterating over them. Looks better if encapsulated in KeyboardShortcuts to me. We can discuss more in review as you said10:22
kalikiananerochiaro: not sure what problem you're trying to solve. but Action will have a hotkey property soon, which will also be shown in menus11:27
nerochiarokalikiana: the web browser has a lot of keyboard shortcuts, and i am trying to make them work. good to know that there will be an hotkey property. I will refactor my code again when it is available11:28
nerochiarokalikiana: does that work only if we are using MainView ?11:29
kalikiananerochiaro: the usual question I should have expected :-D I don't think it will be required, no11:31
nerochiarokalikiana: and will it also allow hotkeys that are simple keypresses without modifiers ? like F5 and Backspace11:34
kalikiananerochiaro: keys like Backspace and Tab can be consumed by a TextArea. which is also an issue with using (shift)tab for focus movement. I imagine the webview might eat some in a similar way?11:37
nerochiarokalikiana: it is fine, if we are in a textarea then they won't work, but it is important to have them working whenever nothing else is stealing them11:39
kalikianathat would be the case then11:40
=== _salem is now known as salem_
=== MacSlow is now known as MacSlow|lunch
popeyballoons: (morning) you may want to remove your terminal click from the store, latest terminal app is fat :)12:45
=== salem_ is now known as _salem
ogra_send it on a diet !!12:50
nik90popey: What do we about the clock app crash? I am unable to find out the package responsible for it. It kind of sucks to have it rejected twice from being updated in the store :/12:52
=== MacSlow|lunch is now known as MacSlow
balloonspopey, ack13:16
balloonspopey, let me know about file manager too :-)13:16
popeyballoons: i will once I can actually build it!13:16
popeyballoons: been banging my head against the wall today with that13:16
=== _salem is now known as salem_
nerochiarooSoMoN: i pushed the keyboard navigation refactor. all AP tests still pass. it looks like the UITK will be implementing something similar, so once it happens we should be ready to switch over13:56
nerochiarooSoMoN: if you can let's try to get it merged today13:56
oSoMoNnerochiaro, excellent, thanks. It won’t be merged today (the landing process isn’t that agile), but we’ll try to have a landing request up today, yes13:57
oSoMoNnerochiaro, have you actually pushed your changes?13:58
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== karni is now known as karni-afk
=== salem_ is now known as _salem
=== karni-afk is now known as karni
=== chihchun is now known as chihchun_afk
=== dpm is now known as dpm-afk
nerochiarooSoMoN: still around ? bad internet, if we could switch comms to Telegram it would help16:16
Republican31Hello.16:30
Republican31Anyone here?16:30
=== _salem is now known as salem_
popeyRepublican31: ya16:37
=== salem_ is now known as _salem
melesIs there any project about a voice recorder for ubuntu-touch?19:18
meles...actually i meant an audio recorder19:20
* ogra_ doesnt think so 19:21
=== jhodapp_ is now known as jhodapp
melesogra_: ok and is there a place to post app wishes. I would try to work on it myself, but I never know if I ll find the time.19:33
popeymeles: SturmFlut has a wishlist20:09
=== _salem is now known as salem_
melespopey: on what kind of platform?20:12
popeymeles: http://sturmflut.github.io/ubuntu/touch/2015/02/15/ubuntu-touch-app-wishlist/20:14
melespopey: thanks for that link. He already thought about it. :-)20:16
SturmFlutmeles: You can open a github issue with your additions, or even fork the repo and send a pull request20:17
melesok i have a list of apps i would like to have. I will add them at some point.20:18
meles^Sturmflut20:18
=== salem_ is now known as _salem
balloonsrpadovani, ping20:46
rpadovaniballoons, pong20:48
balloonsrpadovani, hey, so I'm helping a new test writer write a test for the calculator app. We're trying to get a dbus object for the screen above the keys. I see Screen.qml, but looking inside the tree it's a bit crazy. I see two screens, and I'm not sure how to access a specific result (every result has the objectname of 'result')20:49
balloonsSo I guess first question,is there a property I can use to make a result objectname unique? And secondly,  why 2 screen objects?20:51
rpadovaniballoons, mhh, there should be only 1 screen, strange20:52
balloonsrpadovani, I can share a quick dbus dump if it helps20:53
rpadovaniballoons, yes please20:53
balloonsrpadovani, I just made a stab at the screen thing.. ofc, one is set to visible, the other not20:53
balloonsrpadovani, here's a dump with the root on Screen:  http://paste.ubuntu.com/11721779/20:54
balloonsyou can see my attempt at adding a unique property to the objectname of a result --           objectName: 'resultundefined'20:54
rpadovaniballoons, about that I think you can change objectName: "result" to objectName: "result" + index20:56
rpadovaniballoons, about double screen I'm very puzzled20:56
balloonsrpadovani, yea, result + index didn't work ;-(20:56
rpadovaniballoons, objectName: "result" + model.index20:59
balloonsrpadovani, awesome, that works21:00
balloonsrpadovani, my qml knowledge is limited.. how could I have known that?21:00
balloonsI assumed since the text object doesn't have an index, I need the index of a parent object21:01
rpadovaniballoons, I just checked which properties we could use doing Componen.onCompleted: for (var a in model) console.log(a) and for (var a in formula) console.log(a)21:01
rpadovaniballoons, that index is the index of the element in the model we use to load calcs21:02
balloonsrpadovani, I may just have to defer to you on these questions.. But I do get it objectively.. Just not in practice21:03
balloons:-) ty21:03
rpadovaniballoons, you're more than welcome :_)21:04
balloonsrpadovani, while I have you, any other tests that calc needs?21:05
balloonswe're working on https://bugs.launchpad.net/ubuntu-calculator-app/+bug/141098621:05
ubot5Launchpad bug 1410986 in Ubuntu Calculator App "[Autopilot] Test delete multiple calculation from history" [Medium,Confirmed]21:05
rpadovaniballoons, I think all we need have a bug open21:11
balloonsrpadovani, re: screens thing, check out: http://paste.ubuntu.com/11721893/21:19
rpadovaniballoons, thanks for pointing out, I'll investigate asap21:24
balloonsrpadovani, I believe it's creating a screen for each row + 121:29
balloonsso, if your calc history is empty, you get 1 screen.. 1 history, 2 screens, 2 history 3 screens, etc21:30
rpadovaniballoons, you' re right, that's  the result of worst var nariable name ever (my fault) a screen is a row, and there is one more due the way is generated21:30
=== athairus is now known as afkthairus
balloonsrpadovani, you're not the first core app to fall victim to this.. the calendar app had the same thing with events at some point :-)21:32
balloonsexponential events21:32
balloonslol21:32
balloonswell, event objects at least21:32
rpadovaniI'll take a look21:33
balloonsrpadovani, thanks. In the interim, I'm not sure which screen we should select. I'll hide it behind a helper and just pick one21:33
balloonsI'm going to assume the last one created is best for now :-)21:34
=== _salem is now known as salem_

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