lucasresck / gnome-shell-extension-alt-tab-scroll-workaround

Quick fix to the bug where scrolling in one application is repeated in another when switching between them using Alt+Tab (e.g., VS Code and Chrome)
https://extensions.gnome.org/extension/5282/alttab-scroll-workaround/
GNU General Public License v3.0
235 stars 11 forks source link

Auto restart the extension #34

Open dougkusanagi opened 6 months ago

dougkusanagi commented 6 months ago

Hi, i use PosOS and installed from gnome extensions website and i don't know if for everyone is the same but, this for me, i have to reload it every time the SO reboot. So i made a simple bash script for that purpose, i hope it can be usefull for someone else:

gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Extensions.DisableExtension alt-tab-scroll-workaround@lucasresck.github.io

gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Extensions.EnableExtension alt-tab-scroll-workaround@lucasresck.github.io

I just saved as toggle-alt-tab-extension.sh and created a startup shortcut for it.

lucasresck commented 6 months ago

Hi @dougkusanagi, thanks for the feedback.

Can you confirm that this only happens with this extension?

Sometimes my extensions are also disabled—not just this extension, but all third-party ones.

And thank you for the workaround! I hope it helps other people as well.

dougkusanagi commented 6 months ago

Cara pior que eu só uso a sua extensão, então nem sei te informar se outras também teriam o mesmo comportamento.

lucasresck commented 6 months ago

Acho que vale a pena testar se outras extensões também são desativadas. Pois aí não seria um problema da extensão.

Também vale checar se tem a ver com essa issue de outro usuário do Pop!_OS: https://github.com/lucasresck/gnome-shell-extension-alt-tab-scroll-workaround/issues/18.

Me avise qualquer novidade!


I think it's worth testing whether other extensions are also disabled. Then it wouldn't be an extension problem.

It's also worth checking if it has anything to do with this issue from another Pop!_OS user: https://github.com/lucasresck/gnome-shell-extension-alt-tab-scroll-workaround/issues/18.

Let me know any update!

LionelHolt commented 6 months ago

Indeed I came here with an update that after paying closer attention, I observe it is reproduced via reboot. It was mere coincidence that kernel upgrades often require reboot. I will use the workaround. Thanks!

lucasresck commented 6 months ago

@LionelHolt, thank you for the information. Let us know if the workaround helps you.

LionelHolt commented 6 months ago

Can confirm!