/srv/irclogs.ubuntu.com/2014/09/18/#ubuntu-unity.txt

=== jamesh__ is now known as jamesh
=== _salem is now known as salem_
=== salem_ is now known as _salem
tsdgeosmzanetti: Cimi: the Qt crasher has been merged can you re-review https://code.launchpad.net/~unity-team/unity8/two_see_more_bugfix/+merge/234340 ?07:26
tsdgeosCimi: and i fixed your comments in https://code.launchpad.net/~aacid/unity8/category_view_invisible_in_preview_mode/+merge/231844 i think07:27
Cimimorning07:31
tsdgeos@unity8: comments on my last comment of https://code.launchpad.net/~dobey/unity8/purchase-unprogress/+merge/234747 ?07:32
Cimitsdgeos, any idea on https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1370618 ?07:47
ubot5Launchpad bug 1370618 in unity8 (Ubuntu) "[Dash] Swipe to dash shows compressed app scope" [Undecided,New]07:47
Cimitsdgeos, is it due to the overvew?07:47
tsdgeosdon't know07:47
tsdgeosbut not worth investing time now that we're killing the overview anyway07:48
Cimitsdgeos, if is due to overview, yes07:49
Cimitsdgeos, otherwise we will still have it07:49
tsdgeosif we still have it07:49
tsdgeoswe can have a look then07:49
Cimitsdgeos, do you shrink the view when applying the transition effect?07:49
tsdgeosi do lots of things to the view07:49
tsdgeosshrinking is not specially one of them afaik07:50
tsdgeosbut it may be in there07:50
Cimitsdgeos, so it is likely it, or the usual but of mir not updating the frame07:50
Cimiwe will see07:50
tsdgeosyep07:50
Cimiusual bug07:50
tsdgeosmarcustomlinson: looks good now :)07:57
tsdgeosmarcustomlinson: do you think you can bring the07:58
tsdgeos137+ }07:58
tsdgeos138+ else {07:58
tsdgeosto just07:58
tsdgeos} else {07:58
tsdgeos?07:58
marcustomlinsontsdgeos: k sure07:58
tsdgeoscool07:58
tsdgeosthanks for the patch :)07:58
tsdgeosi'll wait for CI to run to top approve07:59
marcustomlinsontsdgeos: cool, pushed08:01
Cimitsdgeos, https://code.launchpad.net/~unity-team/unity8/two_see_more_bugfix/+merge/23434008:06
tsdgeosCimi: we've always checked id08:06
tsdgeosno?08:06
Cimitsdgeos, I thought we checked item before, no?08:07
tsdgeosnot that i know08:07
tsdgeosor maybe someone did08:07
Cimi62-        property Item expandedCategoryItem: null08:07
Cimi63+        property string expandedCategoryId: ""08:07
tsdgeosah yes08:07
tsdgeossomeone broke it :D08:07
tsdgeosbefore people broke it08:07
tsdgeosi used to check id08:07
tsdgeoschecking item is bad08:08
tsdgeosbecause if you scroll a lot and back08:08
tsdgeosyou'll have the item destroyed08:08
tsdgeosand that's why you have to use id08:08
Cimigood point08:08
Cimitsdgeos, now question is08:08
tsdgeosjust that someone approved the thing without me realizing :D08:08
Cimitsdgeos, id is always unique?08:08
tsdgeosit is08:08
tsdgeosscopes need that08:08
Cimiok, but no ay you can write a scope and crash the dash, right?08:08
tsdgeosi guess there's millions08:09
tsdgeoslike doing08:09
tsdgeosint *a = 0; *a = 33; in the code :D08:09
tsdgeospstolowski: can you confirm that inside a single scope category id have to be different?08:09
Cimitsdgeos, if we do public scopes, that you can install from the store, we need to be sure nothing weird happens08:09
Cimitsdgeos, otherwise having scopes in separate processes starts to be a really good idea08:10
Cimitsdgeos, so if a bad developer writes a bad scope, unity8-dash is safe08:10
* Cimi just thought of a burger scope with all the best burgers in town08:11
tsdgeos;)08:12
tsdgeosCimi: fixed https://code.launchpad.net/~unity-team/unity8/two_see_more_bugfix/+merge/234340 again08:16
Cimitsdgeos, let's wait for the other comment08:17
tsdgeosCimi: which one?08:18
Cimitsdgeos, Ids08:18
tsdgeosah08:18
tsdgeosi'm pretty sure that's right08:18
tsdgeosas i commented there we used to do that08:18
tsdgeosand it was fixed because someone thought it was better when it was clearly not08:18
tsdgeosbut sure, let's wait for pstolowski08:19
pstolowskitsdgeos, otp08:20
pstolowskitsdgeos, yes, categories have to be unique within a single scope09:14
tsdgeosCimi: ↑↑09:14
pstolowskitsdgeos, Cimi and scopes API will reject an attempt to create a category with same id09:15
Cimipstolowski, that is what I wanted to her09:15
Cimigood09:15
Cimipstolowski, we have some code checking for id, which could potentially freak out in case of identical ones09:16
Cimipstolowski, since we want to be able to install scopes from any dev, I wanted to make sure we were safe from this side09:16
pstolowskiCimi, did you have a chance to explore/discuss the stuff we discussed 2 days ago about disabling clicks for new results for 100ms?09:18
Cimipstolowski, dammit I forgot09:19
Cimipstolowski, will do now09:19
Cimitsdgeos, in two see more bugfix09:56
tsdgeosyep?09:57
Cimiwhy do we need all these qround ?09:57
tsdgeosbecause LVWPH code is crap09:57
tsdgeosbasically09:57
Cimimaybe only contentY requires, no?09:57
tsdgeosall these09:57
tsdgeosyou mean 2, no?09:57
tsdgeosthere's no more09:57
* tsdgeos checks09:57
Cimitsdgeos, also shrkinking09:59
Cimitypo09:59
tsdgeosCimi: ok, so the qRounds10:11
tsdgeoslet me try to explain why they are there10:12
Cimitsdgeos, I guess, rounding issues10:12
Cimitsdgeos, but are all of them required?10:12
tsdgeosCimi: yes both are10:13
tsdgeosso thign is10:13
tsdgeosLVWPH needs to show the header when you scroll up10:13
tsdgeosbut not always10:13
tsdgeosfor example if you are going up because of an overshoot, it doesn't10:13
tsdgeosso it uses a few heuristics to try to guess what's happening10:13
tsdgeosthe qrounds are needed because10:13
tsdgeoswe use perpixelscrolling in the view, so contentY will almost always be integer but not the contentHeight10:14
tsdgeosthen if we are shrking the view10:14
tsdgeosit may happen that contentHegiht is smaller contentY+height because of those "rounding issues"10:15
tsdgeosand then the heuristic decides we have to show the header10:15
tsdgeoswhen we have not10:15
tsdgeosthat's the best explanation i can give10:15
Cimitsdgeos, trusting you10:21
tsdgeosCimi: at least the huge qmluitests don't break :D10:21
Wellarkmzanetti: I've been sick10:22
Wellarkwhat's up?10:22
mzanettiWellark: nothing really... just mterry tried to remove some of the Lockscreen api because it wasn't used...10:23
mzanettiso I just told him that you'll use it eventually10:23
Wellarkmzanetti: ok.10:25
Cimitsdgeos, approved both10:26
tsdgeosCimi: \o/10:26
Cimitsdgeos, I guess we want to rebase more things on memory on that10:26
Cimitsdgeos, I realised it was against aacid branch, not unity-team10:26
tsdgeosouch10:27
tsdgeoshope not much conflicts10:27
om26ermzanetti, Hi! in latest utopic image, right edge switcher is kind of broken. bug 137104710:31
ubot5bug 1371047 in unity8 (Ubuntu) "Apps start but their splash screen is shown constantly in the right edge switcher" [High,New] https://launchpad.net/bugs/137104710:31
mzanettiuh oh10:31
mzanettiso that's in the image already10:31
mzanettiom26er: k, thanks. will take care10:32
mzanettigreyback: ^10:32
mzanettigreyback: any idea what could be causing this?10:32
greybackmzanetti: not yet10:33
mzanettiseems a mismatch of app + surfaces10:33
mzanettigiven that its a entry in the spread, it must be that its an element in ApplicationManager10:33
greybackright10:33
mzanettiso in applicationCreatedSurface we probably fail to match the existing one and create a new one10:34
mzanettielopio: ping11:04
=== MacSlow is now known as MacSlow|lunch
=== _salem is now known as salem_
facundobatistaHolas11:51
pstolowskihey11:52
pstolowskitsdgeos, Cimi btw, here is the bug for tracking the disabling of results on new search we discussed https://bugs.launchpad.net/unity-scopes-shell/+bug/123897911:54
ubot5Launchpad bug 1238979 in unity-scopes-shell "Scope result models are cleared on updates" [Undecided,In progress]11:54
tsdgeospstolowski: get someone to assign it a critical11:55
pstolowskitsdgeos, Cimi also one of the last comments from Saviq describe his proposed solution11:55
tsdgeoswe're not doing anything non critical these days11:55
pstolowskitsdgeos, btw, can you link your branch to it (but not MP'ed)?11:55
tsdgeossure, lunch11:56
pstolowskitsdgeos, isn't rtm tag == critical?11:56
tsdgeosnope11:56
pstolowskiok11:56
greybackmzanetti: here's a fix: https://code.launchpad.net/~gerboland/qtmir/duplicate-open-apps/+merge/23510912:02
greybackmzanetti: feel free to choose someone to test :)12:03
mzanettigreyback is the hero of the day :)12:06
=== gatox_ultra is now known as gatox
=== Malsasa_ is now known as Malsasa
=== MacSlow|lunch is now known as MacSlow
mzanettiMacSlow: notification autopilot tests broken. please fix13:33
MacSlowmzanetti, I've recently seen numerous (random) AP-tests failing... might be of that sort?13:34
MacSlowmzanetti, which branch are you talking about here?13:34
mzanettiI assume this one https://code.launchpad.net/~macslow/unity-notifications/fix-1335787/+merge/22733413:35
dandradermzanetti, so lp:~gerboland/unity8/orientationLock got merged through "Focus first app if there are already some running when we're starting up Fixes: 1339883"13:43
dandradermzanetti, was that intentional?13:44
mzanettidandrader: no13:44
dandradermzanetti, greyback is it going to break stuff if it lands without the qtmir, qtubuntu and papi counterparts?13:46
mzanettidandrader: I don't *think* so, given I have tested the image before approving and it seemed to do fine13:47
greybackdandrader: I suspect not. We'll get extra warnings to the log13:47
mzanettibut still trying to figure what exactly this means13:47
dandradergreyback, just noticed that you have a dbusInterface in plugins/Unity/Session/orientationlock.h that's not used for anything :/13:52
greybackdandrader: that's reading a dbus property and watching it. But sure, it's not having any real effect atm13:55
dandradergreyback, really? I grepped for that variable and didn't see it mentioned anywhere besides its declaration13:59
greybackdandrader: OrientationLock.enabled is in qml/Shell.qml14:00
dandradergreyback, I still don't see it14:04
greybackdandrader: line 68?14:04
dandradergreyback,  I mean this "./plugins/Unity/Session/orientationlock.h:55:    QDBusInterface *dbusInterface;"14:04
greybackdandrader: oh oh I see what you mean. Yes oops14:05
greybackthat's not used14:05
* greyback surprised compiler didn't notice that14:06
=== dandrader is now known as dandrader|afk
tsdgeospstolowski:  lp:~aacid/unity8/list_on_bottom_swipe14:52
tsdgeosi have there an initial implementation of the thing14:52
tsdgeospstolowski: i understand that you'd do the sorting and making the second category actually "other" instead of "all" ?14:53
tsdgeospstolowski: also if you can hack a branch with setFavorite enabled14:53
tsdgeoswe can see what happens when you press stuff14:53
pstolowskitsdgeos, yes, i'll take care of that14:55
pstolowskitsdgeos, and thanks, that was fast!14:56
tsdgeospstolowski: well i'm sure it needs work14:57
tsdgeosbut it sets up something we can base on14:57
greybackdandrader|afk: https://code.launchpad.net/~gerboland/unity8/remove-unused-variable/+merge/23514514:59
elopiomzanetti: pong.15:07
=== dandrader|afk is now known as dandrader
dandradergreyback, done15:13
greybackdandrader: thanks! And well caught --  pity it wasn't during review ;)15:14
=== karni_ is now known as karni
mzanettielopio: hey, can I ask you for a favor?15:33
mzanettielopio: when there's some time for it, could we fix unity8 AP tests so they aren't struggling with different languages?15:34
mzanettiright now a bunch of them fail if you don't have the phone set to en15:34
=== gatox is now known as gatox_lunch
elopiomzanetti: we are trying to rely on objectNames, not texts. Unless it's like a name for a list item that we added during the test.15:57
elopiomzanetti: which ones have you found? To see if I have them in my radar15:57
mzanettielopio: in the indicators there are a bunch16:01
mzanettirunning unity8 tests with a non-english device should show it16:02
elopiomzanetti: they check the title, which is probably not necessary as I imagine you have QML tests that do that.16:03
elopiowe should extend those autopilot tests to do something more useful than that.16:04
elopioI'll add an item on my TODO list. I should be able to work on it in ~2 weeks.16:04
mzanettielopio: sounds reasonable... I didn't check details, just ran into this a couple of times now while landing stuff16:04
dandrader_mterry, is there a way to unlock the phone from command line?16:07
=== dandrader_ is now known as dandrader
=== gatox_lunch is now known as gatox
greybackmzanetti: second opinion please: I'm writing test for qtmir's DesktopFileReader. It will obviously need a desktop file to read. Is it clearer to have plain text desktop files in the repo to read, OR generate the desktop file to test in the C++ code to a temp file and read that?16:28
greybackdandrader: ^^16:28
mzanettigreyback: I for one prefer proper files16:29
dandradergreyback, can't you make the test read from a string in memory?16:29
greybackdandrader: not without plenty of work16:29
dandradertesting reading external files are potentially more brittle16:29
mzanettihaving the real file there makes it easier to maintain imo16:30
greybackdarn, now I'm back where I started :D16:30
alecuCimi: hi! tsdgeos told me you may be working on this branch: https://code.launchpad.net/~unity-team/unity8/card-visual-tweaks/+merge/23433216:30
greybackas I'm torn between those options, for those very reasons16:30
mzanettiso I guess there's pro and cons :) do as you wish.. fwiw the launcher tests have files already16:30
greybackmzanetti: ah in that case, better be consistent16:31
dandradergreyback, when then having a pre-generated desktop file in the test dir would be the way to go...16:31
mzanettialthough not much16:31
dandraders/when/well16:31
Cimialecu, I will, maybe tomorrow16:31
greybacktsdgeos: there?16:32
alecuCimi: great. I've added some comments to it, because the spec seems to have been updated and there's code in the branch that should no longer be necessary16:32
greybacktsdgeos: actually, unping, I'm ok16:33
Cimialecu, k16:33
Cimialecu, ta16:33
racarrhmm qtmir doesn't quite sbuild...I wierded something up about the install causing it to try install without16:43
racarrqtmir(cmake)16:44
racarrtrying to install without...the right priveleges?16:44
tsdgeosgreyback: i am now17:00
greybacktsdgeos: it's ok, sorry for poking you17:01
tsdgeosno worries17:01
* tsdgeos leaves for good17:01
mterrydandrader, yes you can unlock from command line17:24
mterryThere is a dbus command you could do17:24
mterryhold on17:24
mterrydandrader, gdbus call --session --dest com.canonical.UnityGreeter --object-path / --method com.canonical.UnityGreeter.HideGreeter17:24
dandradermterry, ok, thanks17:24
=== dandrader is now known as dandrader|lunch
racarrAh! I see. make install is faling because17:59
racarrdebian/rules for qtmir uses this weird double build dir system for17:59
racarrbuilding android v.normal17:59
racarrand changes the install root via an INSTALL_ROOT variable that qmake uses but cmake doesnt18:00
=== karni is now known as Guest45475
=== Guest45475 is now known as karni
mterrymacsl18:44
mterrywhoops18:44
=== dandrader_ is now known as dandrader
mzanettialecu: ping21:19
alecumzanetti: pong21:19
mzanettialecu: hey, the MP you asked for is in silo 00721:19
alecuwow, I feel like a secret agent21:19
mzanetti:D21:20
alecumzanetti: thanks, I'll give it a round of testing now21:20
mzanettialecu: that silo has currently one issue. apps don't start from the launcher. I have fixed that and am kicking a rebuild21:20
mzanettialecu: but other than that it passed my manual testing, so should be good for you try the purchase thing21:20
alecugreat21:20
=== salem_ is now known as _salem
racarrI wonder if its ok not to build qtmir-desktop for armhf22:37
racarrugh22:37
racarrI guess it should build22:37
racarrWheeeeeeeeee something built22:55
racarrcross built that is22:56

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