I use Ubuntu 17.04. Every time I use gedit command in terminal I get a warning.
$ gedit sample.cpp
(gedit:6496): Gtk-WARNING **: Allocating size to GtkPaned 0x55bb7be10780 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
What is the cause of these warnings? Does it affect the system in any way? Is there any way to resolve them or should I just ignore them?
Thanks.
xdg-open
to open files in their default application though, which should launch Gedit for all text files. It also runs in background and immediately releases your terminal again. – Byte Commander Feb 19 '18 at 12:06gedit
you can ignore. A python developer was reported this bug on January 18 and fixed it January 19. If only gedit developers moved as quick: https://github.com/Cimbali/pympress/issues/53 – WinEunuuchs2Unix Feb 19 '18 at 15:03