Is your FF nightly on OSX mysteriously slow?

55 views
Skip to first unread message

david bolter

unread,
Jun 4, 2012, 3:32:19 PM6/4/12
to dev-pl...@lists.mozilla.org
Is your Firefox nightly acting slow and/or bloated on mac?

The might be that our alpha quality a11y support on mac is somehow getting
instantiated. While we work on proper fixes we recommend that if you don't
require system a11y services on Mac that you turn them off as a workaround.
In System Preferences under Universal Access the checkbox to uncheck is:
"Enable access for assistive devices".

Please keep an ear out for others that might be encountering this problem
and spread the word.

David

Benjamin Smedberg

unread,
Jun 4, 2012, 3:42:00 PM6/4/12
to david bolter, dev-pl...@lists.mozilla.org
On 6/4/2012 3:32 PM, david bolter wrote:
> Is your Firefox nightly acting slow and/or bloated on mac?
>
> The might be that our alpha quality a11y support on mac is somehow getting
> instantiated. While we work on proper fixes we recommend that if you don't
> require system a11y services on Mac that you turn them off as a workaround.
> In System Preferences under Universal Access the checkbox to uncheck is:
> "Enable access for assistive devices".
I have that on by default, I think it was needed for "witch" or some
other system tool. Do we have metrics (via telemetry or otherwise) on
what percentage of users have this on by default, and whether unwanted
accessibility would be slowing down Firefox?

--BDS

Andrew McCreight

unread,
Jun 4, 2012, 3:54:11 PM6/4/12
to dev-pl...@lists.mozilla.org
There are a number of accessibility related telemetry flags, including A11Y_INSTANTIATED_FLAG and A11Y_ISIMPLEDOM_USAGE_FLAG. Maybe one of those would be useful.

>
> --BDS
>
> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>

Chris Peterson

unread,
Jun 4, 2012, 4:01:44 PM6/4/12
to david bolter, dev-pl...@lists.mozilla.org
On 6/4/12 12:32 PM, david bolter wrote:
> In System Preferences under Universal Access the checkbox to uncheck is:
> "Enable access for assistive devices".

Mac a11y is also activated if you have enabled multi-language input
sources (i.e. you see a country flag in your menu bar). The setting is
in System Preferences > Language & Text > Input Sources.


chris

david bolter

unread,
Jun 4, 2012, 4:05:15 PM6/4/12
to Andrew McCreight, dev-pl...@lists.mozilla.org
For nightly (15) darwin I'm seeing 12.74% of users. I'd like to see the
whitelist solution asap (bug 759736) while in the meantime we disable a11y
on mac (bug 761256).

David

On Mon, Jun 4, 2012 at 3:54 PM, Andrew McCreight <amccr...@mozilla.com>wrote:

>
>
> ----- Original Message -----
> > On 6/4/2012 3:32 PM, david bolter wrote:
> > > Is your Firefox nightly acting slow and/or bloated on mac?
> > >
> > > The might be that our alpha quality a11y support on mac is somehow
> > > getting
> > > instantiated. While we work on proper fixes we recommend that if
> > > you don't
> > > require system a11y services on Mac that you turn them off as a
> > > workaround.
> > > In System Preferences under Universal Access the checkbox to
> > > uncheck is:
> > > "Enable access for assistive devices".

Ehsan Akhgari

unread,
Jun 4, 2012, 4:10:58 PM6/4/12
to Chris Peterson, dev-pl...@lists.mozilla.org
Oh, why is that needed? How can I explicitly check to see whether I
have a11y enabled in my Firefox?

--
Ehsan
<http://ehsanakhgari.org/>

Rob Campbell

unread,
Jun 4, 2012, 4:25:50 PM6/4/12
to Ehsan Akhgari, Chris Peterson, dev-pl...@lists.mozilla.org
You can run the following in a Browser scratchpad (display):

var enabled = false;
try {
enabled = components.manager.QueryInterface(Ci.nsIServiceManager)
.isServiceInstantiatedByContractID(
"@mozilla.org/accessibilityService;1",
Ci.nsISupports);
} catch (ex) {
enabled = false;
}

enabled

~ rob

On 2012-06-04, at 17:10 , Ehsan Akhgari wrote:

> On Mon, Jun 4, 2012 at 4:01 PM, Chris Peterson <cpet...@mozilla.com> wrote:
> Oh, why is that needed? How can I explicitly check to see whether I
> have a11y enabled in my Firefox?
>
> --
> Ehsan
> <http://ehsanakhgari.org/>

Ehsan Akhgari

unread,
Jun 4, 2012, 4:31:46 PM6/4/12
to Rob Campbell, Chris Peterson, dev-pl...@lists.mozilla.org
Following this, a11y is actually disabled for me, even though I have
multiple keyboard layouts set up.

--
Ehsan
<http://ehsanakhgari.org/>


On Mon, Jun 4, 2012 at 4:25 PM, Rob Campbell <rcam...@mozilla.com> wrote:
> You can run the following in a Browser scratchpad (display):
>
> var enabled = false;
> try {
>  enabled = components.manager.QueryInterface(Ci.nsIServiceManager)
>                      .isServiceInstantiatedByContractID(
>                        "@mozilla.org/accessibilityService;1",
>                        Ci.nsISupports);
> } catch (ex) {
>  enabled = false;
> }
>
> enabled
>
> ~ rob
>
> On 2012-06-04, at 17:10 , Ehsan Akhgari wrote:
>
>> On Mon, Jun 4, 2012 at 4:01 PM, Chris Peterson <cpet...@mozilla.com> wrote:

Rob Campbell

unread,
Jun 4, 2012, 4:33:41 PM6/4/12
to Ehsan Akhgari, Chris Peterson, dev-pl...@lists.mozilla.org
Yeah, I think the grand master preference is actually the Enable Access for Assistive Devices check in Universal Access.

(ps, aforementioned script was courtesy of David Bolter).

On 2012-06-04, at 17:31 , Ehsan Akhgari wrote:

> Following this, a11y is actually disabled for me, even though I have
> multiple keyboard layouts set up.
>
> --
> Ehsan
> <http://ehsanakhgari.org/>
>
>
> On Mon, Jun 4, 2012 at 4:25 PM, Rob Campbell <rcam...@mozilla.com> wrote:
>> You can run the following in a Browser scratchpad (display):
>>
>> var enabled = false;
>> try {
>> enabled = components.manager.QueryInterface(Ci.nsIServiceManager)
>> .isServiceInstantiatedByContractID(
>> "@mozilla.org/accessibilityService;1",
>> Ci.nsISupports);
>> } catch (ex) {
>> enabled = false;
>> }
>>
>> enabled
>>
>> ~ rob
>>
>> On 2012-06-04, at 17:10 , Ehsan Akhgari wrote:
>>
>>> On Mon, Jun 4, 2012 at 4:01 PM, Chris Peterson <cpet...@mozilla.com> wrote:

Gavin Sharp

unread,
Jun 4, 2012, 4:40:50 PM6/4/12
to Rob Campbell, Ehsan Akhgari, dev-pl...@lists.mozilla.org
typo (masked by try/catch!): Components, not components

On Mon, Jun 4, 2012 at 1:25 PM, Rob Campbell <rcam...@mozilla.com> wrote:
> You can run the following in a Browser scratchpad (display):
>
> var enabled = false;
> try {
>  enabled = components.manager.QueryInterface(Ci.nsIServiceManager)
>                      .isServiceInstantiatedByContractID(
>                        "@mozilla.org/accessibilityService;1",
>                        Ci.nsISupports);
> } catch (ex) {
>  enabled = false;
> }
>
> enabled
>
> ~ rob
>
> On 2012-06-04, at 17:10 , Ehsan Akhgari wrote:
>
>> On Mon, Jun 4, 2012 at 4:01 PM, Chris Peterson <cpet...@mozilla.com> wrote:

Rob Campbell

unread,
Jun 4, 2012, 4:55:37 PM6/4/12
to Gavin Sharp, Ehsan Akhgari, dev-pl...@lists.mozilla.org
r-!

On 2012-06-04, at 17:40 , Gavin Sharp wrote:

> typo (masked by try/catch!): Components, not components
>
> On Mon, Jun 4, 2012 at 1:25 PM, Rob Campbell <rcam...@mozilla.com> wrote:
>> You can run the following in a Browser scratchpad (display):
>>
>> var enabled = false;
>> try {
>> enabled = components.manager.QueryInterface(Ci.nsIServiceManager)
>> .isServiceInstantiatedByContractID(
>> "@mozilla.org/accessibilityService;1",
>> Ci.nsISupports);
>> } catch (ex) {
>> enabled = false;
>> }
>>
>> enabled
>>
>> ~ rob
>>
>> On 2012-06-04, at 17:10 , Ehsan Akhgari wrote:
>>
>>> On Mon, Jun 4, 2012 at 4:01 PM, Chris Peterson <cpet...@mozilla.com> wrote:

L. David Baron

unread,
Jun 4, 2012, 5:02:20 PM6/4/12
to Ehsan Akhgari, Chris Peterson, dev-pl...@lists.mozilla.org
On Monday 2012-06-04 16:10 -0400, Ehsan Akhgari wrote:
> On Mon, Jun 4, 2012 at 4:01 PM, Chris Peterson <cpet...@mozilla.com> wrote:
> Oh, why is that needed? How can I explicitly check to see whether I
> have a11y enabled in my Firefox?

I actually wrote an extension for this, which I believe should still
work:
https://addons.mozilla.org/en-US/firefox/addon/aboutaccessibilityenabled/

-David

--
𝄞 L. David Baron http://dbaron.org/ 𝄂
𝄢 Mozilla http://www.mozilla.org/ 𝄂

Rob Campbell

unread,
Jun 5, 2012, 9:08:08 AM6/5/12
to dev-pl...@lists.mozilla.org, dbo...@mozilla.com
Also worth noting that we're receiving reports that this causes the newly-landed Debugger to close automatically with an assertion in mozAccessible.mm on the Error Console.

I've filed bug 761574[1] to track this.

~ rob

1. https://bugzilla.mozilla.org/show_bug.cgi?id=761574

On 2012-06-04, at 6:02 PM, L. David Baron wrote:

> On Monday 2012-06-04 16:10 -0400, Ehsan Akhgari wrote:
>> On Mon, Jun 4, 2012 at 4:01 PM, Chris Peterson <cpet...@mozilla.com> wrote:
>> Oh, why is that needed? How can I explicitly check to see whether I
>> have a11y enabled in my Firefox?
>
> I actually wrote an extension for this, which I believe should still
> work:
> https://addons.mozilla.org/en-US/firefox/addon/aboutaccessibilityenabled/
>
> -David
>
> --
> 𝄞 L. David Baron http://dbaron.org/ 𝄂
> 𝄢 Mozilla http://www.mozilla.org/ 𝄂

david bolter

unread,
Jun 5, 2012, 1:39:36 PM6/5/12
to L. David Baron, Chris Peterson, Ehsan Akhgari, dev-pl...@lists.mozilla.org
Still works for me :)

Note to all, we've turned FF mac a11y off in nightly and aurora (already
off in beta/release) while we sort things out. It sure was nice to catch
these issues in our nightly channel. Thanks everyone.

Cheers,
David

On Mon, Jun 4, 2012 at 5:02 PM, L. David Baron <dba...@dbaron.org> wrote:

> On Monday 2012-06-04 16:10 -0400, Ehsan Akhgari wrote:
> > On Mon, Jun 4, 2012 at 4:01 PM, Chris Peterson <cpet...@mozilla.com>
> wrote:
Reply all
Reply to author
Forward
0 new messages