=== elopio_ is now known as elopio | ||
popey | nik90: http://imgur.com/6SfuHaF \o/ | 00:48 |
---|---|---|
dholbach | good morning | 08:04 |
jonaszhang | hi everybody! I have a question about ubuntu sdk | 08:50 |
jonaszhang | that is when i packaged a html5 app in ubuntu sdk and get a *.click package, but i cannot open it using softer center. How to use this package? | 08:52 |
jonaszhang | For example: html5-test1_0.1_all.click | 08:52 |
dpm | jonaszhang, what you are getting is a click package. You cannot yet easily install click packages on the desktop, right now you can only install them on a device | 08:57 |
jonaszhang | i see | 09:03 |
jonaszhang | thks | 09:03 |
WebbyIT | popey, fixed also wrong behavior with esc keyshort. It was a bug in clear() function, so it's a fix also for touch version :-) | 09:04 |
WebbyIT | https://code.launchpad.net/~rpadovani/ubuntu-calculator-app/1267820/+merge/201313 | 09:04 |
jonaszhang | @dpm辅导费;发: ::i can run the test app using such command: ubuntu-html5-app-launcher --www=./HTML5_Only_TabbedUI | 09:04 |
WebbyIT | (This MR is becoming a mega patch) | 09:05 |
jonaszhang | however --www option is a directory, can i make it a single file? | 09:05 |
popey | WebbyIT: nice one | 09:06 |
jonaszhang | just like this: type "ubuntu-html5-app-launcher demo.*" to run the app? | 09:06 |
dpm | jonaszhang, sorry, I've not been working with html5 apps in a while. But I do think you need to pass it the directory | 09:10 |
jonaszhang | ok, must i run it from command-line, how to run it just from desktop :) | 09:14 |
dpm | jonaszhang, you can install the .desktop file from the project on your system | 09:18 |
dpm | and then you'll be able to call your app from the dash | 09:18 |
dpm | jonaszhang, you can do this by copying the .desktop file to either /usr/share/applications/ or ~/.local/share/applications/ | 09:20 |
jonaszhang_ | @dpm: disconneted just now. I copied the .desktop file to the dsektop and I can run it now. thks a lot! | 09:24 |
dpm | excellent! :) | 09:25 |
JamesTait | Good morning all; happy Nothing Day! :-D | 09:31 |
=== _salem is now known as salem_ | ||
nik90 | mzanetti: If you have some time, could you review https://code.launchpad.net/~nik90/ubuntu-clock-app/fix-alarm-analogue-format/+merge/201282 | 12:04 |
=== MacSlow is now known as MacSlow|lunch | ||
mzanetti | nik90: do we still have the 24h analog clock? | 12:06 |
nik90 | mzanetti: in the alarm page, the 24 hour analog has been removed | 12:07 |
ogra_ | oh no | 12:07 |
ogra_ | really ? | 12:07 |
nik90 | mzanetti: in the add alarm page, we provide both depending on the user setting | 12:08 |
ogra_ | ah | 12:08 |
ogra_ | :) | 12:08 |
mzanetti | ogra_: you like the 24 hour analog clock? | 12:08 |
nik90 | ogra_: people found 24 hour analog clock confusing...the new design is much better :) | 12:08 |
ogra_ | mzanetti, well, i like that you can have the 24h thingie to set alarms | 12:08 |
ogra_ | i dont care about the clock itself | 12:09 |
ogra_ | i thought nik90 meant that bit was gone | 12:09 |
mzanetti | ogra_: I think that's totally confusing... | 12:09 |
ogra_ | my 70+ y.o. mom understands it, but doesnt understand the am/pm concept | 12:09 |
nik90 | mzanetti: try out the new design. It is no longer confusing..I added clock markers to let the user know what scale the analog clock is using | 12:09 |
ogra_ | yeah, the markers are great | 12:10 |
mzanetti | ogra_: I'm sure your 70+ x.o. mom would have even less trouble with a clock that has 12 hours | 12:10 |
ogra_ | mzanetti, not for setting alarms | 12:10 |
ogra_ | for the std. analog clock face 12h are indeed natural | 12:11 |
nik90 | btw take a look at https://plus.google.com/113051860352311525753/posts/E875HiR9y8r | 12:11 |
nik90 | it explains the new design | 12:11 |
mzanetti | yeah, and setting an alarm is like adjusting an analog clock | 12:11 |
nik90 | people overall liked it | 12:11 |
ogra_ | ++ | 12:11 |
ogra_ | mzanetti, so how would you set 14:00 then ? | 12:11 |
ogra_ | if not with the 24h markers | 12:12 |
mzanetti | I'd write the time in numbers in the center of the clock, but still rotate twice like a real clock | 12:12 |
mzanetti | (not AP/PM, but the actuall time) | 12:12 |
mzanetti | yeah, pretty much like that video does | 12:13 |
mzanetti | but if 06:00 is suddendly where usually 03:00 is, that breaks my brain | 12:13 |
ogra_ | as long as there are markers that shouldnt confuse you | 12:14 |
=== MacSlow|lunch is now known as MacSlow | ||
Hec_ | Hello everybody | 13:17 |
nik90 | popey: does it make sense to add Escape as the keyboard shortcut to reset the stopwatch? | 13:39 |
=== jgdxx is now known as jgdx | ||
popey | nik90: hmmmmm. that does seem like a natural choice | 14:22 |
timp | nik90, popey what about F5/Ctrl+R? | 14:31 |
popey | thats typically refresh/reload? | 14:31 |
timp | in my webbrowser it is | 14:31 |
popey | and weather, rss reader | 14:32 |
timp | I even have a "reload" icon (two arrows) on my F5 button on my keyboard | 14:32 |
timp | popey: ah, you're saying that reset is different from refresh? | 14:32 |
nik90 | timp: that's sounds reasonable as well | 14:32 |
popey | yes | 14:33 |
timp | popey: for my stopwatch it is the same ;) http://e.ggtimer.com/1min | 14:33 |
timp | s/stopwatch/timer | 14:33 |
timp | but that one works the other way around | 14:34 |
nik90 | As of now the entire stopwatch page can be managed using shortcuts :) -> space: start/stop stopwatch, ctrl+space: create lap, esape: reset stopwatch | 14:34 |
=== gatox is now known as gatox_lunch | ||
dpm | nik90, \o/ | 16:26 |
=== gatox_lunch is now known as gatox | ||
nik90 | popey: regarding your comment in the MR, when you created an alarm for 6pm, what was your local time? | 18:20 |
popey | 5:50 | 18:20 |
daker | 6:60 | 18:21 |
nik90 | daker: ? | 18:21 |
daker | oupps fail! | 18:22 |
nik90 | popey: did it say anything in the center? Like couldn't save alarm? Or nothing happened when you press save? | 18:22 |
nik90 | daker: lol | 18:22 |
popey | nothing | 18:22 |
* nik90 tries it now | 18:22 | |
nik90 | popey: could you try setting an alarm for 10 mins later now? | 18:24 |
popey | ya | 18:24 |
nik90 | popey: I just tried it on my laptop and didnt have an issue | 18:24 |
* popey uploads to youtube | 18:26 | |
nik90 | popey: so I tried the same on the phone, and I face a different issue. For me when I press save, it exits the page but I dont see it in the alarm list | 18:27 |
popey | that too | 18:27 |
popey | mine didnt exit | 18:27 |
popey | but it doesn't show in the list | 18:27 |
popey | but the ones I made earlier now do | 18:27 |
nik90 | popey: the thing is the Alarms API is asynchronous. So it could be that it is saving in the background and doesnt appear when it is ready | 18:28 |
popey | i killed and restarted | 18:28 |
popey | and it still wasnt there | 18:28 |
popey | maybe more time needs to pass | 18:28 |
nik90 | yeah that's because the EDS backend is still working | 18:28 |
popey | ah | 18:28 |
popey | thats unfortunate | 18:28 |
nik90 | I am still not seeing the alarms I created | 18:29 |
popey | ditto | 18:30 |
popey | only the ones I made an hour ago | 18:30 |
nik90 | the weird thing is this bug is not due to the branch :/ | 18:30 |
popey | heh | 18:30 |
nik90 | I tried it with the official clock app on the phone | 18:30 |
nik90 | the thing is this doesn't happen all the time | 18:30 |
nik90 | for me sometimes it is instant | 18:30 |
nik90 | and sometimes like now, it takes ages | 18:31 |
nik90 | I will talk to zsombi about this | 18:31 |
nik90 | Yay I can see the alarm I created after 3 mins (lol) | 18:31 |
popey | https://www.youtube.com/watch?v=8TLaOMqvGRI it'll show up there shortly | 18:32 |
nik90 | "Alarming Alarms" lol | 18:32 |
popey | ☻ | 18:32 |
popey | I run out of ideas for naming my youtube videos | 18:32 |
popey | loads of them are just "ubuntu bug" | 18:32 |
popey | seems live now | 18:32 |
nik90 | yup I am seeing it now | 18:33 |
nik90 | oh btw what do you use to take videos? | 18:34 |
nik90 | and also you can only long press to create an alarm the first time or when there are no alarms saved. | 18:34 |
popey | iphone | 18:34 |
popey | "legacy phone" ☻ | 18:34 |
nik90 | ah..the video is quite clear. thats why I asked | 18:35 |
popey | ahh | 18:35 |
popey | yeah, another reason I still carry an iphone around is that it has a better camera than the nexus 4 | 18:35 |
popey | and when I am taking pictures of the kids lego, this is important! :D | 18:35 |
nik90 | :D | 18:35 |
popey | uhm, suppose I should s/lego// | 18:35 |
popey | back in a bit, food | 18:36 |
nik90 | me too :) | 18:36 |
popey | nik90: https://lists.ubuntu.com/archives/ubuntu-devel/2014-January/037971.html with regards to your qt5.2 question earlier, see Steves reply | 20:35 |
nik90 | popey: thnx | 20:37 |
ahayzen | balloons, when u have a moment do u mind casting ur eye over some AP tests Victor made? https://code.launchpad.net/~vthompson/music-app/artists-tab-ap-test/+merge/201986 | 20:48 |
balloons | ahayzen, I can | 20:53 |
ahayzen | balloons, thanks | 20:53 |
=== dpm_ is now known as dpm | ||
balloons | ahayzen, seems to pass on the device, nothing jumps out at me :-) | 21:25 |
ahayzen | balloons, thanks, so i'm good to approve? | 21:25 |
balloons | ahayzen, look for potential timing issues :-) | 21:26 |
ahayzen | balloons, just wanted to check with u so we don't introduce flaky tests | 21:26 |
balloons | right.. that's what i'm looking it over for.. potential wiggly points | 21:26 |
ahayzen | balloons, yep :) sorry should have been more clear | 21:27 |
=== salem_ is now known as _salem | ||
balloons | ahayzen, so I guess I'll try and leave comments in the merge | 21:47 |
ahayzen | balloons, if tht is ok? | 21:47 |
balloons | ahayzen, I see a few tweaks I would make I thikn | 21:48 |
ahayzen | balloons, i just wanted someone who knows autopilot to check it before i approve something tht is flaky and then causes issues in the future | 21:48 |
balloons | ahayzen, so we can talk through it a bit right now if you'd like | 21:49 |
ahayzen | balloons, ok | 21:49 |
balloons | generally, I'm just reading through the code and looking to ensure all the asserts and selects make sense | 21:49 |
balloons | For example, line 77 and line 78 | 21:49 |
balloons | see anything interesting? :-) | 21:49 |
ahayzen | balloons, erm i'm not sure | 21:51 |
balloons | so the eventually function assumes a function.. that would be changing | 21:52 |
ahayzen | balloons, it is getting the label and then comparing that the text property eventually equals artist name | 21:52 |
balloons | get_artist_sheet_artist() returns an object, but it would never change. The eventually doesn't make sense | 21:52 |
ahayzen | balloons, ah so could it get stuck there if it wasn't equal? | 21:52 |
balloons | if there is potential for timing issues there, we could instead use a wait_select and remove the eventually | 21:52 |
balloons | does that make sense? | 21:52 |
ahayzen | balloons, as it would be waiting for it to eventually equal | 21:53 |
balloons | ahayzen, right it would be waiting.. but the value would never change | 21:53 |
balloons | so if it wasn't right the first time, it will never be | 21:53 |
ahayzen | balloons, yes i see wht u mean the value has already been retrieved so therefore cannot change | 21:53 |
balloons | right :-) | 21:53 |
balloons | so that's one example of things to look for | 21:55 |
ahayzen | balloons, ok i'll note tht for the future :) | 21:55 |
ahayzen | balloons, so something like this one is ok? because it can see if the value changes? self.assertThat(self.main_view.isPlaying, Eventually(Equals(True))) | 21:56 |
balloons | yes, if that value changes, eventually makes sense :-) | 21:58 |
balloons | I believe the app would update that property, so each time you read it, it could have changed | 21:58 |
ahayzen | balloons, yep | 21:59 |
balloons | the other thing to check for is UI transitions. If the app transitions, make sure an assert or eventually or wait_select is used before nabbing the next object | 21:59 |
ahayzen | balloons, ok tht makes sense | 21:59 |
balloons | So I'm looking at line 89 now and line 92. Is there a ui transition there? | 21:59 |
ahayzen | balloons, yep there is the current item going large | 22:01 |
balloons | so as it stands I don't think the test is prepared for that to take a longer amount of time | 22:01 |
ahayzen | balloons, so there would need to be a wait_select or eventually in there? | 22:02 |
balloons | there should be an assert of some sort to check for the transition, or to wait on the object you expect after the transition | 22:08 |
ahayzen | balloons, or infact is the UI transition between lines 93 and 96? | 22:08 |
balloons | I'm not sure, trying to peek now | 22:09 |
balloons | but I'll leave all this for Victor :-) | 22:09 |
* ahayzen thinks the code comments may be the wrong way round | 22:09 | |
ahayzen | :) | 22:09 |
ahayzen | balloons, thanks for doing those comments | 22:18 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!