Wooshy.docs icon indicating copy to clipboard operation
Wooshy.docs copied to clipboard

not working on Firefox

Open PrinzJuliano opened this issue 2 years ago • 31 comments

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

PrinzJuliano avatar Jul 25 '22 09:07 PrinzJuliano

interesting. here:

https://user-images.githubusercontent.com/121373/180747598-e214b323-2f37-460f-b1c1-94680df60f8a.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 avatar Jul 25 '22 09:07 godbout

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 avatar Jul 25 '22 10:07 godbout

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

godbout avatar Jul 25 '22 10:07 godbout

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

PrinzJuliano avatar Jul 26 '22 09:07 PrinzJuliano

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.

godbout avatar Jul 26 '22 09:07 godbout

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

PrinzJuliano avatar Jul 26 '22 10:07 PrinzJuliano

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).

godbout avatar Jul 26 '22 10:07 godbout

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).

  • https://jetbrains.com
  • https://www.postman.com/
  • https://www.thunderbird.net

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.

PrinzJuliano avatar Jul 26 '22 10:07 PrinzJuliano

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!

godbout avatar Jul 26 '22 11:07 godbout

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?

ubuntudroid avatar Jul 30 '22 10:07 ubuntudroid

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?: https://github.com/godbout/Wooshy.docs/issues/3#issuecomment-1193871453

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.)

godbout avatar Jul 30 '22 14:07 godbout

so you have 0 there?

Exactly.

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

ubuntudroid avatar Jul 30 '22 15:07 ubuntudroid

and what about the Accessibility icon? https://github.com/godbout/Wooshy.docs/issues/3#issuecomment-1193852180

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.

godbout avatar Jul 30 '22 15:07 godbout

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.

ubuntudroid avatar Jul 31 '22 09:07 ubuntudroid

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

godbout avatar Jul 31 '22 09:07 godbout

https://user-images.githubusercontent.com/121373/182020227-91caef6e-2ea6-444a-8b78-0b84729bb229.mp4

godbout avatar Jul 31 '22 09:07 godbout

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.

godbout avatar Jul 31 '22 09:07 godbout

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

ubuntudroid avatar Jul 31 '22 09:07 ubuntudroid

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 avatar Jul 31 '22 09:07 godbout

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

godbout avatar Jul 31 '22 09:07 godbout

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!

ubuntudroid avatar Jul 31 '22 10:07 ubuntudroid

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 😅️

godbout avatar Jul 31 '22 10:07 godbout

  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!

ubuntudroid avatar Jul 31 '22 15:07 ubuntudroid

  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 avatar Jul 31 '22 15:07 godbout

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

https://user-images.githubusercontent.com/121373/182034198-34e2c5e1-b7c2-40ae-a0e0-4c5f20ca9ae4.mp4

godbout avatar Jul 31 '22 15:07 godbout

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.

godbout avatar Jul 31 '22 15:07 godbout

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.

ubuntudroid avatar Aug 01 '22 09:08 ubuntudroid

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:

https://user-images.githubusercontent.com/121373/182179348-61cc0c2f-1710-40e2-a6b4-7179e8a48f25.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 avatar Aug 01 '22 15:08 godbout

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

https://user-images.githubusercontent.com/121373/182180137-16ecbed4-de21-40fb-81cd-e69d76a3f2e7.mp4

godbout avatar Aug 01 '22 15:08 godbout

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

ubuntudroid avatar Aug 02 '22 08:08 ubuntudroid