peterfajdiga / peterfajdiga/karousel
[Bug] Cannot click small targets on inactive slightly-offscreen windows
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
Hey! Love this project and have been using it extensively on multiple devices for the past few months. Really, truly love everything here.
I've been finding myself wanting to click on buttons on inactive slightly-offscreen windows. What happens is that the window will gain focus immediately upon mouse press, then the window will move, and then the mouse release will no longer be on the button, causing the action to have not worked.
Attached is a screenshot of two firefox windows. The one on the left has focus currently, and I want to click the close tab button on the window on the right. (The mouse cursor is hovering over it in the screenshot.) In this layout, that close button cannot be clicked.
This happens both on X11 with a mouse and on Wayland with a touchscreen. For the focus mode, I am using click-to-focus and not focus-follows-mouse.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named in the issue. First reproduce the click-to-focus behavior with an inactive, slightly offscreen window on X11 with a mouse and Wayland with a touchscreen; trace the focus, movement, mouse-press, and mouse-release handling. Done means the target button activates without requiring the window to remain stationary.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100