/srv/irclogs.ubuntu.com/2015/03/13/#ubuntu-unity.txt

=== marcusto_ is now known as marcustomlinson
tsdgeosanyone has any clue how do i get the serach indicator?08:43
tsdgeoswe have code for it08:43
tsdgeosbut can't find how to make it show :D08:43
tsdgeosah right the tablet mode08:45
tsdgeosand we don't do that anymore08:46
tsdgeosconfused08:46
tsdgeosmzanetti: damnit didn't see your branch for the strings thing08:56
mzanettitsdgeos, oops. sorry08:57
tsdgeosmzanetti: my fault, but since i have more things maybe we can take mine?08:57
mzanettiack08:57
Saviqtsdgeos, does i18n.ctr even work https://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Components.i18n/ ?09:01
* Saviq was used to // TRANSLATORS:09:02
tsdgeosSaviq: it does, i made it09:03
Saviqtsdgeos, it does mean that i18n.ctr("Foo", "foo") and i18n.ctr("Bar", "foo") are treated separately, right?09:03
tsdgeosSaviq: correct09:04
* Saviq wonders if LP works with msgctx09:04
tsdgeosSaviq: basically https://code.launchpad.net/~aacid/dialer-app/AllIsNotAll/+merge/24304909:04
tsdgeosit does09:04
tsdgeosSaviq: see https://translations.launchpad.net/dialer-app/trunk/+pots/dialer-app/es/+translate?batch=10&show=all&search=all09:05
tsdgeos22 -> Todos09:05
tsdgeos23 -> Todas09:05
Saviqmhm09:05
tsdgeosthe other way around :d09:05
* Saviq just wonders if it's abuse to use ctx when the point is to explain, not give context in the gettext sense09:06
Saviqbut maybe it's fine, we can always revisit when we see it a problem somewhere09:07
tsdgeosSaviq: it's not abusing it09:07
tsdgeosbecause when you get a "Lock" that is actually a "Lock"09:07
tsdgeosand not a "Do Lock"09:07
tsdgeosyou want it to be translated differently09:07
Saviqtsdgeos, sure, this case is totally legit09:07
Saviqit just feels weird to have only one instance of a msgid and addint msgctx to it, but again, that's just me used to // TRANSLATORS: before msgctx09:09
SaviqOTOH if you have multiple instances of msgid, that you do want to keep the same, msgctx will break that09:09
Saviqunless you add it everywhere09:10
Saviqanyway, we probably don't have enough strings to have that problem09:10
tsdgeosor that you add different contexts09:10
tsdgeoslike i did for "Search"09:10
tsdgeosSince they were maybe problematic already09:10
tsdgeossince one is a text hint and the other is a button09:11
tsdgeosfirst could be a noun and second a verb09:11
Saviqsure, when the context is different, ctx makes total sense09:11
Saviqbut yeah, we have little translatables anyway09:11
tsdgeosSaviq: do you have any idea as to if we actually use SearchIndicator.qml at all?09:17
Saviqtsdgeos, we don't09:18
tsdgeosright09:18
tsdgeosmakes sense i couldn't find where we did :D09:18
Saviqtsdgeos, we did, in the Panel, when scopes were still integrated with the shell09:19
Saviqway back when09:19
tsdgeosok, i'll prepare a mr to remove it, on top of the ctr changes since otherwise it will all explode and conflict09:20
Saviqtsdgeos, or just drop it in the same MP...09:21
tsdgeosSaviq: ok09:21
mzanettitsdgeos, hey, there are more strings in Dialogs.qml I'd say09:25
mzanettiyou just updated the two from the bugreport afaics09:25
tsdgeosmzanetti: the only ones that i found could be either names or verbs09:25
mzanettihow's "Reboot" different than "Shutdown"?09:26
* tsdgeos realizes we have shutdown and shut down09:30
tsdgeosmzanetti: agreed shutdown should not need a context09:30
tsdgeosmzanetti: i can add context to them all if you prefer09:31
mzanettiI really don't know. not a translator09:31
mzanettiI just try to understand when exactly it is needed, to be better to translators in the future09:32
mzanettiright now still a bit confused tbh09:32
tsdgeosmzanetti: so basically context is needed when the word can be either a noun or a verb09:32
tsdgeosLock09:32
tsdgeosReply09:32
tsdgeosCall09:32
mzanettibut I guess it also depends on where it is used09:33
mzanettior things like "Keep this short" or something as a hint for translators might be useful too at times09:33
tsdgeosi.e. is "Call" the fact that you got a Call or the button you press to start a call09:34
mzanettiyeah, the "call" example makes sense to me09:34
tsdgeosthe keep it short is usually that our coding sucks and we put the burden on the translator, but yeah that's sometimes used too09:35
mzanettitsdgeos, how about "Power"?09:36
mzanettiprobably only a name...09:36
mzanettibut I guess for german that could use some context09:37
tsdgeosmzanetti: correct09:37
mzanetticould think of 3 words how to translate that09:37
tsdgeosright, usually if your string is only 1 word, it's a potential candidate to context09:37
tsdgeossince the target language may have multiple words that match back to that 1 word09:37
mzanettiyeah, that's why I added all of Dialog.qml to my MP...09:38
mzanettibut again... not that I would have had a real reason... just seemed sensible to me yesterday night09:38
mzanettiand I like your i18n.ctr() better than the TRANSLATORS comment too09:39
tsdgeosjust that i messed up and forgot to add the c in some cases09:40
tsdgeosgood thing the reporter realized09:40
mzanettiright... I saw that too09:40
mzanettiwanted to ask09:40
mzanettia bit odd the compiler doesn't complain... does it use plural handling instead?09:41
tsdgeosyep09:42
tsdgeosso shutdown or shut down?09:47
Saviqtsdgeos, shutdown is noun09:51
Saviqhttp://dictionary.cambridge.org/dictionary/british/shutdown09:51
tsdgeosso shut down i guess09:51
Saviqshut down is verb09:51
Saviqhttp://dictionary.cambridge.org/dictionary/british/shut-sth-down?q=shut+down09:52
tsdgeosat least in the button09:52
tsdgeosnot sure about the title one09:52
tsdgeosmaybe the title one ought to be shutdown?09:52
Saviqtsdgeos, it really should be "Power off" :P09:52
Saviqshut down is abuse of the term09:52
tsdgeosSaviq: in the title or in the button?09:52
Saviqtsdgeos, I wouldn't change them without asking folks in London, for now I'd say "shut down" in both09:53
MirvSaviq: tsdgeos: management tends to be on the safe side currently, so it's possible 5.4.1 will be blocked unless more convincing about the quality of it can be made (we're trying to get QA do sanity testing at least on it etc)09:54
MirvSaviq: tsdgeos: it'd help if 5.4.1 fixes a known vivid blocker09:54
tsdgeosMirv: it fixes making greyback_ happy09:54
tsdgeosthat's a blocker to me09:54
Mirvtsdgeos: sounds indeed a blocker bug being fixed. I wonder what exactly in it makes greyback_ happy?09:55
tsdgeosOVERDRAW stuff not crashing09:55
tsdgeosi.e. actually one of the patches that is in for 5.4.2 and you cherry picked in declarative09:55
Mirvtsdgeos: so, get 1430337 escalated to the milestone? :)09:56
SaviqMirv, it also fixes device pixel ratio bits mzanetti's working on09:56
MirvSaviq: are there bugs about those?09:56
Mirvanyway, it'd be nice if you'd run 5.4.1 on your devices so that we get more and more experience on it09:57
Mirvit feels solid to me yesterday/today and I've been doing all kinds of stuff with it09:57
Saviqtsdgeos, it's "shut down" in the title and button in unity7, let's use that09:59
tsdgeosSaviq: perfect09:59
Saviqtsdgeos, btw, have a look at https://errors.ubuntu.com/bucket/?id=/usr/bin/unity8-dash%3A7%3AtestAndSetRelaxed%3AtestAndSetAcquire%3AtestAndSetAcquire%3AfastTryLock%3AQMutex%3A%3Alock please10:00
Saviqtsdgeos, Pat had scopes crashing reliably on mako rtm yesterday10:01
tsdgeosSaviq: ok10:03
Saviqtsdgeos, fwiw I couldn't reproduce, and it only happened on mako, so not crazy critical10:03
Saviqtsdgeos, and then it's Qt 5.3 still..10:03
tsdgeosright :/10:03
=== JMulholland_ is now known as JMulholland
tsdgeosSaviq: who would we have to convince to get those errors to have the traces for all threads and not just the main one?10:19
Saviqtsdgeos, hmm Thread Stacktrace should have it all10:19
Saviqbut obviously it doesn't10:20
* Saviq checks if that's common10:20
Saviqhyh10:21
tsdgeosafaik lately all the bugs we have10:21
tsdgeosthey don't have the thread stacktrace10:21
tsdgeosand it's possible at some point i wondered why we had the stacktrace in two different places (i.e stacktrace vs thread stacktrace)10:22
Saviqtsdgeos, I think the purpose is to point out which thread crashed10:23
tsdgeossure10:24
Saviqbut then it should have a full trace10:24
tsdgeosthat'd make sense if one them had them all10:24
Saviqtsdgeos, and it does say "Thread Stacktrace" in the middle of that page... just it shows the same, one, thread10:24
Saviqtsdgeos, Pat uploaded the .crash file, /me uploads to LP, hopefully the retrace there will be more interesting10:26
Saviqor t least complete10:26
Saviq+a10:26
tsdgeoshe had one in LP that was incomplete10:30
Saviqso just one thread, too? or not retraced?10:31
Saviqtsdgeos, filed bug #143179610:32
ubot5bug 1431796 in Daisy "Only one thread shown in Thread Stacktrace" [Undecided,New] https://launchpad.net/bugs/143179610:32
tsdgeoscool :)10:32
Saviqoooh... signal 7 btw?10:33
Saviqoh yeah, right10:35
Saviqah crap, we won't get a retrace on LP probably10:35
Saviqmaan /me retraces locally10:35
tsdgeoswhat's 7?10:36
tsdgeossigbus?10:36
tsdgeosSaviq: the stracktrace on the crash seems quite clean, nothing obvious that would cause a crash10:39
Saviqtsdgeos, kk, let me retrace here and you'll have a look-see again10:41
tsdgeosSaviq: seems lp actually retraced it all10:50
tsdgeoshttps://i200112393.restricted.launchpadlibrarian.net/200112393/ThreadStacktrace.txt?token=HnqdgK3V6ktrjPBxgJ741CX4WWBzSNz910:50
Saviqoh good10:51
tsdgeosexcept it's wrong10:51
tsdgeosthread 1 can't be thread 110:52
tsdgeoswait maybe it can10:53
tsdgeosno10:53
tsdgeos#29 0xb67d1a8c in QQuickPixmapReader::run (this=0x146d2b0) at util/qquickpixmapcache.cpp:68810:53
tsdgeosit's the QQuickPixmapReader thread10:53
Saviqwhich might explain why it's all confused10:54
tsdgeosSaviq: can you try to see if you actually get the proper thread 1?10:54
Saviqdoubt it but will try10:54
Saviqit's not like I'd do anything else than the retracer, I could, however, get to gdb10:55
tsdgeosright10:57
tsdgeosE_TOO_MANY_THREADS10:58
tsdgeoscan't find out what half of them are doing10:59
tsdgeosand then there's Thread 19 which has a broken backtrace10:59
Saviqtsdgeos, yeah, same first thread11:08
tsdgeosSaviq: do you get anything in thrad 19?11:09
Saviqtsdgeos, sec, going into gdb11:09
Saviqas I only got #1 from the retrace, too11:09
Saviqtsdgeos, no, ?? everywhere, likely android side11:11
tsdgeosmay be11:11
Saviqtsdgeos, so yeah, everything looks the same in my retrace11:12
Saviqtsdgeos, I'll ask Pat for another .crash if he can get one later today11:12
tsdgeosok :)11:16
=== MacSlow is now known as MacSlow|lunch
mzanettidandrader, hey, do you have an up-to-date silo0 installation?11:52
mzanettidandrader, jouni says the right edge is not working there11:52
dandradermzanetti, no11:52
dandradermzanetti, Saviq, have you guys noticed that tst_PhoneStage is now segfaulting in trunk?11:53
mzanettiI haven't yet11:53
dandradermzanetti, Saviq along with other qmltests errrors elsewhere. Must be due to some new qt release, I suppose11:53
Saviqdandrader, CI didn't have that problem11:53
dandraderSaviq, I have that in my own machine11:53
dandraderSaviq, and here: https://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-vivid/595/#showFailuresLink11:54
* Saviq tries silo 6 tarball11:54
Saviqoh that's new11:54
Saviqdandrader, but it doesn't in here again https://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-vivid/598/#showFailuresLink11:54
dandraderSaviq, I suspected all those failures which seem to be unrelated to the MP in question. Then I tried out "make testPhoneStage" in my own machine and it did crash, just like in jenkins, and also with lp:unity8 :/11:55
Saviqdandrader, it did spin to 350% CPU here...11:58
Saviqunder xvfb at least11:58
Saviqbut didn't crash (yet)11:58
dandraderSaviq, and overall tests seem much slower to run11:58
Saviqdandrader, indeed, the job went up from 1h to 2h overnight12:00
Saviqdandrader, that was actually UITK release12:01
dandraderhmm12:02
Saviqdandrader, it didn't crash here, 1 failed though12:02
* Saviq will try to bisect uitk then12:03
dandraderSaviq, ok, keep me posted12:07
=== alan_g is now known as alan_g|lunch
Cimitsdgeos, I am wondering why in that test is stealing the events13:04
Cimitsdgeos, the zoom out13:04
Cimiwhat might have changed in qt and / or what is broken13:04
Saviqdandrader, I think I found the culprit http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/trunk/revision/1122.1.1613:37
dandraderSaviq, hmm, interesting. indeed last time it tried animators (for the shell rotation animations) they were buggy13:38
dandraders/it tried/I tried13:38
dandraderSaviq, but it appears to have been released a while ago, 2015-01-20, so we should have noticed it before...13:42
dandraderSaviq, anyway, will try reverting that to see the difference13:43
Saviqdandrader, no, that got released there into rtm13:44
Saviqdandrader, it just got released into vivid a few days ago13:44
dandraderSaviq, ah, ok13:44
Saviqdandrader, and we do have the indicator running on top of all tests, to speed up waitForRendering() in case the wait should return straight away13:48
Saviqdandrader, yeah, and just confirmed, that's what's causing the slowdown13:49
dandraderSaviq, exactly13:49
dandraderSaviq, and the CPU hogging as well?13:50
=== MacSlow|lunch is now known as MacSlow
Saviqdandrader, yeah13:51
Saviqdandrader, I think one thing to note is that if using an Animator, waitForRendering probably isn't influenced by that13:52
=== dandrader is now known as dandrader|afk
=== alan_g|lunch is now known as alan_g
tsdgeosCimi: i don't know tbh14:28
=== dandrader|afk is now known as dandrader
Saviqdandrader, FWIW it's not clear what happens with the activity indicator, in itself it doesn't seem broken wrt CPU usage14:49
Saviqdandrader, can you check out https://code.launchpad.net/~saviq/unity8/activity-workaround/+merge/252897 as a workaround15:23
dandraderSaviq, sure. right after I'm done with the task at hand15:26
Saviqdandrader, sure, CI is on it already15:26
Saviqdandrader, all in all it's xvfb that's influenced most: bug #143195716:32
ubot5bug 1431957 in ubuntu-ui-toolkit (Ubuntu) "ActivityIndicator much more CPU intensive under xvfb" [Undecided,New] https://launchpad.net/bugs/143195716:32
Saviqdandrader, I was unable to reproduce your crash, and the tests, if ran outside of xvfb, run fine, if longer due to the waitForRendering() bit16:33
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
=== alan_g is now known as alan_g|EOD

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