Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2011 15:20:07 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Buganini <buganini@gmail.com>
Cc:        Alexander Best <arundel@freebsd.org>, freebsd-current@freebsd.org, Dimitry Andric <dim@freebsd.org>, kmoore@FreeBSD.org
Subject:   Re: Wow... (<-- blown away at performance)
Message-ID:  <201103301520.09432.jkim@FreeBSD.org>
In-Reply-To: <201103301250.07325.jkim@FreeBSD.org>
References:  <AANLkTi=TM8qfSZLmmX_tFmdhd6D3w-=tjZ99kKK_Cw4K@mail.gmail.com> <AANLkTimuqm6T8bavRHJSw1u9%2BgZakgfXaqYPeBtBGBNa@mail.gmail.com> <201103301250.07325.jkim@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 30 March 2011 12:50 pm, Jung-uk Kim wrote:
> On Wednesday 30 March 2011 12:46 am, Buganini wrote:
> > It seems work well now, no lockup when I went through pages.
> > but I still got lockup when I right-click on some flash
> > advertisement. for example, here: http://tw.yahoo.com/
>
> "Don't do that" is not an answer, I guess? ;-)
>
> Seriously, this problem is very well known.  There were several
> work-arounds suggested but the most popular one is setting
> GDK_NATIVE_WINDOWS environment variable.  Try "GDK_NATIVE_WINDOWS
> Flash" on Google and you will see tons of them.  Actually, Fedora
> took that hack into nspluginwrapper later:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=542424
>
> Basically, Gnome people broke the ABI in the middle of major
> release branch, if my understanding is correct.  Of course, that
> caused a lot of complaints and they had to add the variable to
> restore the previous behavior.  Now here is the bad news for you. 
> This environment variable does nothing for us because
> linux-f10-gtk2-2.14.7 does not have the compat hack. :-(
>
> One thing we can do is re-rolling linux-f10-gtk2 with the hack
> locally (as we did for x11-toolkits/linux-f10-pango) and using the
> hack from www/nspluginwrapper-devel *iff* that actually fixes the
> problem.
>
> There was another attempt by PC-BSD to address this issue:
>
> http://trac.pcbsd.org/changeset/3799
>
> Unfortunately, I have no idea how Pango can affect the "right
> click" problem in the first place.  In fact, I wasn't able to
> reproduce the fix on FreeBSD (long ago) and I *thought* their fix
> is PBI-specific (kmoore added to CC list).

I forgot one important thing.  Actually, this problem only started 
happening from Flash plugin 10.1.  So, the easist workaround is going 
back to the last 10.0 release (e.g., 10.0.45.2 does not have this 
issue).  You can find old versions from here:

http://kb2.adobe.com/cps/142/tn_14266.html

FYI, the following Chromium PR has the most plausible root-cause 
analysis of this problem I've ever seen on the Net:

http://code.google.com/p/chromium/issues/detail?id=40157

Just in case if anyone is capable and willing to fix it for good...

Jung-uk Kim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103301520.09432.jkim>