sbmpost / AutoRaise

AutoRaise (and focus) a window when hovering over it with the mouse
GNU General Public License v3.0
1.48k stars 60 forks source link

safari and stickies pro not working #162

Closed sohate closed 1 year ago

sohate commented 1 year ago

Just updated to the new version from 4.0.3 and app doesn't work anymore. Ventura 13.6 MacBook Air M1. Installed previous version, works just fine (4.0.2).

sbmpost commented 1 year ago

@sohate when installing a new version, sometimes MacOS messes up accessibility rights. To rule out this possibility I suggest you go to accessibility settings and find the AutoRaise app in the list. Then while it is selected, click the minus to remove it from the list. Also stop previous AutoRaise instances using the "Activity Monitor" app. And then follow the quick start instructions from the README. Please let me know if this solves the issue. If not, then perhaps the command line version can give us some insights what is happening. I suggest you start it with -verbose true and see if anything weird in the log pops up.

sohate commented 1 year ago

@sbmpost Ok, it's works now, thanks! But the app isn't focusing on Stickies Pro (sticky note on my desktop). Really strange.

It's not working with Safari Full-screen video either. My old post about it: https://github.com/sbmpost/AutoRaise/issues/98

sbmpost commented 1 year ago

@sohate was safari and stickies also not working in 4.2? Or did it break with the latest version? Also, what settings do you use? Is raise enabled or focus only?

sbmpost commented 1 year ago

@sohate This branch: https://github.com/sbmpost/AutoRaise/tree/162-stickies-pro has a possible fix for Stickies Pro. I can't reproduce the behaviour with full screen safari video. If I open a random youtube video in full screen, AutoRaise focuses/raises that window properly. Maybe for the safari issue you can record a short video?

sohate commented 1 year ago

@sbmpost 1. Sorry, idk what to do with AutoRaise.mm, I just downloaded AutoRaise.dmg from here https://github.com/sbmpost/AutoRaise/tree/162-stickies-pro and it still doesn't work with StickiesPro (version 4.0.2 works fine).

  1. https://www.veed.io/view/478062df-8343-4a94-ba1a-94ca49989ad6 here's the video, and let me give you a description:

I have two displays (macbook and external). Opened full screen video in Safari and draged full screen video on external display. And, as you may see on video, AutoRaise doesn't work with full screen video on external display, it just doesn't focus, I have to click.

sbmpost commented 1 year ago

I can't access the video (could be my phone, not sure...)

image

sbmpost commented 1 year ago

@sohate

it still doesn't work with StickiesPro (version 4.0.2 works fine).

This is fixed but not included in the dmg file yet. Let us focus on Safari. If we get that fixed, I will release a new dmg containing both fixes.

So about safari: GitHub also allows you to drag video content right into the conversation. No need for external hosting ;-) Usually I use quicktime for screen recordings.

sohate commented 1 year ago

@sbmpost

https://github.com/sbmpost/AutoRaise/assets/81889148/9796afd0-031f-4f71-8a95-c63e3a1ecf2a

sbmpost commented 1 year ago

@sohate can you also make a screenshot of the AutoRaise preferences screen? so I know what settings you are using.

sohate commented 1 year ago

@sbmpost

Screenshot 2023-10-10 at 00 32 21

If I off "Delay window focus" it doesn't work with full screen safari video too.

sbmpost commented 1 year ago

@sohate thank you :-) I will have a look asap. Probably somewhere tomorrow

sbmpost commented 1 year ago

@sohate So I reproduced the Safari issue. I will need some time to think of a proper fix. Will keep you updated.

sbmpost commented 1 year ago

@sohate I have updated the dmg with fixes for Safari and Stickies pro. You can find it here: https://github.com/sbmpost/AutoRaise/blob/162-stickies-pro/AutoRaise.dmg

If you can try it out for a couple of days, then we can merge this to master.

sohate commented 1 year ago

@sbmpost At the moment, everything works fine. I'll test it.

matgianesini commented 1 year ago

Hello! Not to make a new issue, I'd just like to ask about AutoRaise not working on chrome apps in the version currently installed by brew. I understand that is not on this repo and that version is not the most up to date, I just wanted to ask if that bug has already been fixed here in the upstream repo?

sohate commented 1 year ago

Found a bug: AutoRaise doesn't work with Apple Podcasts app.

sbmpost commented 1 year ago

@matgianesini

Which AutoRaise version are you running? If v4.0 or higher, then chrome apps should work. The latest brew formula is at v4.3. Perhaps you simply need to do a "brew update && brew upgrade AutoRaise"?

sbmpost commented 1 year ago

@sohate

AutoRaise doesn't work with Apple Podcasts app.

Will have a look asap

sbmpost commented 1 year ago

@sohate

Podcasts app should focus/raise properly now, you can use the same link for the dmg: https://github.com/sbmpost/AutoRaise/blob/162-stickies-pro/AutoRaise.dmg

P.S: I noted in the settings screen that you uploaded, that you have both raise and focus enabled. With all the fixes that are in place now, you might want to try out focus only by disabling raise (in preferences, drag the raise delay slider all the way to the left).

sohate commented 1 year ago

@sbmpost, it works with podcasts now, thanks! I love raise options, don't wanna turn it off.

sbmpost commented 1 year ago

@sohate if you haven't found any further issues, I will be merging this probably in a few moments from now. Is everything still working as expected?

sohate commented 1 year ago

@sbmpost Yes, everything works fine.

sbmpost commented 1 year ago

@sohate merged ;-)