peterfajdiga / peterfajdiga/karousel

[Bug] _Cursor follows focus_ causes mouse resizing to work incorrectly

Open
#134 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.1k
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Karousel version: 0.14
Plasma version: 6.4.5
X11 / Wayland: X11 (Wayland not tested)

Description:
When Cursor follows focus is enabled and when resizing a column using the mouse, it sometimes instantly shrinks by a large amount.

Steps to reproduce:

  1. Enable Cursor follows focus
  2. Open a window
  3. Start resizing it using the mouse from the right edge of the window
  4. Drag the mouse to the right, trying to increase the size
  5. The window shrinks instead, by a lot

Due to this issue, I've marked the Cursor follows focus setting as experimental for now.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Reproduce on Karousel 0.14 with Plasma 6.4.5 under X11, enabling “Cursor follows focus” and dragging the right edge during a resize; trace the mouse-resize and focus-handling entry points. Done means dragging right reliably increases the window size without an unexpected large shrink.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.