tilda window does not show up with libvte
Submitted by Áron Sisak
Link to original bug (#449612)
Description
Please describe the problem: Tilda window does not show up with latest libvte. Other terminals seem to run fine (tested with xfce4-terminal and gnome-terminal).
Sorry if it is a Tilda-specific bug.
Steps to reproduce:
- install libvte 0.16.5 and tilda 0.09.4
- tilda runs properly
- upgrade libvte to 0.16.6
- tilda does not show its windows
Actual results: Tilda does not show its window / terminal
Expected results: Tilda shows its window / terminal
Does this happen every time? Yes
Other information: This is a part of the diff of src/vte.c. If I remove the line "gtk_widget_queue_resize (&terminal->widget);" Tilda seems to run fine. Not sure though, if it this line is here intentionally and this is in fact a bug in tilda.
void vte_terminal_set_size(VteTerminal *terminal, glong columns, glong rows) {
- glong old_columns, old_rows;
- g_return_if_fail(VTE_IS_TERMINAL(terminal));
- _vte_debug_print(VTE_DEBUG_MISC, "Setting PTY size to %ldx%ld.\n", columns, rows);
- old_rows = terminal->row_count;
- old_columns = terminal->column_count;
- if (terminal->pvt->pty_master != -1) { /* Try to set the terminal size. */ if (_vte_pty_set_size(terminal->pvt->pty_master, columns, rows) != 0) { @@ -6933,8 +6941,12 @@ terminal->row_count = rows; terminal->column_count = columns; }
- /* Our visible text changed. */
- vte_terminal_emit_text_modified(terminal);
- if (old_rows != terminal->row_count ||
-
old_columns != terminal->column_count) {
-
gtk_widget_queue_resize (&terminal->widget);
-
/* Our visible text changed. */
-
vte_terminal_emit_text_modified(terminal);
- } }
Version: 0.16.x
Resolution: RESOLVED NOTGNOME