resize terminals when the main window is resized

Bug #231146 reported by Emilio Pozuelo Monfort
4
Affects Status Importance Assigned to Milestone
Terminator
Fix Released
Wishlist
Unassigned

Bug Description

If I open terminator in full-screen mode, split it, and quit full-screen mode, the second terminal will be next to 0x0 size, making it impossible to see it.
Terminator should probably resize them proportionally.

Chris Jones (cmsj)
Changed in terminator:
importance: Undecided → High
milestone: none → 0.9
status: New → Triaged
Revision history for this message
chantra (chantra) wrote :

I guess we could do something about this by recording the width/height percentage used by the paned.
would need quite some code though :s

Changed in terminator:
status: Triaged → Confirmed
Revision history for this message
Chris Jones (cmsj) wrote :

at the very least we need to never make a 0x0 terminal

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote : Re: [Bug 231146] Re: resize terminals when the main window is resized

Chris Jones wrote:
> at the very least we need to never make a 0x0 terminal

neither 0x* nor *x0

Revision history for this message
Chris Jones (cmsj) wrote :

Even though this is really annoying, I'm going to unmilestone it from 0.9. Some exploratory efforts to fix it have either not worked or made Terminator very unstable, so I would like to spend more time trying to solve this correctly (we mess around with the Gtk settings for resizing because of the VTE widget, so it would be better to not fight ourselves)

Changed in terminator:
milestone: 0.9 → 1.0-beta
Revision history for this message
Thomas Hurst (tom.hurst) wrote :

I have code to handle this in a local branch; I track pane resizes initiated by the user and record the percentage size of the terminal. I also have code which will restore splits back to these percentages.

What I'm lacking is a signal I can attach this code to which won't just trigger itself endlessly. At the moment I have it attached to Ctrl-Shift-R; having it on window resize would be nice, but resizing splits inside the window triggers.. window resize events.

Maybe we can subclass H/VPaned and beat it into submission. Much of this code really belongs there anyway...

Revision history for this message
Chris Jones (cmsj) wrote :

This should really be a wishlist item.
</spam>

Changed in terminator:
importance: High → Wishlist
Revision history for this message
Stephen Boddy (stephen-j-boddy) wrote :

No longer an issue. Bug can be closed.

Changed in terminator:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.