# Gedit with MultiTab

**URL:** <https://forums.suse.com/t/gedit-with-multitab/26480>\
**Category:** SLED Applications\
**Created:** [December 16, 2014, 10:22am UTC](https://forums.suse.com/t/gedit-with-multitab/26480 "2014-12-16T10:22:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![naren\_bishayee](https://avatars.discourse-cdn.com/v4/letter/n/d2c977/32.png) [@naren\_bishayee](https://forums.suse.com/u/naren_bishayee)\
**Post date:** [December 16, 2014, 10:22am UTC](https://forums.suse.com/t/gedit-with-multitab/26480/1 "2014-12-16T10:22:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://forums.suse.com/u/mikewillis)\
**Post date:** [December 16, 2014, 1:36pm UTC](https://forums.suse.com/t/gedit-with-multitab/26480/2 "2014-12-16T13:36:56Z")

</div>

> [@naren\_bishayee;25405](#):
>
> 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.

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/

---

<div class="post-metadata">

**Author:** ![naren\_bishayee](https://avatars.discourse-cdn.com/v4/letter/n/d2c977/32.png) [@naren\_bishayee](https://forums.suse.com/u/naren_bishayee)\
**Post date:** [December 16, 2014, 1:57pm UTC](https://forums.suse.com/t/gedit-with-multitab/26480/3 "2014-12-16T13:57:30Z")

</div>

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.

> [@mikewillis;25409](#):
>
> 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/

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://forums.suse.com/u/mikewillis)\
**Post date:** [December 16, 2014, 2:22pm UTC](https://forums.suse.com/t/gedit-with-multitab/26480/4 "2014-12-16T14:22:35Z")

</div>

[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](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/](https://www.suse.com/support/report-a-bug/)

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://forums.suse.com/u/mikewillis)\
**Post date:** [December 16, 2014, 7:55pm UTC](https://forums.suse.com/t/gedit-with-multitab/26480/5 "2014-12-16T19:55:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![naren\_bishayee](https://avatars.discourse-cdn.com/v4/letter/n/d2c977/32.png) [@naren\_bishayee](https://forums.suse.com/u/naren_bishayee)\
**Post date:** [December 24, 2014, 7:48am UTC](https://forums.suse.com/t/gedit-with-multitab/26480/6 "2014-12-24T07:48:49Z")

</div>

Hello Mikewillis,

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

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://forums.suse.com/u/mikewillis)\
**Post date:** [September 23, 2015, 9:58pm UTC](https://forums.suse.com/t/gedit-with-multitab/26480/7 "2015-09-23T21:58:36Z")

</div>

This issue has been fixed in gedit-3.10.4-4.21

[https://download.suse.com/Download?buildid=mxnSSzFvJzA~](https://download.suse.com/Download?buildid=mxnSSzFvJzA~)
