FS#53106 - Terminator Not Opening in GNOME

Attached to Project: Community Packages
Opened by Animesh Koley (akoley007) - Tuesday, 28 February 2017, 07:40 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Wednesday, 01 March 2017, 16:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Giancarlo Razzolini (grazzolini)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

I am using two desktop environments, i.e.:
1. GNOME (Primary)
2. Cinnamon (Secondary)
Package "community/terminator" was working until today morning but after updated terminator (by using sudo pacman -Syu) terminator is getting failed to open in GNOME whether it's still working in Cinnamon.
The error I am getting while trying to open terminator in GNOME:

animesh@anarchy:~$ terminator

(terminator:3478): Gtk-WARNING **: Allocating size to GtkVScrollbar 0x55bb03608650 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Traceback (most recent call last):
File "/usr/bin/terminator", line 126, in <module>
TERMINATOR.layout_done()
File "/usr/lib/python2.7/site-packages/terminatorlib/terminator.py", line 403, in layout_done
t = GdkX11.x11_get_server_time(window.get_window())
TypeError: argument window: Expected GdkX11.X11Window, but got __gi__.GdkWaylandWindow
animesh@anarchy:~$

Kindly let me know if there is any fix.
This task depends upon

Closed by  Giancarlo Razzolini (grazzolini)
Wednesday, 01 March 2017, 16:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed with version 1.91-2
Comment by Animesh Koley (akoley007) - Tuesday, 28 February 2017, 07:50 GMT
PFA Screenshot
Comment by Giancarlo Razzolini (grazzolini) - Tuesday, 28 February 2017, 19:48 GMT
I tested here in sway and it doesn't indeed open. There was already a bug report in upstream issue tracker: https://bugs.launchpad.net/terminator/+bug/1668481

It seems there's already a fix for that. I'll see if that patch fixes the issue and apply it.
Comment by Giancarlo Razzolini (grazzolini) - Tuesday, 28 February 2017, 20:50 GMT
I just released 1.91-2 which fix this issue for me. Can you report if it does for you guys?
Comment by Aitor Alonso (Tairosonloa) - Wednesday, 01 March 2017, 07:44 GMT
I can give you an answer on 7 hours, Giancarlo, when I come home. Unfortunately I have my laptop here today, at university.

Regards
Comment by Animesh Koley (akoley007) - Wednesday, 01 March 2017, 08:32 GMT
Same here. Will let you know in 5-6 hours.
Comment by Animesh Koley (akoley007) - Wednesday, 01 March 2017, 12:01 GMT
Comment by Giancarlo Razzolini (grazzolini) - Wednesday, 01 March 2017, 13:22 GMT
There is 1.91-3 but that's is mostly a tweak to the packaging process, should not influence this issue. I don't use wayland frequently, but I tested this on sway and weston and it was working.
Comment by Aitor Alonso (Tairosonloa) - Wednesday, 01 March 2017, 15:09 GMT
Terminator 1.91-3 on Gnome wayland. Issue fixed for me, now I can open terminator.

Regardless, if I launch terminator from another terminal emulator, I get the following error message, but it launches suscesfully:

(terminator:4796): Gtk-WARNING **: Allocating size to GtkVScrollbar 0x55effd94a650 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(terminator:4796): Gtk-WARNING **: Allocating size to GtkVScrollbar 0x55effd94a650 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
<window.Window object at 0x7f1c0e700140 (terminatorlib+window+Window at 0x55effd9ae510)> is not in registered window list

Thanks you for your help Giancarlo!
Comment by Animesh Koley (akoley007) - Wednesday, 01 March 2017, 16:33 GMT
Thanks, a lot Giancarlo. This is working for me as well. :)
Comment by Giancarlo Razzolini (grazzolini) - Wednesday, 01 March 2017, 16:57 GMT
I guess those are unrelated errors. But should be investigated nevertheless. I'll check the upstream bug tracker for a similar error.

Loading...