Closed p1gp1g closed 5 months ago
So I think it is older than the pointed commit. I'll dig into this later today
I'm experiencing unexpected behavior with window focus mouse positioning on v77, the pointer will persistently jump to the top left edge of the newly focused window on X11 using keyboard shortcuts. Hoping this new fix might get it working normally again.
Hi @Kostrol, the code has been merged to main. Would you be able to test if it fixes your issue? Thanks!
Hi @Kostrol, the code has been merged to main. Would you be able to test if it fixes your issue? Thanks!
Thank you.
https://github.com/forge-ext/forge/commit/42b52904d9d5bad3b34a2b34bfec3df0f51fd04d
Windows now somewhat approximately remember the last known pointer position when switching window focus back and fourth, no longer the issue I had.
In my opinion It's still doing some odd behavior of putting the pointer in the top middle title bar instead of e.g the middle for newly opened and tiled windows, as well as being finicky with two different oriented monitors. I'm also seeing an issue a lot more now where the focus will get locked to windows within my primary monitor and not being able to window-focus switch back to my secondary, but that might be another issue.
I'm a little confused about this "option to move the pointer with the focus", where and how is this option configured exactly? I'm used to switching focus independently of mouse, so having it be unaffected and not snap to the new window would be a good option to have also. I end up losing track of the pointer most of the time.
You have to turn this off here
Seems like i was missing a lot of details here, my bad. I saw the commit was for the one file and assumed this was the issue, but i was missing quite a lot of changes. This option did not exist for me through the gnome extensions version that I have been using up to this point, no wonder I was having issues seemingly out of nowhere. I'm just going to clone from here in the future, to be honest I'm still confused as to how and when this happened.
You have to clone this repo then run the following, you may need to install some packages (you'll see if you get any error message) :
make build
make install
OK so forgive me if I'm still making some mistakes here.
I've cloned the main repo, built and installed, this build works very well for me, I'm not sure if this is the same one we're talking about here.
However, it seems to be stuck in this loop where it will prompt an update for this build with the next restart, when it does it will revert these changes and remove the option all-together.
With this newly updated build I am back to my issue of the cursor jumping back to the top edge, with no way to turn it off because the option is gone, so if THIS is the right build, then it's not working for me.
However, it seems to be stuck in this loop where it will prompt an update for this build with the next restart, when it does it will revert these changes and remove the option all-together.
It should be:
make build && make debug && make install
That did it, thank you. First login without the prompt. Build is now marked 45.3-5999, hopefully this is correct.
Thank you for the help and clarification.
Fixed my original issue. I will leave the move pointer with focus disabled for now - currently it has some issues in particular with dash to panel as the mouse tends jump back around on previous focused windows when I don't want it to, otherwise if strictly used as a tiling window manager feature it works I'm sure.
(1) Issue/Bug Description/Video Capture/Screenshots
Since #310 there is an option to move the pointer with the focus. This is fine for users wanting it and very strange for other users, if this is not something you are waiting for, it looks like a bug. I think this setting should be off by default.
Even if I disable that setting, the behavior is still the same: my pointer is moving around when I change workspace which makes the extension unusable for me (I've checkout to 4128dcc17871a4349b088a5245cbc29bf55d4d08, and add chattr +i to avoid auto update)
This is even worse with multiple screens, or when using navigation with a scroll on the topbar
(2) Steps to reproduce
(3) Distribution and Linux version
(4) Journal Logs from the last hour
GNOME Shell version
GNOME Shell 45.3
Forge version
4c4b913c7ff3443f70fd08a6e340c891c3dba358
Other installed/enabled extensions
(6) Monitor Setup
Primary: 2560x1440, on top Secondary: 1920x1080, bellow
Workspaces on primary display only
Other Notes
No response