GNOME Bugzilla – Bug 317158
vte does not respect size settings if child not forked
Last modified: 2010-03-25 13:17:42 UTC
Please describe the problem: When doing size request, if there no child forked by the terminal (pty_master = = -1) then the request is based on the default column/row counts rather the the programmatic size set. Attached patch changes this, but I'm not sure there is a rationale for things working this way. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 52629 [details] [review] size requests based on programatically set size
Created attachment 80777 [details] [review] updated to HEAD: always use the current column x row The current behaviour does seem very strange.
Created attachment 80779 [details] [review] And update the debug printout.
FWIW, Nalin did essentially the opposite change a while back: cf. <http://bugzilla.gnome.org/show_bug.cgi?id=317158> and scroll down towards the middle of that (huge!) patch.
Oops. The URL above should have been: <http://svn.gnome.org/viewcvs/vte/trunk/src/vte.c?rev=273&r1=271&r2=273>.
*** Bug 332927 has been marked as a duplicate of this bug. ***
Final patch anyone?
err, didn't mean that.
The commit message for the commit in comment 5 doesn't give any clue as to this particular change... FWIW, I've been running with the patch here for a long time and haven't observed any problems. I think we should just commit it.
Go for it.
Fixed on master.