Feature Request: Move to edge + offset or margin
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Ambito
- desktop
Direzione di ricerca
No files or tests are named. Start by reviewing the existing Position settings, especially Custom Origin and Center Offset, then determine how X and Y should behave for each edge or corner. Done means the requested shortcuts support consistent offsets and define behavior for positive and empty values.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'd love to create a shortcut that moves a window to a corner or edge but with a specified offset or margin. "Position: Custom Origin" basically does what I want but is limited to the bottom left.
An easy way to add this would be to add the existing "X" and "Y" input fields to all other "Position" options too. For instance:
| Setting | Value |
|---|---|
| Position | Top Right |
| X: 100 Y: 100 |
This would place a window to the top right but with an offset of 100 px to the top and right edge.
This could actually replace some "Position" settings like "Custom Origin" and "Center Offset" (if "Center" basically does what "Center Offset" currently does).
Positions like "Right" could use the "Y" value to slightly move the window up or down.
Open questions
What does a positive "X" value mean when Position is "Right"?
I think that's a terminology question:
- "X" and "Y" mean "offset" -> positive is always top/right
- "X" and "Y" mean "margin" -> positive is always towards the center
The 2nd would be more work to implement but I think it's more what users expect.
If Position is "right" and "X" means "margin" then what does "Y" mean?
In that scenario there's no top/bottom edge that would be the reference point for a margin. So, "X" would be "margin", but "Y" would be offset. That can get very confusing.
So, I guess that would be an argument to use "offset" for everything. Or those settings won't be available in the first place.
What does an empty value do?
At first I thought it would be more difficult to answer but "Center Offset" already defaults an empty value to "0" which is what I would expect here. Unlike leaving width or height empty which leaves the current dimension untouched. So, that's perfectly fine.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 156
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rxhanson/RectanglePro-Community
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
rxhanson/RectanglePro-Community#944 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
rxhanson/RectanglePro-Community#943 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
rxhanson/RectanglePro-Community#939 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
rxhanson/RectanglePro-Community#937 · 4 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
rxhanson/RectanglePro-Community#936 · 2 commenti ·
Tutte le issue di rxhanson/RectanglePro-Community
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
dsh-tauri-desk/deepseek-harness-desktop#1477 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
NousResearch/hermes-agent#151154 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug: on hover a tab's name in Cra stops ~16 pt short of Arc's, with 24 pt of air before the ✕Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
VictorKildahl/cra#243 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
bggRGjQaUbCoE/PiliPlus#3522 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno