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

Autoraise stopped working with PWA/Web Apps #227

Open ShirEkerling opened 3 hours ago

ShirEkerling commented 3 hours ago

Hi there,

I think that issue existed in the past, if I'm not mistaken and was already addressed.

When creating a PWA app using Chrome's - Settings > Cast, Save, and Share > Install As App (or by app name if PWA natively supported), and then using the website like an app (YouTube, Whatsapp web, etc.), the focus isn't getting automatically into that app. For example, it will move from the app to "Apple Notes" but not back. It will, however, move the focus if the mouse pointer is on the title bar of the app but not the actual content/window itself.

It worked perfectly with one of the previous versions. I just updated it today at the latest, and then it stopped working. This means it is probably in one of the latest releases.

Is there a way to download older versions? This would also solve the problem for me...

Thank you, Shir

ShirEkerling commented 3 hours ago

I see now that sometimes it does work, and sometimes it doesn't. For example, if I have both Chrome and YouTube (as PWA) open side by side, it won't work correctly between them. Opening another native app like Notes on top of them or instead of Chrome and moving the focus into it will then work across the PWA and notes. It could be that Chrome created the problem, but then again, it worked with this current version of Chrome and one of the previous Autoraise versions, and it only stopped when I updated it to the latest today.

Another thought is that because the PWA apps are by Chrome, perhaps AutoRaise thinks that Chrome and the PWA app are the same. Therefore, there's unexpected behavior.