/srv/irclogs.ubuntu.com/2008/06/08/#ubuntu-mozillateam.txt

JazzvaSorry, xchat works (I tried to do something else before)... But still nothing for pidgin00:01
JazzvaAre you using the liferea from intrepid or hardy?00:01
ftaintrepid00:02
ftabut iirc, it was on hardy too00:02
ftastarted a few months ago00:02
JazzvaOk, I'll test both...00:02
JazzvaIf it happened few months ago, then it is probably a bug in liferea :/00:02
JazzvaYep. Liferea in hardy shows the same behaviour as Pidgin...00:05
ftamaybe the notification area applet00:06
JazzvaI suppose...00:06
JazzvaTo report a bug upstream?00:06
Jazzva(unless they say it's a feature :))00:07
ftai doubt it, it's a regression imho00:07
JazzvaI suppose they have some sort of BTS...00:07
ftacan't find anything related in launchpad00:28
Jazzvafta: This might be useful - http://sourceforge.net/tracker/?atid=581684&group_id=8700500:29
Jazzvawell, at least for reporting a new bug... it doesn't list any bug with "workspace" in summary00:31
ftahmm, could be a gtk bug00:38
JazzvaWell, if one group of programs has one behaviour, and the other has different behaviour, then it might be the way programmers wrote the programs.00:38
ftai'm reading liferea's code00:39
JazzvaI can help you with xchat's code in 10-20 minutes, if you want...00:39
ftaxchat is fine for me00:40
JazzvaIt's fine for me too... We could try to look for the code that does on_notification_hide/show/click/whatever_is_its_name in both programs and compare the differences :)00:41
ftaok, this is bogus00:48
ftaif((gdk_window_get_state(GTK_WIDGET(mainwindow)->window) & GDK_WINDOW_STATE_ICONIFIED) || !GTK_WIDGET_VISIBLE(mainwindow)) {00:48
Jazzvathat's for showing window?00:48
ftathat's the test to see if the window must be hidden or made visible00:49
JazzvaCould you paste that piece of code to paste.ubuntu? I would like to see it00:51
ftagdk_window_get_state(GTK_WIDGET(mainwindow)->window) & GDK_WINDOW_STATE_ICONIFIED returns 2 when the window is visible in another workspace00:55
JazzvaAnd it's recognized as true, if it's not 000:55
ftaand returns 0 when it's invisible (docked) or visible in the current worspace00:56
JazzvaAha00:56
fta!GTK_WIDGET_VISIBLE(mainwindow)) is fine00:56
ubottufta: Error: I am only a bot, please don't think I'm intelligent :)00:56
ftalol00:56
Jazzvahehe00:56
JazzvaShould the first part check if it in another dock, or invisible?00:57
Jazzva*it's00:58
Jazzva*Shouldn't00:58
ftahttp://paste.ubuntu.com/18200/00:58
Jazzvaui_mainwindow_save_position() only saves X and Y values?00:59
Jazzva*saves only (note to self: learn to write)01:00
ftahttp://paste.ubuntu.com/18201/01:00
Jazzvathanks01:00
JazzvaYep, x, y and w, h01:01
ftaand panes, but not workspace, it's window manager's business01:01
ftaif i iconify liferea in the current workspace, the 1st test returns 2 too :(01:02
ftaso visible in a different workspace = iconified for gtk01:03
ftadamn01:03
ftadamn, gdk_window_get_state(GTK_WIDGET(mainwindow)->window) returns 2 so it's not even a mask issue01:07
Jazzvahttp://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkWindowState01:08
ftayes, that confirms it01:09
ftaxchat may do something different01:10
JazzvaI'll take a look now01:10
Jazzvajust to downlaod it01:11
Jazzva*download01:11
Jazzvafta: This is the code which is called when on window hide/show01:24
Jazzvahttp://paste.ubuntu.com/18207/01:24
Jazzvafor xchat01:24
JazzvaDo you thank that changing it to GTK_WIDGET_VISIBLE in liferea would do any good?01:25
Jazzvas/changing/using/01:25
Jazzvas/it to //01:25
JazzvaThat is, just removing the first check in if01:26
Jazzvaleaving it to if(!GTK_WIDGET_VISIBLE(mainwindow))01:26
ftamaybe. but the code is there for a reason. do we have a vcs to look for blame ?01:28
JazzvaFound one in debian01:29
JazzvaVcs-Browser: http://git.debian.org/?p=collab-maint/liferea.git01:29
Jazzvanot useful...01:29
Jazzvahere's upstream: http://liferea.svn.sourceforge.net/viewvc/liferea/01:30
ftanot enough history :(01:35
ftabut this also means that code is old, so something else caused the regression01:36
JazzvaWell, maybe there was the change to that part... the revision list for it is long01:37
Jazzvahttp://liferea.svn.sourceforge.net/viewvc/liferea/trunk/liferea/src/ui/ui_mainwindow.c?view=log01:37
ftathat function didn't change in 2.5y01:37
ftaor more01:37
Jazzvadamn01:38
ftaindeed, that fixes it http://paste.ubuntu.com/18214/01:41
JazzvaWoohoo, we rock :)01:41
JazzvaAre you gonna forward it upstream, to see if they want to include that change? :)01:42
ftathe only problem is that if you iconify it, you have to click twice to make it reappear01:42
JazzvaAnd now it's only once?01:43
ftano, that's now01:43
ftaafter the patch01:43
ftathat may be the purpose of the 1st test01:43
JazzvaMaybe... But, I don't see how it can be related to the mouse click01:44
JazzvaMaybe it's get_state function01:44
ftaeh? ui_mainwindow_toggle_visibility() is called after the mouse click is detected01:45
JazzvaThen again, the function should be called based on event that is caused by a click.01:45
ftait is01:45
JazzvaWell, maybe we can just change it to react to a click, instead of a double-click01:45
ftai said click twice, not double click ;)01:46
JazzvaOooh... right :)01:46
ftait's a status issue01:46
JazzvaSo, if it's visible on another workspace, GTK_WIGDET_VISIBLE might return true, therefore going the the else-branch and hiding the window01:47
ftayes01:47
JazzvaAnd then on second click it shows the window, since G_W_V is false01:47
ftahence the GDK_WINDOW_STATE_ICONIFIED test01:47
ftawhich is buggy01:48
Jazzvadamn01:48
Jazzvathere must be some other way.01:48
JazzvaDo you know if GTK is aware of current workspace?01:48
Jazzvaand the workspace window is on?01:48
ftano idea01:48
ftaat least we've cornered the bug01:49
JazzvaRight :)01:49
JazzvaNow just to find something that will do the "curWorkspace != windowWorkspace" check01:50
Jazzva:)01:50
ftai'm not sure it's possible01:50
JazzvaNeither am I... As you said, it's WM's job.01:50
JazzvaDunno if this check is worth it01:53
JazzvaGDK_WINDOW_STATE_WITHDRAWN the window is not shown.01:53
ftathe test returns only 0 or 201:54
ftaso GDK_WINDOW_STATE_ICONIFIED or nothing01:54
JazzvaBut gtk_window_get_state can return any of the states (0, 1, 2, 4, ... )01:55
ftayes, but here, it's 0 or 201:55
ftasorry :)01:55
Jazzvasniff01:55
ftaindeed01:55
Jazzvaliferea makes little bunny cry01:56
JazzvaBut, should the withdrawn state mean something like "it's not on this workspace, or it's minimized, or something similar"01:56
Jazzva?01:56
ftadonno01:57
JazzvaNeither do I... Just guessing :)01:58
ftahttp://ubuntuforums.org/showthread.php?t=82199402:06
Jazzvaheh ...02:07
Jazzvafta, in what IDE did you test liferea?02:08
ftaprintf()02:09
fta:)02:09
JazzvaNice one :)... so, you edited the file, built it and then just watched the result?02:09
ftayes02:09
JazzvaOk, I just have to try that with withdrawn state ... it bugs me :)02:10
ftafprintf(stderr, "something"); to be sure it's not buffered or logged somewhere in X02:10
Jazzva(even if it won't work)02:10
Jazzvathanks :)02:10
Jazzvafta, xchat works with two clicks too...02:12
JazzvaAnd they also test just GTK_WIDGET_VISIBLE02:13
ftaso that's expected02:13
JazzvaBut, true... it would be good if it could just switch workspace with one click :)02:13
Jazzvafta: This is what I get from gtk_window_get_state:02:47
Jazzvagtk_w_g_s == 0gtk_w_g_s == 1gtk_w_g_s == 0gtk_w_g_s == 1gtk_w_g_s == 2gtk_w_g_s == 3gtk_w_g_s == 002:47
Jazzvafor various clicks (depending on state and workspace)02:48
Jazzvaand this is for output:  fprintf(stderr, "gtk_w_g_s == %d", gdk_window_get_state(GTK_WIDGET(mainwindow)->window));02:50
Jazzvafta: So, it seems it returns 0 when the window is on current workspace and we iconify it03:02
Jazzva1 when we restore it and it was iconified it from the current workspace03:03
Jazzva2 when the window is not on the current workspace, and we iconify it03:03
Jazzvaand 3 when we restore it, and it wasn't iconified from the current workspace03:03
JazzvaNow I'm confused. How it returns this numbers, and GdkWindowState only knows for 0, 1, 2, 4, 8 (and 16)03:04
JazzvaOk, let's change for 2, and 303:05
Jazzvafor 2, is not on the current workspace, or it is minimised03:05
Jazzvasame for 3, it also returns that if it was minimised03:06
JazzvaI'm gonna print all states, so to see which one is what number. I'm confused03:07
Jazzvafta: ok, all states are ok. 1, 2, 4, 8, 16, 32 and 64. But gtk_window_get_state() still returns 0... Why?03:26
=== asac_ is now known as asac
Jazzvaasac: there? Maybe? :)12:09
Jazzvagnomefreak: There?12:12
gnomefreakim here sort of12:13
gnomefreaki cant open bug 1 and i really need to12:13
ubottugnomefreak: Error: Could not parse data returned by Launchpad: The read operation timed out (https://launchpad.net/bugs/1/+text)12:14
gnomefreakubottu: its ok12:14
ubottuFactoid its ok not found12:14
JazzvaI think it's Launchpad... It is opening for me, but slowly12:15
JazzvaRegarding agenda items for the meeting. We shouldn't fill the "Decision" column before meeting. Can you move them to "Notes" column? I don't know where would you put them, so I didn't touch them. And I fixed that last agenda item, so now it's ok12:15
Jazzvagnomefreak: I was wondering if you know do we use #ubuntu-meeting or -mozillateam for the meeting?12:16
JazzvaAnd if we use the first channel, where do we "make a reservation for it" or something?12:17
gnomefreakJazzva: we will use -meeting but i will set that up this week'12:19
gnomefreakJazzva: i got that handled12:19
gnomefreaki hate assholes12:19
Jazzvagnomefreak: Ok, I'll just send the announcment to the list and members.12:20
gnomefreakJazzva: hold off on that for now12:20
gnomefreaki need to make sure noone has claimed that spot yet12:20
JazzvaOk12:20
gnomefreaki will do after i finish my email12:20
gnomefreakJazzva: ok wiki is fixed12:32
Jazzvak12:32
gnomefreaknext i will work on -meeting12:32
gnomefreakgive me some time on that since its sunday morning12:32
gnomefreakJazzva: wtf12:32
gnomefreakJazzva: i got rid of the last comment and the whole fucking thing comes undone12:33
gnomefreakhmmmm12:34
JazzvaIt's fixed. There was a space at the end of the line12:35
gnomefreakJazzva: can you please let me know how to fix that so i can stop it from happening12:35
gnomefreakah12:35
gnomefreakyou have got to be kidding me12:35
JazzvaNope... that breaks the formatting :)12:35
gnomefreakJazzva: thanks12:35
gnomefreakthats not fixed12:35
gnomefreaknow 2nd one is borkee12:35
gnomefreakborkled12:35
JazzvaReally? Ok, I'll look again. It's still saving the current one.12:36
gnomefreakthanks12:36
Jazzvanp12:36
gnomefreaki need smoke12:36
JazzvaOk... where can we check ubuntu-meeting availability?12:37
gnomefreakJazzva: i have sunbird do that for me12:42
gnomefreakJazzva: fridge.ubuntu.com12:42
JazzvaThanks :)12:42
gnomefreakits clear12:42
JazzvaCan we reserve it for 22nd June, 20:00 UTC+2?12:43
gnomefreakJazzva: working on it12:43
JazzvaSent the announcement...12:46
gnomefreakJazzva: i know a few people that edit the fridge and im trying them first there is also a email to request meetings with but #fridge is being moved to #ubuntu-news so im replying on editors i know since neither channel lists the email address12:46
gnomefreakJazzva: thanks. where?12:47
Jazzvalist and members. I couldn't find some members' e-mails, though.12:47
gnomefreakah ok12:47
Jazzva[reed], if you read this the Mozilla team meeting is on 22nd June, 20:00 UTC+2 in #ubuntu-meeting. I couldn't find your e-mail, and I'm not sure if you're on the list12:49
gnomefreakwait a minute please use UTC not UTC+2 :(12:49
* gnomefreak writing email12:49
gnomefreakso thats -600 for me?12:50
JazzvaYes.12:50
JazzvaI'll edit the wiki page.12:50
gnomefreak1400 == 2pm12:50
Jazzvaright12:50
gnomefreakim asking cody i wish i didnt have to12:53
gnomefreaki have email ready to send but he said i can ask there so lets see what he says12:53
JazzvaOk, I changed the times on the wiki pages...12:54
gnomefreakand i added the time link12:55
gnomefreakwiki is slow today12:56
Jazzva:)12:56
gnomefreakJazzva: now when you click the time/date you get a conversion chart12:57
gnomefreak:) once it saves12:57
JazzvaRight... but you set it for 3rd June, 9pm :)12:57
gnomefreakhttp://fridge.ubuntu.com/node/151612:57
gnomefreakJazzva: i didnt change the date or time12:58
gnomefreaki just added the link12:58
gnomefreakWhen: [WWW] Sunday, 22nd June 2008, 18:00 UTC12:58
gnomefreaklooks goo to me12:58
gnomefreakgood12:58
gnomefreakour meeting is set up for #ubuntu-meeting12:59
JazzvaFollowing the link: "Time is fixed on Tuesday, June 3, 2008 at 21:00:00 UTC time"12:59
gnomefreakthats odd ok ill change it12:59
Jazzvak12:59
gnomefreakok saving13:00
gnomefreakhttp://www.timeanddate.com/worldclock/fixedtime.html?month=6&day=22&year=2008&hour=18&min=0&sec=0&p1=013:00
Jazzvagreat :)13:01
gnomefreakand sunbird updated already :)13:02
gnomefreakJazzva: ok i got your post, just one thing to add. If you add agenda item you should show up or it will be skipped and called at end of meeting if you still are not there i will be reviewed for another meeting time (god only know when that will be) i think i will add agenda item to regularize meetings maybe 1 a month or something13:06
JazzvaI'll be there :)13:07
gnomefreakme too as of right this minute13:07
gnomefreaki have my sister coming to town on the 15-16th and i think shes staying for a week so i should be good13:07
gnomefreakJazzva: i accepted your post to list since you are not a member13:08
JazzvaI'm not?13:08
gnomefreakJazzva: not from the email i got13:08
JazzvaHmm... I thought I subscribed.13:08
gnomefreakAs list administrator, your authorization is requested for the13:08
gnomefreakfollowing mailing list posting:13:08
gnomefreakList:    Ubuntu-mozillateam@lists.ubuntu.com From:    jazzva@gmail.com Subject: Mozilla Team meeting Reason:  Too many recipients to the message13:08
gnomefreakAt your convenience, visit:13:09
gnomefreakhttps://lists.ubuntu.com/mailman/admindb/ubuntu-mozillateam13:09
gnomefreakmaybe that email isnt but another one?13:09
JazzvaI don't use another one :)...13:09
gnomefreakoh13:10
gnomefreakdont know than13:10
JazzvaOk, tried to subscribe again. It says I'm subscribed. Perhaps not everyone is allowed to post to the list :).13:12
gnomefreaknot sure you should have been13:12
JazzvaIt's no prob...13:12
gnomefreaki got post before the admin request13:12
gnomefreakand than after it too13:12
gnomefreakJazzva: are you german or dutch?13:13
JazzvaNeither, I'm from Serbia :)13:15
gnomefreakasac: is so maybe he will read his email and translate this bug13:16
shirishgnomefreak: hey14:00
shirishff3rc1 is in intrepid, not RC2 which got released just couple of days ago.14:00
shirishAFAIK14:00
gnomefreakoh yeah sorry, let me check something14:03
gnomefreakah thats why i have it14:04
gnomefreakshirish: sorry i have RC2 in intrepid14:04
gnomefreakshirish: it will be done sometime this week but as i recall not much changed from RC1>RC2 and not sure if anything was linux side14:04
shirishgnomefreak: you're subscribed to somebody's PPA, for I don't see it in the builds.14:05
gnomefreakshirish: they will push it out as soon as they can, its a weekend though14:05
gnomefreakshirish: i have my own as well i have like 4 PPAs i grab packages from14:05
shirishright. I understand that14:05
shirishgnomefreak: can u just mail me the changelog so I know what the changes that have been pushed through in RC2.14:06
gnomefreakshirish: keep something in mind our PPAs always have latest snapshot <perrelease packages> and once we add our fixes they get uploaded to official repos14:06
gnomefreakshirish: i can give you link i think14:07
shirishthat would be cool enough14:07
shirishgnomefreak: I'm not looking to subscribe to the PPA, but definitely interested in knowing what changes to expect.14:08
gnomefreakwell mozillas release notes suck but here they are http://www.mozilla.com/en-US/firefox/3.0rc2/releasenotes/ as for our changes there hasnt been any yet from what i can tell just the .1 push14:12
gnomefreakgive me a minute and i will have our changelog14:14
gnomefreakshirish: here is our changelog at the moment14:16
gnomefreakshirish: http://pastebin.mozilla.org/45514414:16
gnomefreakthis can be changed revised or totally forgotten about without any prior notice ;)14:16
gnomefreaksweet14:19
gnomefreakfta: did we remove DOM from our builds of Ffox-3 i know upstream did but i didnt see anything in changelog to match that14:20
shirishgnomefreak: thanx ;)14:27
gnomefreakshirish: np14:27
shirishgnomefreak: there should have been some note about fsync too, from what I read some issues of fsync have been solved.14:28
gnomefreakasac: fta looking at RC2 for fta's PPA we are still building DOM and upstream dropped it from source and is now a plugin should we do same?14:28
gnomefreakshirish: it might have been fixed in another release i never saw that bug more than just a passing by14:29
ftahi14:40
ftathe improvements are mostly in xul1.9 for us14:40
gnomefreakyeah but i didnt feel like tracking that down too14:41
* gnomefreak was hoping he knoew xul + ff == firefox14:41
gnomefreakso much for RC2 being final14:42
ftathe fsync thing is in xul, not ff14:42
gnomefreak9 blockers atm14:43
gnomefreakfta: that could be why i havent seen much on it14:43
fta?14:43
gnomefreakthe fsync14:43
gnomefreaki was looking for it in ff not xul14:44
gnomefreakfta: do you have the wiki for the improvments/goals for intrepid (for our pakcages)14:51
ftahttps://wiki.ubuntu.com/MozillaTeam/Ideas/Intrepid14:51
gnomefreakthanks14:52
ftachanged something ?15:12
gnomefreakno15:13
gnomefreakwas looking for it the other day15:13
gnomefreaki was hoping UDS stuff got on there15:14
ftanope, no news from asac on that15:14
gnomefreakah ok15:15
ftaJazzva, hm, since i've applied the asoundconf commands provided by crimsun and rebooted, i was happy with everything.. but teatime no longer has sound18:25
JazzvaWhat commands?18:26
Jazzvafta ^18:27
ftaasoundconf reset-default-card && asoundconf set-pulseaudio18:27
Jazzvafta, that's in intrepid?18:27
JazzvaWith some newer package? I'm still on hardy...18:27
JazzvaCan it be reproduced in hardy :)?18:27
ftai've done that on intrepid18:28
JazzvaOk. I'm doing an upgrade now. I think it contains the newer kernel version, so I'll have to restart. I'll test it in hardy after restart.18:29
Jazzvafta, did you see the messages I left in the morning (around 4, 5 am)?18:29
ftayes but it's strange as my tests only show 0 and 2, not 2 and 318:31
JazzvaYou printed the result of "gdk_window_get_state()" only and not "g_w_g_s() & mask"?18:35
ftayes18:35
JazzvaStrange...18:36
JazzvaDid you print with fprintf(stderr, "%d", g_w_g_s(window_variable))?18:36
JazzvaI did it like that, and I got 0, 1, 2 and 3, depending on the sttate :/18:37
ftahm, i've rebuilt it and i see 0, 1, 2, 3 too18:41
ftabut that's with the patcj18:42
ftah18:42
JazzvaThe patch?18:42
JazzvaI tested with .14 ver... The current in hardy18:42
fta-       if((gdk_window_get_state(GTK_WIDGET(mainwindow)->window) & GDK_WINDOW_STATE_ICONIFIED) || !GTK_WIDGET_VISIBLE(mainwindow)) {18:42
fta+       if(!GTK_WIDGET_VISIBLE(mainwindow)) {18:42
JazzvaOh... that patch :). I think I tried to change _ICONIFIED to _WITHDRAWN, and it didn't change the actual result18:43
JazzvaThen I went on looking in the gdk functions, looking if it's maybe a bug in g_w_g_s, but it looked fine. I also noticed they have enum mainwindowState, which uses values 0, 1, 2 and 3, but it's only used in ui_mainwindow_init(). So, I'm confused :).18:44
Jazzvawindow state shouldn't change before actual gdk_window_restore, or _hide (whatever is the name of that function). And it shouldn't return 0-3, but 1, 2, 4, ... :/.18:47
ftano, it's a mask, so 3 = 2 + 118:49
ftait sets bits18:49
JazzvaOh... so, it can be in more than one state atm?18:49
Jazzva:)18:49
ftayes18:50
ftasome states are not incompatible18:50
JazzvaWell, then that's good :)...18:50
ftayes, i'm writing the patch18:50
JazzvaYes, we don't need to change the condition in if, just add one more test in the if-branch18:51
Jazzva:)18:51
ftahm, do we want 2 clicks or just one when the window is visible in another workspace ?19:05
ftai'm used to 219:05
JazzvaWell, xchat uses that - 1 to hide window, and second to show it19:05
JazzvaThen we can just remove the first check, right? It worked that way last night19:06
ftayep, that's what i'm used to too19:06
Jazzvadinner time. see you soon19:09
asacui19:18
asacsoccer fever ;)19:18
ftahi19:19
asachi fta19:19
asaci am heavily sunburned ;)19:19
asacwell not heavily, but quite OK :)19:20
asacfta: on what no news?19:20
ftapeople are looking for our blueprints19:20
asacwhat except for largescalemaintenance do we need a blueprint for?19:21
asacok, but processing is done (upstream wise)19:22
asaci have to redo the current ubuntu related docs about states and tags, but thats not a spec19:22
asacubufox is in flashexperience spec as well as firefoxkdeexperience19:22
asachmm ... maybe the addons thing could get a blueprint ... not sure though.19:23
asacdo we need a spec for daily builds?=19:23
asacI'd say "just do it"19:23
asacthe graceful upgrade thing most likely wont happen. its not really understood. if someone comes up with bright ideas: let me know :)19:24
ftai'm working on it, i needed the new mozclient for dyntag19:24
fta(daily builds)19:24
asacok, i think we should link specs we already have on that page on top.19:26
ftaJazzva, could you please test that: http://paste.ubuntu.com/18534/19:30
ftaJazzva, it's ok for me but it seems that function is sometimes called twice19:31
ftaasac, if you have time, i need help for flock, i'm out of ideas19:32
asacfta: you sure you want to do _present?19:32
asacafaik that doesnt really deiconify in all cases19:33
asacthough the behaviour might be what is wanted from the desktop side19:33
ftawell, it was called in the initial code, and it seems to do what it is supposed to19:33
fta<fta> http://launchpadlibrarian.net/15023265/buildlog_ubuntu-intrepid-amd64.flock_2.0~a1~svn20080603r19205-0ubuntu1~fta4_FAILEDTOBUILD.txt.gz19:36
fta<fta> http://launchpadlibrarian.net/15024875/buildlog_ubuntu-intrepid-i386.flock_2.0~a1~svn20080603r19205-0ubuntu1~fta4_FULLYBUILT.txt.gz19:36
fta<fta> http://launchpadlibrarian.net/15025750/buildlog_ubuntu-hardy-lpia.flock_2.0~a1~svn20080603r19205-0ubuntu1~fta4~hardy_FAILEDTOBUILD.txt.gz19:36
ftaasac, ^^19:36
ftai've even tried shared clucene19:36
ftahttps://code.edge.launchpad.net/~mozillateam/flock/flock.head19:36
ftahttp://www.sofaraway.org/ubuntu/tarballs/flock_2.0~a1~svn20080607r19251+nobinonly.orig.tar.gz19:36
ftait builds fine only on intrepid/i386+lpia, not intrepid/amd64 and hardy/*19:37
asac/usr/bin/ld: /usr/lib/libclucene.a(FSDirectory.o): relocatio19:39
ftayep, that's before the shared patch19:39
asacah19:40
ftaasac, here is with shared on hardy/amd64: http://paste.ubuntu.com/18038/19:40
asacfta: sure it picks everything from systme during build?19:41
asacmaybe change to that directory and just strace -eopen -f make19:41
ftaclucene is not included in the source19:41
asacthe file that fails19:41
asacok germany game starts ;) bbl19:44
ftaenjoy19:46
ftahttp://jboriss.wordpress.com/2008/06/08/improving-tabs/19:46
ftafta@ix:~ $ liferea19:49
ftadirname: extra operand `/usr/lib/xulrunner-1.9/libsqlite3.so.0'19:49
ftaTry `dirname --help' for more information.19:49
ftalrwxrwxrwx 1 root root 13 2008-06-08 16:08 /usr/lib/xulrunner-1.9.1a1pre/libsqlite3.so.0 -> libsqlite3.so19:49
ftalrwxrwxrwx 1 root root 13 2008-06-08 16:07 /usr/lib/xulrunner-1.9/libsqlite3.so.0 -> libsqlite3.so19:49
ftaanother evil hack19:50
Jazzvafta: back, I'll test the patch now.19:59
Jazzvafta: Seems to work for me :)20:11
ftaif i click fast (yet still not double clicks), it gets confused20:12
JazzvaI see...20:20
JazzvaIt doesn't reappear20:21
JazzvaOn double-click, the function is called three times20:21
Jazzva?20:21
ftai only see it called twice20:34
JazzvaIt writes me the output of g_w_g_s there times...20:37
ftaok20:41
ftabut what is causing this ?20:41
Jazzvacallback for double-click?20:43
ftais there one ?20:43
JazzvaDon't know... Just guessing. I'll look for it20:43
asacok cool stuff21:28
asacdebien dropped -common21:28
asacok germany three points ;)21:38
asacfta: so to summarize: flock with system clucene works as long as its static?21:40
ftaasac, for static, it's only ok for intrepid/i386+lpia21:41
asacok ... so most likely flock upstream didnt notice/care and it doesnt work at all21:42
ftafor shared, it fails on hardy/amd64 (i haven't tested anything else yet)21:42
asacfta: but it  fails for static too there from what i saw in the pastes above21:42
ftaa gentoo guy in the flock-dev channel said it's ok for him21:42
asacfta: what is ok for him?21:43
asacamd + static?21:43
asacwhile for us it fails?21:43
ftayes, default trunk = static. he said i have to -fPIC my clucene21:43
ftabut it seems it is already21:43
asacyeah. have you tried gcc 4.2?21:43
ftahttp://launchpadlibrarian.net/14118910/buildlog_ubuntu-intrepid-amd64.clucene-core_0.9.20-3_FULLYBUILT.txt.gz21:43
ftahttp://launchpadlibrarian.net/10140586/buildlog_ubuntu-hardy-amd64.clucene-core_0.9.20-1_FULLYBUILT.txt.gz21:43
ftai've even rebuilt clucene to force -fPIC everywhere, nada21:44
asacthe error looks a bit like a resurrection of the pragma visibility bug we had for a while in xulrunner builds21:44
asac(err, firefox 2 that was921:45
asac)21:45
asacfta: i think its a compiler issue21:45
ftamaybe a libtool issue (i can't see -fPIC on the last line21:45
asacfta: try to force gcc-4.2 and g++-4.221:45
ftahardy is still 4.221:45
asacmaybe for clucene ... but try flock as well21:45
asachmm21:45
ftamy hardy/amd64 chroot has gcc = 4.2.321:46
asacfta: did you check that that symbol actually exists for us?21:46
asacmaybe we are outdated and confiugre.in is not strict enough21:46
ftathere's no version checking at all21:46
asachmm ... but its c++ ... should fail i guess21:46
asaclet me thinkg21:47
asaci think i mixed it up ... that issue was about something else not hidden21:47
asacfta: libclucene ... when was that last build?21:52
asacdid you try a local build?21:52
ftayes (amd64/hardy only)21:52
ftaif you want, i can push a shared flock to my ppa to see where it fails (to compare with static)21:53
asacfta: yeah please push21:58
asachow long does the build take?21:58
ftalike a full ff321:58
ftaso ~40 min21:58
asacthought you are on xulrunner already21:58
asacfta: is the static thing available in ppa already?21:58
asacif it fails on amd64 i can use that one to look21:58
ftano, i said i made it build but at runtime it's borked21:59
asachow borked was it?21:59
asacin which particular way ;) ?21:59
Jazzvafta, try changing this function in ui_tray.c21:59
ftaa window with garbage, i can't even read the eula text21:59
Jazzvahttp://paste.ubuntu.com/18572/21:59
Jazzvait should work. Though, that way it reacts only on button click, and not on double- and triple-click22:00
ftaJazzva, hold on, i'm pushing flock22:00
JazzvaSure thing... I'm off for 40 minutes now, so whenever you can see if it's good. It surely can be better :)22:00
asacfta: sounds wierd. so the static flock is in your ppa?22:00
ftaasac, only intrepid/i386+lpia, everything else ftbfs22:01
asacyeah ... i ment sources ;)22:01
ftabut i've packaged it on intrepid/i386 so i discovered the problem afterwards22:02
ftayes22:02
asacfta: flock failed everywhere on hardy ... ah now i see what you mean ;)22:02
asacare hardy22:02
asac and intrepid sources identical22:02
asac?22:02
ftayes22:02
asackk22:02
asacorig.tar.gz is huge ;)22:02
ftaas long as it's same ~ftaX, it's also the same packaging22:02
ftait's a bit smaller now that it's mozclient22:03
ftaembedded tarball + nobinonly22:03
ftatake the new one instead22:04
ftaasac, ^^22:04
asaci have fta4~hardy now ;)22:05
ftaasac, wait, i'm pushing the shared one.22:05
ftaah, so it's the old tarball ?22:05
asacoh, even embedded bz2 ;)22:05
asacand 53m :)22:05
ftaold one22:05
asacold one?22:06
asaci dont see anything else in ppa22:06
asacanyway, have it now22:06
asacso should be fine22:06
ftait's coming22:06
fta<fta> https://code.edge.launchpad.net/~mozillateam/flock/flock.head22:07
fta<fta> http://www.sofaraway.org/ubuntu/tarballs/flock_2.0~a1~svn20080607r19251+nobinonly.orig.tar.gz22:07
ftait's also there22:07
fta-rw-r--r-- 1 fta fta 39916821 2008-06-07 13:31 flock_2.0~a1~svn20080607r19251+nobinonly.orig.tar.gz22:07
asacfta: you have amd64 at hand?22:10
ftayes22:10
asacis there a branch?22:10
asacgot it22:11
asacfta: do you auto reconfigure during build?22:11
ftai think so22:12
asacfta: can you try?22:13
asaci committed and attempt22:13
asacis that xul 1.8?22:14
ftano, 1.922:15
asachmm but 1.9a1?22:15
asac-DMOZILLA_LOCALE_VERSION=\"1.9a1\" -DMOZILLA_REGION_VERSION=\"1.9a1\" -DMOZILLA_SKIN_VERSION=\"1.8\"22:15
asacok that patch might help then22:15
ftano, it's not a1, it should be rc or close22:16
ftavoyager:~/bzr/build-area/flock-2.0~a1~svn20080607r19251+nobinonly/build-tree$ cat browser/config/version.txt22:17
fta3.022:17
ftaso it's an rc22:17
ftaasac, ^^22:18
asacok22:18
asactry anyway22:18
ftabuilding22:18
asacfta: do you see -fvisibility=hidden?22:23
asacduring build?22:23
ftayes22:23
asacgood22:23
asacfailed yet?22:23
asacor is it later during build that this happens?22:23
ftalater22:24
asacok ... maybe the WRAP_ -line should have been removed to22:24
asactoo22:24
fta?22:25
asachttp://people.ubuntu.com/~asac/simple_visibility_hidden.patch22:26
asacbut well22:26
asacif -fvisibility=hidden is there it might be ok22:26
ftadamn, i have 90 tabs22:28
asacreads like you have a workflow bug ;)22:29
ftadamn, my branch was not up-to-date.. forgot to commit my last changes22:44
ftaso i trashed them with that rebuild :(22:44
asacyeah, shit happens :)22:45
asacuse --reuse :)22:45
asacmaybe that helps22:45
ftathe shared patch was not in the series :(22:53
[reed]boo at the Mozilla Team meeting time... I'm going to be in California canoing down a river ;)22:54
ftaasac, seems it fixes it22:56
asacfta: good22:56
asac[reed]: sounds dangerous :)22:56
[reed]nah, not dangerous at all :)22:57
[reed](I wish it was dangerous)22:57
[reed]I used to go whitewater rafting all the time22:57
[reed]in both kayaks and canoes22:57
[reed]just don't have the time anymore22:57
Jazzva[reed]: I wish I can do that soon ...23:19
Jazzvafta: Yep, the solution I proposed fixes the "bug" ... It recognizes double-click as two separate clicks, and triple-click as three clicks.23:21
JazzvaDunno if it's right way to do it, though.23:22
ftais it http://paste.ubuntu.com/18572/ ? the else if seems misplaced23:25
JazzvaIt is :)23:26
JazzvaI didn't notice it, while I was typing23:26
Jazzvalet me paste the new one23:26
Jazzvahttp://paste.ubuntu.com/18590/23:27
Jazzvathat should work23:27
ftabetter :)23:27
Jazzva:)23:27
JazzvaTell me if it works for you :)23:28
ftahm23:38
JazzvaNot working?23:39
ftano it's ok23:44
ftabut i've done the patch slightly differently23:44
JazzvaCan you paste it?23:44
ftahttp://paste.ubuntu.com/18594/23:45
ftait's the same, but simpler23:45
JazzvaI think you should keep put switch in if (event->type == GDK_BUTTON_PRESS), since there are some other eventsm, and maybe it might react on them23:47
ftaworks great now23:48
ftai think the other events are handled elsewhere23:48
JazzvaDoes it do anything on scroll?23:48
ftano23:48
Jazzvaok :)23:48
ftaonly left and right clicks23:48
JazzvaRight ... the callback is called only for button_press_event... stupid me :)23:49
JazzvaYou can check with upstream, if they would like to implement it :)23:51
ftalet's try to have it in intrepid 1st, see side effects23:51
Jazzvacool :)23:52
ftai have to fix the xul19 patch too23:53
JazzvaBe my guest :)...23:53

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