Could initialPosition support negative coordinates? #13272

Closed
opened 2026-01-31 03:38:19 +00:00 by claunia · 1 comment
Owner

Originally created by @rellis-of-rhindleton on GitHub (Apr 1, 2021).

Description of the new feature/enhancement

I'd love to specify the initial position of the terminal from the bottom left corner of the screen. My CSS influence tempts me to put a negative number for top, which in my mind would mean that many pixels from the bottom of the screen (and extend the height upwards instead of downwards).

I'm constantly switching between large and small screens and having to move and resize the window every time I open it is annoying. True per-display-size profile settings would be a more complete solution but this seems like a more easily workable idea.

Proposed technical implementation details (optional)

Coordinates are (left, top).

Position (50, 100) = 50 from left, 100 from top. Height measures down from 100, width rightward from 50.
Position (20, -25) = 20 from left, 25 from bottom. Height measures upward from (viewport - 25). Width rightward from 20.

Originally created by @rellis-of-rhindleton on GitHub (Apr 1, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement I'd love to specify the initial position of the terminal from the bottom left corner of the screen. My CSS influence tempts me to put a negative number for top, which in my mind would mean that many pixels from the bottom of the screen (and extend the height upwards instead of downwards). I'm constantly switching between large and small screens and having to move and resize the window every time I open it is annoying. True per-display-size profile settings would be a more complete solution but this seems like a more easily workable idea. # Proposed technical implementation details (optional) Coordinates are (left, top). Position (50, 100) = 50 from left, 100 from top. Height measures down from 100, width rightward from 50. Position (20, -25) = 20 from left, 25 from bottom. Height measures upward from (viewport - 25). Width rightward from 20.
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 03:38:20 +00:00
Author
Owner

@DHowett commented on GitHub (Apr 1, 2021):

Unfortunately, we already do support negative values! They don't do what you would expect, coming from CSS, however (sorry!). Coordinates in this coordinate space act with (0,0) at the top left of the primary display; negative coordinates push the application (nee all windows applications) into monitors to the left of or above the primary display. It's the only way to specify that Terminal, say, maximize itself on the non-default display.

@DHowett commented on GitHub (Apr 1, 2021): Unfortunately, we already do support negative values! They don't do what you would expect, coming from CSS, however (sorry!). Coordinates in this coordinate space act with (0,0) at the top left of the _primary display_; negative coordinates push the application (nee all windows applications) into monitors to the left of or above the primary display. It's the only way to specify that Terminal, say, maximize itself on the non-default display.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13272