remember last size and position

Bug #905600 reported by Danielle Foré
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Terminal
Fix Released
Critical
Mario Guerriero

Bug Description

Pantheon Terminal doesn't currently remember it's last size and position. It keeps reverting to this odd portrait size in the top left corner.

Revision history for this message
David Gomes (davidgomes) wrote :

Actually, we have the code for this already, made by @Mefrio. However, it's not quite working, we'll still trying to figure out why. It is of high importance too.

Changed in pantheon-terminal:
status: New → Confirmed
importance: Undecided → High
milestone: none → 0.1
Revision history for this message
Mario Guerriero (mefrio-g) wrote :

The code is implemented well but I can't understand why pantheon-terminal has a problem with gdk_window_get_state () function...I will investigate

David Gomes (davidgomes)
Changed in pantheon-terminal:
assignee: nobody → Mario Guerriero (mefrio-g)
Changed in pantheon-terminal:
status: Confirmed → Fix Committed
Revision history for this message
Avi Romanoff (aroman) wrote :

This isn't working on Precise.

Of note -- a gtk window can't determine it's own position. That is up to the compositing manager.

That said, I don't really even think remembering the last size is a useful feature. I have modified the branch locally to just default to 600x400, and that works very well for my needs.

Also, not having any geometry set (as is the case now, it seems), causes all sorts of bugs during normal use, namely resizing by itself without my permission.

A simple set_default_size(600, 400) seems like a perfectly fine solution.

Changed in pantheon-terminal:
status: Fix Committed → Confirmed
Revision history for this message
Mario Guerriero (mefrio-g) wrote :

It was already there, David why did you delete it? Please readd the code I made

David Gomes (davidgomes)
Changed in pantheon-terminal:
importance: High → Critical
Changed in pantheon-terminal:
status: Confirmed → Fix Committed
Changed in pantheon-terminal:
status: Fix Committed → 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.