Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not working on Firefox #3

Open
PrinzJuliano opened this issue Jul 25, 2022 · 34 comments
Open

not working on Firefox #3

PrinzJuliano opened this issue Jul 25, 2022 · 34 comments
Labels
AX lacking probably pinged the devs and waiting

Comments

@PrinzJuliano
Copy link

PrinzJuliano commented Jul 25, 2022

It does find some information but not anything on actual websites.

Example:
wikipedia.org
Searched for an ambigious term: "Sweden" (at least in German)
grafik
Wanted to navigate to the sweden in arkensas.
Does not work

@godbout
Copy link
Owner

godbout commented Jul 25, 2022

interesting. here:

ScreenFlow.mp4

Firefox is known to be really shit with Accessibility, which Wooshy needs to ping the UI elements. i think i put a special attribute for Firefox to work. anyways, it works here. will investigate more.

what version of Firefox is this? the stable or a nightly build or something? coz they have different bundle identifiers, which could explain why it's not working. (special AX attribute is never set.)

@godbout
Copy link
Owner

godbout commented Jul 25, 2022

you need Accessibility enabled in Firefox:

Screenshot 2022-07-25 at 18 13 01

see https://support.mozilla.org/en-US/kb/accessibility-services

Wooshy should enable this automatically i believe, but again, may depends on your version of Firefox. so let me know. thanks.

@godbout
Copy link
Owner

godbout commented Jul 25, 2022

check if your Firefox also doesn't enforce the AX to be disabled (so that it can pretend it is fast):
Screenshot 2022-07-25 at 18 32 49

@PrinzJuliano
Copy link
Author

I use Version 102.0.1 (64-Bit arm64). I did not have ax.force_disabled active.
Accessibility was not automatically enabled

@godbout
Copy link
Owner

godbout commented Jul 26, 2022

sorry, don't get what you mean.

can you try a3: https://github.com/godbout/Wooshy.docs/releases/tag/1a.3
it's working fine here, if you unblock that setting from Firefox.

@PrinzJuliano
Copy link
Author

PrinzJuliano commented Jul 26, 2022

Works fine on Safari.
Works fine on the main monitor.
It appears to be not working (correctly) on a second monitor.
grafik
grafik

On my third monitor the indicators do not appear at all.
Resolutions:
Main: 3024x1964 Scaled to look like 1512x982. (Switching the resolution to 1800x1169 does have any impact)
2nd: 1920x1080
3rd: 1920x1080

@godbout
Copy link
Owner

godbout commented Jul 26, 2022

oh ok, so it's not a problem of Accessibility, it's a problem of multiple monitors.

so:

  1. does it happen only with Firefox? what about other apps
  2. have you tried any other tools like Vimac/Homerow/Shortcat? do we have the same issue?

i'll investigate. multi monitor setup works, so my guess is that Firefox is sending back wrong data (they're known to be pretty bad regarding AX).

@PrinzJuliano
Copy link
Author

It works fine on Safari and Chrome as well as Toggl Track, Calendar, Appstore, and Xcode.

It does not work on WebStorm (IDE) (which I expected), Thunderbird (Mail Programm), and Postman (REST Client).

I have not tried other tools that work cross application.
I do use AceJump in WebStorm and VSCode but it is a bespoke plugin for those editors, customized to the relative environments.

@godbout
Copy link
Owner

godbout commented Jul 26, 2022

please open separate issues for separate apps else it's gonna be hard to track and it makes my work much more difficult. thanks.

also please precise what you mean by "does not work" in those issues. for Firefox i didn't know it was a double monitor issue so i've spent quite some time investigating something that was actually working. thanks a lot!

@ubuntudroid
Copy link

ubuntudroid commented Jul 30, 2022

I also have two monitors and nothing gets highlighted. I have the latest stable Firefox build installed (103.0), but accessibility services are not enabled for some reason. Accessibility services are also not force disabled. Any way to manually enable Accessibility services?

@godbout
Copy link
Owner

godbout commented Jul 30, 2022

I also have two monitors and nothing gets highlighted. I have the latest stable Firefox build installed (103.0), but accessibility services are not enabled for some reason. Accessibility services are also not force disabled. Any way to manually enable Accessibility services?

so you have 0 there?: #3 (comment)

if it's 1, Wooshy can't enable it. if it's 0, it should.

i'm not sure if there's another way to force enabling it. the Firefox docs are kinda so so. also Firefox do return wrong data on second monitor. (i need to ping them about this. haven't done yet. will update here once it's done. but i don't expect any fix from them.)

@ubuntudroid
Copy link

so you have 0 there?

Exactly.

Thanks for reaching out to Firefox! And great job with this app so far!

@godbout
Copy link
Owner

godbout commented Jul 30, 2022

and what about the Accessibility icon? #3 (comment)

it shouldn't work on your secondary screen, but it should work fine on the primary one. if it doesn't there's something we should be able to do on our side at least.

@ubuntudroid
Copy link

and what about the Accessibility icon?

No icon. 🤷

It's also not working on primary screen for me. There are some highlights, but they are all over the place and don't match the page content. Which I guess makes sense as accessibility services are apparently not enabled.

@godbout
Copy link
Owner

godbout commented Jul 31, 2022

yes, no icon means no Accessibility. which means can't ping position, size, etc. posting a video in a minute.

@godbout
Copy link
Owner

godbout commented Jul 31, 2022

ScreenFlow.mp4

@godbout
Copy link
Owner

godbout commented Jul 31, 2022

the Firefox page: https://support.mozilla.org/en-US/kb/accessibility-services

i would suggest you to try again, follow the page, and try VoiceOver. if when you use VoiceOver you get the icon, but not when you Wooshy, then i can have a deeper look. but if you're using the last version (a6), that should be handled. i can't think of anything else i can do for now.

try VoiceOver and let me know.

@ubuntudroid
Copy link

Weird, even with Voice Over enabled the Accessibility icon does not appear... 🤔

@godbout
Copy link
Owner

godbout commented Jul 31, 2022

somehow half-weird coz Firefox has always been pretty bad with AX. in kindaVim it goes to the 911 Family which is for apps that are so shit that nothing works.

try LibreWolf maybe? Firefox but focused on privacy (i think. i don't use): https://librewolf.net

@godbout
Copy link
Owner

godbout commented Jul 31, 2022

i don't use but i've tested it for users of kV and it has better AX support.

@ubuntudroid
Copy link

It's funny, as sometimes it seems to work just fine, but when I browse to another page via a link it suddenly stops working vice versa... Anyway, I think I'll go with some Chrome-based browser for now then. Appreciate your quick replies!

@godbout
Copy link
Owner

godbout commented Jul 31, 2022

It's funny, as sometimes it seems to work just fine, but when I browse to another page via a link it suddenly stops working vice versa... Anyway, I think I'll go with some Chrome-based browser for now then.

not having this issue either.

2 things i'm thinking tho:

  1. Unknown

  2. do you have any other app that may do some funky stuff with the Accessibility? could be possible that they disable the AX when they're leaving the app.

Appreciate your quick replies!

i've just made a big release for kV so i'm taking a break from coding 😅️

@ubuntudroid
Copy link

  1. Yes, multiple times. 😅
  2. No, there shouldn't be any other app.

One thing I just saw though: it looks like Wooshy finds some things in Firefox even without Accessibility Services. GitHub for instance works just fine. This page however only works partially - the news at the very top as well as the menu items are found, the main news not.

But probably nothing you can do something about. Enjoy your coding break!

@godbout
Copy link
Owner

godbout commented Jul 31, 2022

  1. No, there shouldn't be any other app.

no Homerow? Vimac? Shortcat?

One thing I just saw though: it looks like Wooshy finds some things in Firefox even without Accessibility Services. GitHub for instance works just fine. This page however only works partially - the news at the very top as well as the menu items are found, the main news not.

this is just plain weird. it's like your Firefox is broken? definitely, if you can't activate the Accessibility Services, that is going to be a problem, even if it seems to "work" sometimes. maybe Firefox is having trouble enabling it somehow. but i really don't know how or why would Wooshy be involved. will digest and see if i can come up with something.

But probably nothing you can do something about. Enjoy your coding break!

didn't last that long :D back to have fun 🙃️

@godbout
Copy link
Owner

godbout commented Jul 31, 2022

FWIW, here, starting Firefox then going to your site:

ScreenFlow.mp4

@godbout
Copy link
Owner

godbout commented Jul 31, 2022

no Homerow? Vimac? Shortcat?

actually that would be interesting to see the results you have with those other apps. if you know any, care to try? if you don't know them, care to install and try? HR and SC have trials, Vimac is free and open source. the UX is different, but they use the same underlying technology.

@ubuntudroid
Copy link

it's like your Firefox is broken?

It's a fresh install from a week ago, shouldn't be broken. 🤔

no Homerow? Vimac? Shortcat?

Sure, I can try them out and will report back. Might take a few days though.

FWIW, here, starting Firefox then going to your site:

Try to expand Firefox to be full-width and then try to select one of the articles in the lower part of the webpage (the ones with the images). Those didn't work for me.

@godbout
Copy link
Owner

godbout commented Aug 1, 2022

It's a fresh install from a week ago, shouldn't be broken. 🤔

that old 🤯️ time to change the computer.

Try to expand Firefox to be full-width and then try to select one of the articles in the lower part of the webpage (the ones with the images). Those didn't work for me.

oh. i didn't get it was for some parts of the app. i thought your whole Firefox wasn't working.

so yeah, i've tried, and some parts of the page are missing:

ScreenFlow.mp4

tbh Firefox has been a mega pain for both my apps that are using the Accessibility APIs extensively. Firefox/Mozilla is known to be pretty bad with it. i'll check if there's something i can do.

@godbout
Copy link
Owner

godbout commented Aug 1, 2022

btw the page doesn't work either with Apple's own Accessibility Inspector tool... which is a pretty bad sign:

ScreenFlow.mp4

@ubuntudroid
Copy link

Ah, don't feel pressed about fixing that - it's up to Mozilla to fix their accessibility support.

@godbout godbout added the AX lacking probably pinged the devs and waiting label Aug 2, 2022
@godbout
Copy link
Owner

godbout commented Aug 2, 2022

just trying to see if it's all up to Firefox :D
as long as i'm not 100% sure i can't do anything about, i'll keep looking.

@godbout
Copy link
Owner

godbout commented Dec 22, 2024

It does find some information but not anything on actual websites.

Example: wikipedia.org Searched for an ambigious term: "Sweden" (at least in German) grafik Wanted to navigate to the sweden in arkensas. Does not work

tried on that page. works now. full AX Tree on both monitors. closing. please reopen if you find you're still having issues. thanks!

@godbout godbout closed this as completed Dec 22, 2024
@godbout
Copy link
Owner

godbout commented Feb 14, 2025

turns out it still fails if you're using a too high display resolution on your second monitor. Firefox issue. will report again to them.

Untitled.mp4

@godbout godbout reopened this Feb 14, 2025
@godbout
Copy link
Owner

godbout commented Feb 21, 2025

reported here: https://bugzilla.mozilla.org/show_bug.cgi?id=1949713

i would recommend everyone to report so that Mozilla pays attention to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AX lacking probably pinged the devs and waiting
Projects
None yet
Development

No branches or pull requests

3 participants