Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autohide panel shakes a little when opening #149

Open
ryanabx opened this issue Apr 15, 2024 · 7 comments
Open

autohide panel shakes a little when opening #149

ryanabx opened this issue Apr 15, 2024 · 7 comments
Milestone

Comments

@ryanabx
Copy link
Contributor

ryanabx commented Apr 15, 2024

2024-04-14.22-35-49.mp4
@git-f0x
Copy link
Contributor

git-f0x commented Apr 17, 2024

On my end, it happens when continuing to move the cursor against the screen edge while the panel is revealing itself (just quickly moving the cursor there and not moving it doesn't produce a shake).

@wash2
Copy link
Collaborator

wash2 commented May 1, 2024

I think this is possibly not a panel issue. My assumption is that the pointer leaves the panel when continuously moved against the edge. I'll test to see if creating a slightly larger input region than the size of the panel fixes it though.

@ryanabx
Copy link
Contributor Author

ryanabx commented May 1, 2024

Thanks so much for looking into it! I agree with your assumption, that's what it seems like its doing

@git-f0x
Copy link
Contributor

git-f0x commented May 31, 2024

While I'm not sure, this commit might be related pop-os/cosmic-comp@929f4fc, since the panels don't shake on the left or top edges. Other issues also report mouse input not being registered along the bottom and right edges.

@ryanabx
Copy link
Contributor Author

ryanabx commented May 31, 2024

While I'm not sure, this commit might be related pop-os/cosmic-comp@929f4fc, since the panels don't shake on the left or top edges. Other issues also also report mouse input not being registered along the bottom and right edges.

This was a problem before that commit btw

@wash2
Copy link
Collaborator

wash2 commented May 31, 2024

Just following up on this, I don't think I can fix the issue with the input region.

@git-f0x
Copy link
Contributor

git-f0x commented Jun 1, 2024

It seems likely that this is a comp issue.
Unrelated issue, but can also cause a shake:
When e.g. an extended non-autohiding floating panel is anchored to top, and a floating autohiding dock is also anchored to top, the dock reveals only when the cursor is near the side of the panel away from the screen edge. Continuing to move the cursor towards the screen edge makes the dock hide again.
While an unlikely setup, the dock should probably stay revealed when the cursor is at the screen edge).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Alpha 2
Development

No branches or pull requests

4 participants