Gedit with MultiTab

Hi All,

I’m Using SLED-12 64bit.
Recently I’v freshly installed OS & faced some really bad problem with Gedit.

After opening multiple Tab on gedit, if I’ll close any one tab then the whole Gedit exit. But If I’ll open a single file with Gedit, & then close the tab, then Gedit would not exit fully, it only close the single tab.

can anyone help me to solve this problem ,it’s very urgent.

Thanks.

Odd. I cannot recreate that behaviour. If you create a new user then log in with that, does the problem occur for that user too? If the problem only occurs for your user you could try deleting ~/.config/gedit/

Hello Mikewillis,

I’ve figured this out, it was due to the plugin ‘Snippets’, After disabled it, then exit the Gedit, again open & this time open multiple tabs, & the problem is solved.

[QUOTE=naren_bishayee;25410]
I’ve figured this out, it was due to the plugin ‘Snippets’, After disabled it, then exit the Gedit, again open & this time open multiple tabs, & the problem is solved.[/QUOTE]

OK, I can recreate the problem now. The Snipppets plugin is not enabled by default. If I enable it I get the same behaviour you reported. If you run Gedit from command line with Snippets enabled, you can see it spewing errors. Evidently a bug. Looks like it’s not a SLED specific one. E.g. https://bugs.launchpad.net/ubuntu-gnome/+bug/1173705

Can you raise a Service Request about this? If not you can use the Report a Software Defect (bug) form at https://www.suse.com/support/report-a-bug/

It looks like the solution to this is the package python3-gobject-cairo. The Snippets plugin works find on openSUSE 13.2 but if the python3-gobject-cairo is removed, then gedit crashes when a tab is closed.

Sadly python3-gobject-cairo isn’t in SLED 12 or the SLE 12 SDK, I can’t find a version of it built for SLED 12 and none of the openSUSE versions will install due to requiring differing versions of python than are in SLED 12. I can’t get the python3-gobject-3.10.2-4.1.src.rpm for openSUSE 13.1 to build, although the source builds fine so long as make is called without DESTDIR.

A horrible, horrible, hack fix:

Install the packages glib2-devel libtool python3-devel python3-gobject-devel gobject-introspection gobject-introspection-devel python3-cairo-devel (you’ll need the SDK enabled, which you can do in SUSE Customer Centre if you haven’t already).

$ wget http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.10/pygobject-3.10.2.tar.xz $ tar xvf pygobject-3.10.2.tar.xz $ cd pygobject-3.10.2 $ ./configure && make

Then as root

$ cd /usr/lib64/python3.4/site-packages/gi $ cp /path/to/pygobject-3.10.2/gi/.libs/_gi_cairo.cpython-34m.so .

_gi_cairo.cpython-34m.so is the only file in the openSUSE 13.2 python3-gobject-cairo package.

Hello Mikewillis,

Thanks, I’ll try this in the coming weekend.

This issue has been fixed in gedit-3.10.4-4.21

https://download.suse.com/Download?buildid=mxnSSzFvJzA~