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

Interaction with UI is prevented when the cursor is touching the bottom or right screen edge #981

Open
git-f0x opened this issue Nov 7, 2024 · 1 comment

Comments

@git-f0x
Copy link
Contributor

git-f0x commented Nov 7, 2024

This follows up pop-os/cosmic-panel#149 (and other linked issues), where a panel-specific band-aid was applied to fix panel behavior at the bottom and right screen edges.

When the cursor is touching the bottom or right screen edges, nothing below the cursor can be clicked or interacted with (or responds to the cursor).
A few examples:

  • The main scrollbar of any maximized app (other than libcosmic apps, but the scrollbar is planned to be moved closer to the edge) can't be interacted with when the cursor is touching the right screen edge, so extra precision is required to grab a scrollbar. E.g. in Firefox, when the cursor is near the right edge, the scrollbar is revealed and can be interacted with, but when the cursor touches the screen edge, the scrollbar becomes uninteractable and hides.
  • The close button in the top-right corner of maximized apps can't be clicked when the cursor is touching the top-right corner in apps that have this behavior, like Firefox (because the cursor also touches the right screen edge).
  • When dragging an auto-tiled app with the cursor from e.g. the bottom left corner to the right edge (3 total tiled apps), the app won't move to the new location (and the preview won't be shown), if the cursor was moved fast enough and is touching the right screen edge. The cursor has to be moved slightly away from the edge for the preview to be shown, making the cursor tiling experience feel unresponsive in those cases.

There are likely more examples of this causing issues, but these are the most disruptive ones that I've noticed.

@git-f0x
Copy link
Contributor Author

git-f0x commented Nov 13, 2024

Not sure if this will help, but cosmic-files-applet isn't affected by this, and input at the edge goes through to the applet.
screenshot-2024-11-13-22-26-38
COSMIC Terminal is going past the right screen edge, so a click and drag should select inside the terminal. But it instead goes though to the Files applet, producing a selection rectangle behind the terminal window.

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

No branches or pull requests

1 participant