/srv/irclogs.ubuntu.com/2013/09/19/#ubuntu-unity.txt

Cimieasy way yo deploy ubuntu-ui-toolkit branch on the phone?09:06
nic-doffayMacSlow, I've added examples of the scrollable selectors to that branch, thanks for your feedback.09:14
MacSlownic-doffay, np yw... thanks09:17
nic-doffaymzanetti, in the PageHeader.qml which exposed variable means the searchbar has been lowered (not searchFieldActive). Any idea? Been trying to find it.10:48
mzanettinic-doffay: what do you mean with searchbar has been lowered?10:54
nic-doffaymzanetti, the white search bar?10:55
nic-doffayIt gets lowered on to the screen?10:55
nic-doffayWhen you click on the area with the scope name.10:56
mzanettinic-doffay: when I click on the area with the scope name, nothing happens. but I think you mean searchFieldActive10:57
nic-doffaymzanetti, searchField.activeFocus is true when you select the search to begin typing.11:00
nic-doffayI'd like to dismiss the entire search field if it has been lowered irrespective of whether the searchField is active or not...11:00
mzanettinic-doffay: here searchField.active and the position are always related...11:01
mzanettino focus in the search field means the search field is dismissed11:01
nic-doffaymzanetti, hmm ok.11:04
=== MacSlow is now known as MacSlow|lunch
dednickSaviq: ping11:15
Saviqdednick, kinda pong11:15
dednickSaviq:  :) you know if there are any design requirements for the search swipe thingo?11:16
dednickSaviq: or, was there somebody specific in design who you talked to about it. Oren doesnt seem to be around.11:17
Saviqdednick, yeah, it just needs to be a progressive gesture - the search entry should slide in following your finger11:18
dednickSaviq: also about the design requirement for the icon overflow.11:18
dednickSaviq: yeah, bit slide from where? right, left, up down?11:18
Saviqdednick, yeah, I think we need to ask them what's the current plan11:18
dednicks/bit/but11:18
Saviqdednick, from up, like it does now11:18
dednickSaviq: slide to dismiss as well?11:18
Saviqdednick, so you swipe through SEARCH, and the search entry follows your finger11:19
Saviqdednick, no, I think only slide down, there's no handle that you could use to slide up11:19
Saviqdednick, there's one trick there, I'm afraid, you'll need to handle the page header as well, in case it's not on screen11:19
Saviq(+fully)11:20
Saviqdednick, sync with nic-doffay, too, he's been hacking on the page header quite a bit, so it might be good to wait for his stuff to land11:20
dednickSaviq: ok11:20
dednicktoo many swipes... next we're going to swipe to click a button.11:22
Saviqdednick, well, it's the same swipe as for the indicators...11:22
dednickoh right, i was thinking swipe left to right across "Search" rather than down like the indicators.11:23
dednickgona have to have very small fingers to get any meaningfull progress feedback :) that bar is very thin.11:25
mzanettiSaviq: do you have a minute to help me?11:30
dednicknic-doffay: ping11:38
=== thostr_ is now known as thostr_afk
Saviqmzanetti, didn't get to the office yet, in ~ an hour ok11:43
Saviq?11:43
mzanettisure11:46
=== jhodapp|afk is now known as jhodapp
=== MacSlow|lunch is now known as MacSlow
=== _salem is now known as salem_
nic-doffaydednick, what's up12:58
Saviqmzanetti, pong13:00
mzanettiSaviq: hi13:00
Saviqmzanetti, mornin'13:01
mzanettiso... I'm trying to mock the AccountService class in order to be able to test the update-on-config-change feature13:01
mzanettibut I'm failing to create a QDBusArgument13:01
Saviqnic-doffay, bug #1213034 fix committed?13:01
ubot5bug 1213034 in Unity 8 "Can't dismiss keyboard by tapping outside of search entry" [High,Fix committed] https://launchpad.net/bugs/121303413:02
Saviqnic-doffay, btw, you should use `bzr commit --fixes lp:1213034` or similar13:02
Saviqnic-doffay, to mark the commit as fixing that issue, and then bug statuses will get handled automagically13:02
mzanettiSaviq: I pushed to lp:~mzanetti/unity8/launcher-update-on-as-change13:03
Saviqnic-doffay, also, I'd rather you have a separate branch for the bug fixes, instead of putting them in the filters branch (unless there'd be big conflicts somehow?)13:03
mzanettiSaviq: the code works, but the launchermodeltest doesn't...13:03
Saviqmzanetti, looking13:06
mzanettiSaviq: realized I forgot to push the mocks. pull again13:06
mzanettiSaviq: as you can see I did quite a lot of experimenting in tests/plugins/Unity/Launcher/mocks/AccountsServiceDBusAdaptor.cpp13:09
mzanettiSaviq: the place where this is read again is launcherbackend.cpp :21513:10
mzanettiand I just don't seem to be able to produce a QVariant that is the same as the one we get from DBus in the real accountsservice13:10
dednicknic-doffay: hey. you working on the page header?13:16
mzanettimterry: hi... may I ask you to use "auto" a bit less please :)13:23
mzanettimterry: it decreases readability quite a bit13:23
Saviqmzanetti, I can't build, even13:23
mterrymzanetti, oh, I thought people liked auto13:23
mzanettiSaviq: yeah... let me comment away that line13:24
Saviqmterry, mzanetti, auto has advantages and disadvantages - easier to write, harder to read13:24
Saviqand QtCreator's code completion doesn't grok autos13:25
mzanettiyeah... /me loves easy reading13:25
mterrySaviq, mzanetti: OK, I am actually not a huge fan of auto myself, I just thought that it was in vogue13:26
mzanettimterry: no... so far I think you're the only one using it in our code13:26
nic-doffaydednick, yeah a lot.13:26
mzanettimterry: which is not a problem. but I see you're _only_ using auto in .cpp files13:26
nic-doffayI'd say it's doubled in size almost to trunk.13:26
dednicknic-doffay: any idea when it's going to be ready?13:26
mterrymzanetti, I must have heard c++11 and mentally thought all new stuff was all preferred  :)13:27
mzanettino way13:27
mterrymzanetti, what do you mean about using it only in cpp files?13:27
nic-doffaydednick, not sure at the moment. There's an autopilot issues which prevent a branch it's reliant on from landing.13:27
mzanettimterry: for example in AccountsService.cpp there isn't a single variable with its real type written :)13:28
nic-doffaydednick, I'd say next week.13:28
mzanettimterry: which caused me browse header files quite a lot today13:28
mterrymzanetti, yar, like I said, I'm not an advocate of them.  I just mistakenly got the impression they were preferred13:28
mzanettimterry: ok, cool13:28
mzanettiSaviq: pushed btw...13:29
Saviqmzanetti, k13:29
mzanettiSaviq: but I bet you'll end up uncommenting that line soon :D13:30
nic-doffaydednick, just confirmed, it's still broken. I'm off tomorrow so I can def say next week.13:31
nic-doffayIs it a big problem?13:32
SaviqCimi, standup?13:32
Saviqdednick, standup?13:32
dednicknic-doffay: nope. just didnt want to start working too much on the indicator search bar if it's changing alot13:40
dednicknic-doffay: so i'll just hold out13:40
nic-doffaydednick, cool13:44
mzanettiSaviq: tests/plugins/Unity/Launcher/mocks/AccountsServiceDBusAdaptor.cpp13:44
mzanettiSaviq: the place where this is read again is launcherbackend.cpp :21513:44
nic-doffaydednick, oren's in a meeting but I'll let him know you want to chat when he's out.13:44
mzanettiSaviq: and the real thing that comes from DBus is in plugins/AccountsSErvice/AccountssServiceDBusAdaptor.cpp13:45
dednicknic-doffay: dont worry, i'll just send him an email13:45
=== dednick is now known as dednick|lunch
=== thostr_afk is now known as thostr_
=== Guest72565 is now known as mfisch
=== mfisch is now known as Guest1225
Saviqmzanetti, TBH it feels to me like we're trying to mock this on too low a level...14:04
=== dandrader is now known as dandrader|afk
jbichacould https://code.launchpad.net/~jbicha/unity/recommend-telepathy-indicator/+merge/186392 be reviewed?14:19
jbichaotherwise as a workaround, I could have mcp-account-manager-uoa recommend it but that's not the best place for that relationship14:22
Saviqmzanetti, why do we even need to mock around the whole DBus adapter, and not just deal with QVariants?14:23
cwaynemterry: heyo14:24
mterrycwayne, hi14:24
mzanettiSaviq: yeah... I tried that too...14:24
cwaynemterry: im still seeing the old hardcoded greeter.. do you know if your branch ever landed in the image?14:24
mzanettiSaviq: thing is, we couldn't keep the AccountsServiceDBusAdaptor as generic as it is right now14:24
mterrycwayne, (A) my branch landing will still give you the old hardcoded greeter14:25
mterrycwayne, (B) my branch didn't land, it got delayed, potentially until mir does land14:25
mterrycwayne, sergiusens saw a performance hit with my branch and I didn't have time to track it down14:25
cwaynemterry: i thought the whole point of that branch was that it fallsback to the background gsetting?14:25
Saviqmzanetti, yeah, but then that means the AccountsService plugin is tied to DBus completely14:25
mterrycwayne, oh oh oh14:25
mterrycwayne, you're talking about the background branch14:26
mterrycwayne, that landed14:26
Saviqmzanetti, which is not great14:26
mterrycwayne, but maybe didn't get released to saucy yet, let me check14:26
mzanettiSaviq: yeah... I started to refactor that too. but reverted at some point because it seemed to get worse14:26
mterrycwayne, nope.  It landed on 9/16, right after that day's unity8 release, and we haven't had another since14:27
cwaynemterry: ah, alright so it's not in the image then... any idea when we'd have another release?14:28
mzanettiSaviq: but I guess I'll just introduce  additional methods in the AccountsServiceDBusAdaptor called [set]launcherItems() which handle that dbus stuff in there14:28
mzanettimterry: what is your opinion? you wrote that stuff14:29
mterrycwayne, no, I'm not sure what's holding up the release.  we have started doing more measured releases, with this new landing spreadsheet and stuff14:29
* mterry reads scrollback14:29
mzanettimterry: so I'm in the need to mock the accountsservice stuff14:29
mzanettimterry: but I'm just not able to fake the launcher items struct14:29
Saviqmzanetti, actually14:30
mzanettimterry: and we kinda think the dbusadaptor shouldn't expose QDBusArguments to the outside14:30
ChrisTownsendjbicha: I was asking my team about that MP and we need someone from distro to ack as well.14:30
=== dandrader|afk is now known as dandrader
Saviqmzanetti, shouldn't the adapter cough up "flat" QVariants already?14:30
Saviqmzanetti, instead of going qdbus_cast in LauncherBackend?14:30
mterrymzanetti, I didn't think the dbusadaptor was exposed at all.  I thought we only exposed the Qml-friendly AccountsService class14:30
Saviqmzanetti, at that point mocking the adapter would become trivial14:31
mzanettimterry: no... you created it for the launcher :)14:31
mterrymzanetti, oh in the launcherbackend code it is14:31
mzanettimterry: and afterwards you only wrapped the QML stuff around14:31
mzanettiSaviq: yes... I agree14:31
mzanettiSaviq: but that means the accountsservicedbusadaptor needs to know about the launcher's config format.14:32
mzanettiwhich somewhat sucks too14:32
Saviqmzanetti, there's no way of QDBusArgument > "flat" QVariant without knowing the format?14:33
mterrymzanetti, Saviq: I'm not opposed to that class being smarter about what it exposes.  But I was envisioning all smarts to belong in the AccountsService class.  Can we push the smarts there and change launcherbackend to use the "wrapper" class?14:33
Saviqmzanetti, there's at least currentSignature on QDBusArgument that suggests it has all the knowledge it needs to flatten itself14:33
mzanettiSaviq: that's the thing... you need to know what's in the QDbusArgument to be able to unmarshall it14:33
Saviqmterry, yeah, that was another of my points14:33
Saviqmzanetti, yeah, but it knows what it is, does it not?14:33
Saviqmzanetti, it has currentSignature() which holds what it is14:34
Saviqaa{sv} in our case14:34
=== dednick|lunch is now known as dednick
mzanettiah right...14:34
Saviqso it'd be braindead that it could not unmarshal itself14:34
Saviqmzanetti, but yeah, what mterry said14:34
mzanettiI agree with that too14:34
Saviqmzanetti, the AccountService is where this should probably happen14:35
Saviqmzanetti, and that's what we should mock14:35
mzanettiack14:35
mterryI think we have a mock for that already14:35
mzanettiSaviq: but it still annoyes me that I didn't manage to fake that damn QDBusArgument14:35
mzanettimterry: yep, we do14:36
Saviqmzanetti, heh ;)14:36
mzanettiok then... I know how to proceed14:36
mzanettithanks guys14:36
mzanettiSaviq: are we ok with scripts for manual testing in /tests/tools/ ?15:13
Saviqmzanetti, I've nothing against that15:13
Saviqmzanetti, but id -u15:13
Saviqmzanetti, not id -g15:13
mzanettiright...15:13
mzanettithanks :)15:13
=== Guest1225 is now known as mfisch
mzanettidoes ctrl+/ in QtCreator work for you? It never worked in the Qt5 edition for me and I assumed its a temporary bug. but it doesn't seem to go away for me.15:52
Saviqmzanetti, seems to work here15:53
mzanettihmm... interesting... any hints on what it could be? works fine with the Qt4 qtcreator15:53
mzanettiI tried remapping that to something else. still nothing15:54
mzanettiall the other combos seem to work15:54
Cimimzanetti, do we have any tests for the bottom bar?16:10
CimiI finished my branch...16:10
Cimihttps://code.launchpad.net/~cimi/ubuntu-ui-toolkit/panel_export-position16:10
Cimihttps://code.launchpad.net/~cimi/unity8/unity8.hud-2_hint-reveal-commit16:10
mzanettiCimi: yes, we have. I think you wrote them16:11
Ciminope16:12
Cimimzanetti, I don't think there are any16:19
mzanettiCimi: is the bottomBar something different than the DashBar?16:20
Cimimzanetti, yes16:21
mzanettiCimi: ah ok... so we probably don't have any16:21
Cimimzanetti, it's the hud revealer16:21
mzanettiah16:21
mzanettiCimi: we have some of them in the hud tests16:21
mzanettiCimi: and autopilot tests for that too16:21
Cimibut we changed the behaviour16:21
CimiI am changing the behaviour16:21
Cimiso I need to test16:21
mzanettiCimi: just adding the visual behavior or the stuff that gets communicated?16:22
mzanetti-adding +changing16:22
Cimimzanetti, the hud stays on screen16:22
Cimihud button16:22
mzanettiCimi: yeah... we have autopilot tests for that16:23
Cimiso I need to test that16:23
Cimiand might need to test the dismiss as well16:23
mzanettiwhich probably should be qmltests actually, but that's what it is right now16:23
mzanettiCimi: yeah... the test is quite precise in that16:23
CimiI can do qmltest maybe16:23
mzanettiCimi: I'm sure autopilot will fail with your branch16:23
mzanettiCimi: if you'd convert that to be a qmltest, that'd be great16:24
Cimimzanetti, where's the autopilot test? how can I test it?16:24
mzanettiCimi: ./build16:24
mzanetticd builddir16:24
mzanettimake install16:24
mzanetticd ../tests/autopilot16:25
mzanettiexport `dbus-launch`16:25
mzanettiautopilot run unity816:25
mzanettiCimi: the export thingie needs to be done only once per shell you want to run the tests16:25
mzanettiCimi: do "autopilot list unity8" to see all tests16:26
mzanettiCimi: and give the full path at autopilot run to run only a single test16:26
=== dandrader is now known as dandrader|lunch
=== jhodapp is now known as jhodapp|lunch
=== jhodapp|lunch is now known as jhodapp
=== dandrader|lunch is now known as dandrader
=== dandrader is now known as dandrader|afk
mterrymzanetti, speaking of AccountsService in unity8, can I get a review for https://code.launchpad.net/~mterry/unity8/statsWelcomeScreen/+merge/184153 ?19:32
mterrymzanetti, ick19:32
mterrymzanetti, let me update it's naming scheme to fit proper style19:32
mzanettimterry: ah right... I already started on this one and was interrupted. sorry. will do tomorrow19:33
mterrymzanetti, no worries.  I'll have it fit and shiny tomorrow19:33
=== dandrader|afk is now known as dandrader
=== jhodapp is now known as jhodapp|afk
=== salem_ is now known as _salem

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