/srv/irclogs.ubuntu.com/2011/05/03/#ubuntu-mozillateam.txt

=== m_conley_away is now known as m_conley
=== m_conley is now known as m_conley_away
OmegaWe get to keep Firefox in Oneiric :) https://blueprints.launchpad.net/ubuntu/+spec/desktop-o-default-browser07:00
micahgOmega: that's the idea :)07:02
fta2this blueprint is b*t07:04
fta2no modern browser has an engine stable for 6 months.07:05
micahgfta2: the premise was we don't necessarily need a "modern browser" as the default07:06
fta2if one doesn't get an update in 6 months, it's sure full of vulnerability, no one should ever want to have that installed07:06
fta2-ty+ties07:06
micahgfta2: no, the idea was to use webkit which we plan to do stable branch releases for as the backend so security isn't a concern07:06
fta2ok, so it's definitely a good time for me to find another distro then07:07
micahgfta2: don't worry, I cancelled the session07:07
fta2"security isn't a concern" is not my definition of a good distro07:08
micahgfta2: huh?  it's most definitely a concern, I said it wasn't a concern because I'll be backporting security patches from webkit trunk to the stable releases, not that it would be ignored07:08
micahgsorry for not being more clear, It's 1 AM here07:10
fta2http://ubuntuforums.org/showthread.php?p=10746888#post10746888  :(07:11
micahgfta2: well, we would need to know what toolchain/compile flags google uses to do some type of real world comparison07:12
micahgfta2: maybe check with upstream if they have any tricks you can use in your packages07:17
fta2they don't, everything is in the gyp files07:18
fta2but our toolchain sucks more and more release after release07:18
micahgfta2: also, is it a specific release that's slower?07:18
micahgif we can pinpoint the regressions, we can try to get them fixed07:19
* micahg is hoping 4.6 to be good07:19
micahg*gcc-4.607:19
micahgI'm noticing better performance from chromium as the releases progress07:19
fta2why would it? we hardern more and more stuff, making the whole desktop slower07:19
fta2it = gcc 4.607:20
fta2natty is way slower than maverick here07:20
fta2itself slower than lucid07:20
fta2etc07:20
micahgwell, the optimizations the compiler does with each release gets better as well, so hopefully that balances out07:20
fta2obviously not07:21
micahgdesktop performance is the focus of one of the sessions at UDS07:21
micahgphoronix also posted some stats on speed regressions, I think this will be a focus for oneiric and the LTS07:22
micahgfta2: if you find we need something to make chromium faster, let me know and I"ll see what I can do07:23
fta2it's easy to test. grab the same version built with different toolchains and test. the 4 ppas are good candidates. exact same packaging07:25
chrisccoulsonfta2 - regarding the default-browser blueprint, see my responses to the discussion on the ubuntu-desktop list ;)07:28
chrisccoulsonmicahg - have you tried dissecting the chrome binary btw (with objdump and readelf). you might be able to have a guess at some of the major compiler and link flags from doing that07:29
micahgchrisccoulson: nope07:30
chrisccoulsonis chromium built with -pie?07:31
* micahg forgot if we reenabled, checking07:32
chrisccoulsoni'm guessing chromium is pie, and chrome isn't07:33
chrisccoulsonwoah07:34
chrisccoulsonchrome: Relocation section '.rela.dyn' at offset 0x2f680 contains 318 entries:07:34
chrisccoulsonchromium: Relocation section '.rela.dyn' at offset 0x1db60 contains 214625 entries:07:34
micahgyep, with -pie07:34
chrisccoulsonthere is something fundamentally different with how we build chromium.07:34
micahgexcept on ARM I think07:34
chrisccoulsonyeah, pie is a big killer there07:34
chrisccoulsonthe difference in the amount of relocations is pretty awful07:35
chrisccoulsonthat's not just a minor toolchain quirk ;)07:35
micahgwell, unless we can make PIE more efficient, there's not much we can do about that07:35
chrisccoulsonthere isn't a way to make PIE efficient. it's a performance killer by design07:35
chrisccoulsonevery access to a global variable goes via the GOT07:36
chrisccoulsonand every function call via the PLT07:36
chrisccoulsonwhich is pretty wasteful07:36
chrisccoulsoncomparing the binaries could turn in to an interesting little experiment07:37
micahgchrisccoulson: well, the tradeoff would be to link to more libs instead of having one huge binary, another speed killer07:38
chrisccoulsonwell, one huge binary is actually a performance benefit when you're not using -pie07:41
chrisccoulsonwith -pie, it doesn't make much difference07:41
chrisccoulsonthis is why mozilla ships fennec as one big binary on android :)07:41
chrisccoulsonwhen you're linking against external libs, the number of relocations the linker needs to do increases, and that isn't cheap07:42
chrisccoulsonbut in the -pie case, that doesn't really matter, because you already do all those relocations07:42
chrisccoulsoni'd be interested to see a chromium build without -pie, just to see the difference :)07:44
micahgchrisccoulson: I can kick one off locally tomorrow, I need to finish thunderbird now07:45
chrisccoulsonthat's ok, i can do it here later07:45
chrisccoulsonwe also use BIND_NOW in ubuntu, which is a startup time killer07:46
chrisccoulsonespecially with apps that have a lot of relocations (like firefox and chromium) :)07:46
chrisccoulsonwhich is probably one reason why upstream mozilla builds start significantly faster than our builds ;)07:47
micahgchrisccoulson: could we build with static libs and optimize at build time so it can all be loaded quickly (PGO?)07:50
chrisccoulsonit's not going to make much of a difference with -pie ;)07:50
chrisccoulsonand PGO doesn't really improve loading speed07:50
micahgchrisccoulson: would help with start time though, wouldn't it?07:50
chrisccoulsonwell, when I tried PGO here, it didn't really change startup time07:51
micahghmm, that could be because we have PIE enabled w/dynamic libs + BIND_NOW like you said07:51
fta2chrisccoulson, i tried ff4 on android, it's way slower than the stock browser. start time is at least 10 times slower on my tablet08:06
fta2chrisccoulson, and btw, i really don't think pie does any good to chromium. there's already the sandbox08:10
fta2btw, i do a static build, like upstream, hence the huge binary08:11
fta2the only difference is PIE, maybe ld-gold (not sure)08:11
fta2and of course, they use an older toolchain (used to be hardy)08:12
=== yofel_ is now known as yofel
chrisccoulsonfta2 - yeah, ff4 on android isn't fast08:22
xjjkhello, somewhat OT09:26
xjjkis there a PPA containing only Firefox Aurora builds?09:26
xjjkinstead of nightlies09:26
chrisccoulsonxjjk, no. in any case, they're pretty much nightly anyway, aren't they?09:58
chrisccoulsonchromium (no -pie) - Relocation section '.rela.dyn' at offset 0x1d0c0 contains 412 entries (versus 214625 for -pie)10:44
chrisccoulsonouch ;)10:45
chrisccoulsonbug 776355 - wtf?14:10
ubot2Launchpad bug 776355 in firefox "commercial image in background of firefox 3.6.17" [Undecided,New] https://launchpad.net/bugs/77635514:11
=== m_conley_away is now known as m_conley
chrisccoulsonahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh15:57
chrisccoulsonasac - the patch we carry for mozilla bug 467766 is causing mozilla bug 654099 :(15:58
ubot2Mozilla bug 467766 in Preferences: Backend "user settings for pref keys with defaults in extension get reset on upgrade" [Normal,Assigned: ] http://bugzilla.mozilla.org/show_bug.cgi?id=46776615:58
ubot2Mozilla bug 654099 in Firefox Sync: Backend "intl.accept_languages is being set to non-localized value chrome://global/locale/intl.properties" [Normal,New: ] http://bugzilla.mozilla.org/show_bug.cgi?id=65409915:58
xjjkchrisccoulson: I didn't think so? thought they were better-tested nightlies16:50
micahgchrisccoulson: I thought that first one was mostly fixed for 4.0, maybe we can just drop it?17:09
chrisccoulsonmicahg - i'm not sure, i don't think anything has changed there17:10
micahgchrisccoulson: re commercial image bug> I asked for a screenshot17:10
micahgchrisccoulson: I remember having to fuzz that patch at one point, also, when you did the 4.0 upgrade, you fuzzed it as well17:11
micahgso, the logic changed a bit, but idk if it was actually fixed17:12
chrisccoulsonno, i doubt it's fixed it, as it's a fundamental issue with the way it works (and a long term fix would probably go elsewhere too)17:15
jcastrofta: ok so that download progress thing looks niiiiiiiiiice.17:32
jcastrochrisccoulson: you're behind now!17:32
chrisccoulsonjcastro - http://people.canonical.com/~chrisccoulson/unityfox.png ?17:32
chrisccoulsonand see my post to the ayatana list too ;)17:33
jcastroyeah!17:33
=== m_conley is now known as m_conley_away
ftajcastro, indeed17:34
chrisccoulsonjcastro, https://lists.launchpad.net/ayatana/msg05617.html17:39
chrisccoulsonbasically, i need some design input really ;)17:39
jcastroyeah17:40
chrisccoulsonand mpt suggested last week that the way we indicate progress on the launcher could be improved17:40
jcastroI think 2 is correct, download only17:40
jcastroand for 3, just wiggle at the end17:40
jcastrothat makes the icon shake out a bit to indicate that you're done and turns the home button blue17:40
chrisccoulsonyeah, i agree. i'm just not sure it's clear what the progressbar represents from a browser :)17:40
jcastroyeah17:41
ftajcastro, did you have a chance to check my bug from yesterday?17:43
jcastroI have not17:46
jcastroI have been slammed with UDS planning17:46
jcastroI haven't even been able to check the appmenu bug with trevino17:46
=== m_conley_away is now known as m_conley
ftaok18:22
micahgchrisccoulson: about the mozilla patches, I was originally thinking about dropping the prefs patch, but is that a valid tradeoff to drop prefs in favor of have the default language correct?18:29
chrisccoulsonmicahg - yeah. the prefs issues is an edge-case18:29
chrisccoulsonthe language issue makes it pretty much unusable, and for no obvious reason :/18:29
micahgchrisccoulson: k, go ahead and drop it then18:30
chrisccoulsonit happened to me too, and all google sites become unusable (i can't understand cherokee)18:30
micahgchrisccoulson: since it's not a regression over release, I can't push through -security, but we could SRU it18:30
chrisccoulsonand you need to be about to understand cherokee to change your language back to english in google ;)18:30
micahgchrisccoulson: there's a link to use google in english ;)18:30
chrisccoulsonmicahg, that's ok, i've got another change to do a SRU for too18:30
chrisccoulsonmicahg, is there? i didn't notice that18:31
chrisccoulsonall i got was an unusable page :)18:31
chrisccoulsonmicahg - we can try to figure out a better way to fix it, but it would likely involve a more intrusive patch18:32
micahgchrisccoulson: I'll add a google search page to QRT so we can catch it in the future18:32
chrisccoulsonin any case, the current patch breaks a public mozilla API, so we really shouldn't have it in the first place ;)18:32
chrisccoulsonmicahg, https://launchpadlibrarian.net/69336194/googlehome.png ;)18:33
chrisccoulsonactually, this one is more valid: https://launchpadlibrarian.net/69336109/searchresult.png18:33
chrisccoulsonthe first screenshot is just someone manually using cherokee18:33
chrisccoulsonthe second one is a result of the bug18:33
micahgweird, I got a link for english on mine18:34
chrisccoulson1 second, i will try and see if i can get google to automatically pick the wrong language again18:35
chrisccoulsonmicahg, hmm, there's no link to use english here :/18:36
micahgchrisccoulson: k18:36
chrisccoulsonso, i definitely think we should regress the other bug to fix this one18:37
chrisccoulsonit sucks, but i think this one is worse18:37
micahgchrisccoulson: it would be nice if we have a better fix before we push to lucid/maverick18:43
Omegachrisccoulson: Do you want me to ask the firefox ux people what they think of unityfox?19:09
chrisccoulsonOmega, do you know them?19:10
Omegayes19:10
chrisccoulsonwell, i'd certainly like to know what their thoughts are for download progress indication in general19:10
chrisccoulsoni don't like the current download progress window ;)19:10
chrisccoulsonbut i don't think integrating it with the unity launcher is a substitute for that19:11
chrisccoulsonwhich is why i'm stuck ;)19:11
OmegaAlright, I'll mention it on IRC, if it sparks some interest I'll post it on the mailing list :)19:11
chrisccoulsonthanks19:11
ftahttp://www.netmarketshare.com/browser-market-share.aspx?qprid=119:18
Omegachrisccoulson: Do separate firefox windows use separate download lists?19:18
chrisccoulsonOmega, no19:19
kbrosnanon non-untiy firefox, no19:19
Omegachrisccoulson: What is the multiple firefox problem?19:21
Omega(Err, I mean, I don't see how having multiple instances of firefox open complicates the matter)19:22
chrisccoulsonOmega, in unity, all firefox windows are represented by a single icon on the launcher19:22
chrisccoulsonthe multiple windows case is not a problem, as there is only one process talking to the launcher19:23
chrisccoulsonbut, if you run multiple instances of firefox, then you can have several processes all trying to control progress indicators on the launcher19:23
chrisccoulsoni guess that's a design flaw in unity though ;)19:23
chrisccoulsonniiiiice, i just tried the chromium implementation too :)19:26
Omegachrisccoulson: Ah, yes, that does seem like a design flaw.19:29
OmegaYou should raise that issue on the mailing list.19:29
chrisccoulsonOmega, which mailing list?19:31
chrisccoulsoni'll probably just grab the guy working on launcher design at UDS :)19:31
Omegaayatana would probably be the most appropriate19:32
OmegaBecause it needs design thought.19:32
OmegaThey can take it into different directions, maybe spawning more icons when different processes want to use the launcher, or having multiple progress indications19:33
Omegachrisccoulson: Are you at UDS?19:38
chrisccoulsonOmega, i will be, from sunday night19:38
OmegaFun :)19:41
chrisccoulsonyeah, i'm looking forward to it ;)19:43
chrisccoulsonalthough, it's always a busy week19:44
chrisccoulsonand we've got lots of things to figure out, like, how we support firefox in the distro ;)19:44
m_conleychrisccoulson: i've been thinking about that - the behaviour should be the same as Chromium, no?19:49
chrisccoulsonm_conley, in general, or just for the launcher bits?19:49
m_conleychrisccoulson: hm - maybe I didn't read enough scrollback.  I just assumed you were talking about how you were going to deal with the new release cycle19:50
m_conleychrisccoulson: if that's not the case, ignore me. ;)19:50
chrisccoulsonm_conley, oh, i misunderstood entirely there19:50
chrisccoulsondifferent conversation ;)19:50
chrisccoulsonlol19:50
chrisccoulsonyes, it should be mostly the same i guess19:50
chrisccoulsonm_conley, our main bottleneck is going to be because of how we distribute translations19:52
chrisccoulsonbecause we bundle them with our language packs, which are built using an export from launchpad19:52
m_conleyI see (I think)19:52
chrisccoulsonand we don't want the security team being stuck testing 10s of new language packs for 100s of applications every few weeks ;)19:53
chrisccoulsonand i still have no idea how long firefox 4 is going to be supported :/19:54
chrisccoulsoni'd like to upgrade all our users to it, but i don't want to do it before i know we're fully prepared for dealing with faster releases19:54
* m_conley nods19:54
chrisccoulsonbut if firefox 4 is supported for another 6 months or so, then that gives us plenty of time19:55
chrisccoulsonif it's only until firefox 5 is released, then we'd be screwed ;)19:55
m_conleychrisccoulson: just checked - it's 6 months after FF5 is released.  Minimum.19:56
micahgm_conley: is that info public somewhere, I've trying to find timetables for weeks19:57
m_conleymicahg: I literally just walked over to some Firefox people and asked.  I have no idea if it's on a wiki anywhere.  It probably should be.  :/19:57
* micahg feels bad dropping conkeror now :(19:58
chrisccoulsonmicahg, i wouldn't worry. we'd kill it anyway ;)19:58
chrisccoulsonwe shouldn't be spending time on things like that really19:58
micahgwell, I'd like to see if we come up with a xul plan at UDS or not19:59
chrisccoulsondrop it and stick it in a PPA ;)19:59
chrisccoulsontbh, there's not much left in the archive using it now19:59
chrisccoulsonhttp://paste.ubuntu.com/602927/20:01
chrisccoulsonand conkeror is already gone20:01
chrisccoulsonpython-gtkmozembed is going anyway20:01
chrisccoulsonchmsee has a patch for a webkit port somewhere. it needs it anyway, as it uses gtkmozembed20:02
chrisccoulsongoogle-gadgets has gone already20:02
micahgfennec will move to internal xul I think20:02
chrisccoulsonwhy are these all still in my apt cache?20:02
chrisccoulsonthese went weeks ago :)20:02
chrisccoulsondehydra only uses spidermonkey20:02
micahgchrisccoulson: I still have a few universe packages to port to mozjs20:03
chrisccoulsonthat only really leaves instantbird, mozplugger and xiphos20:03
* micahg thought xiphos was being ported to webkit20:04
chrisccoulsoni'm not sure20:04
chrisccoulsonthat's not the sort of application i use regularly ;)20:05
micahgI'll talk to the instantbird devs, might want to switch that to internal xul as well20:05
micahgor kill20:05
chrisccoulsonyeah, i'm not too fussed about that20:05
chrisccoulson_ok, firefox uploaded to natty-proposed20:48
BUGabundoevening20:50
micahgchrisccoulson_: heh, that's not something we do often :)20:54
=== m_conley is now known as m_conley_away
Omegachrisccoulson_: They say it covers the most iconic part of the logo.22:34
Omegachrisccoulson_: this is what she said:22:36
Omega<@Boriss> Tim: it and the notification number cover the most iconic parts of the logo,22:36
Omega<@Boriss> as a simple progress indicator it's not bad.  i'd just change it if i were designing it with only firefox logo in mind :)22:36
Omegachrisccoulson_: maybe this is a good thing to mention to mpt, a possible alternative would be to place the progress bar on top of the icon (kind of like how firefox indicates page load progress)22:37
rippshuh... chromium from the dev ppa keeps freezing 10 seconds after it starts. I even tried starting it in incognito in case an extension was causing it, but no difference.23:56
rippsit's barely using any cpu too, it just stops doing anything23:57
rippsI have to kill it using xkill23:57

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