✨ Setting that restricts “Resize window under cursor” to cursor usage

Aperta
#927 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #1082 di @0xEzis — chiusa senza merge

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
macos, swift
Ambito
desktop

Direzione di ricerca

Nell’issue non sono indicati file, test o punti di ingresso. Per prima cosa riproduci il comportamento con due finestre, il cursore su una e il focus della tastiera sull’altra, quindi segui come Loop distingue le scorciatoie da tastiera dal ridimensionamento con il mouse o il trackpad. Il lavoro è completato quando il ridimensionamento da tastiera interessa la finestra con il focus, mentre il ridimensionamento con il mouse o il trackpad può continuare a interessare la finestra sotto il cursore.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Improvement
Bug Description

I have enabled the Resize window under cursor option. The problem is that when I use a keyboard shortcut, I expect the focused window to resize but instead Loop resizes the window that is under the cursor (which may not always lie on the window in focus). The Resize window under cursor option should ideally apply only when Loop is being used with the mouse/trackpad.

This way whenever we are resizing multiple windows at once the Resize window under cursor option will be useful and whenever we are working on a particular window and later decide to maximize it we can simply use the keyboard shortcut without getting the mouse involved again.

Steps To Reproduce
  1. Enable Resize window under cursor option in Loop settings.
  2. Open two windows.
  3. Focus on one window but leave the cursor on the other window.
  4. Do any keybind to resize windows.
Expected Behavior

The keybind should make Loop resize the window in focus not the window under cursor.

Actual Behavior

Loop instead resizes the window under the cursor when using keybinds.

Screenshots

https://github.com/user-attachments/assets/07b46945-dc1f-4725-9321-d0edab510d2a

macOS Version

Sequoia 15.7.3

Loop Version

Version 1.3.0 (1528)

Additional Context

Perhaps instead of making a permanent behavioural change, adding this behaviour as a toggle would be better so that it can be used by keyboard centric, trackpad centric and mixed users alike to make the workflow tailored to their needs.

Final Checks
  • My issue is written in English
  • My issue title is descriptive
  • This is a single bug (multiple bugs should be reported individually)
  • I can help with fixing or developing this issue (tick if you can help).
Lingua principale
Swift
Stelle
11.9k
Fork
287
Merge medio
17h 7m
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mrkai77/Loop

Tutte le issue di mrkai77/Loop

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.