After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 662732 - Resize in Mac OS X Lion (10.7.2)
Resize in Mac OS X Lion (10.7.2)
Status: RESOLVED DUPLICATE of bug 655122
Product: gtk+
Classification: Platform
Component: Backend: Quartz
3.2.x
Other Mac OS
: Normal major
: ---
Assigned To: gtk-quartz maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2011-10-26 03:41 UTC by Moein Alinaghian
Modified: 2012-01-23 09:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Apple Report (38.00 KB, text/plain)
2011-10-26 03:56 UTC, Moein Alinaghian
Details

Description Moein Alinaghian 2011-10-26 03:41:35 UTC
It's mostly not possible to resize gedit in Mac OS X Lion (10.7.2) and sometimes it crashes when I'm trying to resize it. I installed the latest stable gedit dmg file (2.30.2).
It could be a GTK+ Bug as well, but I'm not sure.

I tried running it in Terminal, and it's what I get when it crashes:

Oct 26 05:26:03 myuser.local gedit-bin[1174] <Error>: clip: empty path.
Oct 26 05:26:03 myuser.local gedit-bin[1174] <Error>: clip: empty path.
Oct 26 05:26:03 myuser.local gedit-bin[1174] <Error>: clip: empty path.
Oct 26 05:26:03 myuser.local gedit-bin[1174] <Error>: clip: empty path.
Oct 26 05:26:03 myuser.local gedit-bin[1174] <Error>: clip: empty path.
Oct 26 05:26:03 myuser.local gedit-bin[1174] <Error>: clip: empty path.

(gedit-bin:1174): Gdk-CRITICAL **: gdk_window_get_events: assertion `GDK_IS_WINDOW (window)' failed

(gedit-bin:1174): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(gedit-bin:1174): Gdk-CRITICAL **: gdk_window_get_toplevel: assertion `GDK_IS_WINDOW (window)' failed
Bus error: 10
Comment 1 Moein Alinaghian 2011-10-26 03:56:19 UTC
Created attachment 199992 [details]
Apple Report

Apple Report
Comment 2 emoudahi 2011-10-28 22:19:01 UTC
I'm having this problem as well.
Comment 3 Florian Rhiem 2011-11-11 09:17:14 UTC
I'm having the same problem, although only horizontal resizing seems to cause the crashes.
Comment 4 Ed Lebert 2011-11-21 14:43:44 UTC
If you resize using the top edge, or the upper-left or upper-right corners, it works.  But if you use either of the other three sides (right, left, or bottom), or either of the bottom corners it will crash.
Comment 5 Sean Delaney 2011-11-24 17:00:52 UTC
Identical behaviour on my system. It worked fine initially. I tried a "reinstall" (delete app, replace app). This bug makes gedit totally unusable. As a recent Ubuntu - OSX convert I would love to use Gedit but I can't. 

System:
MacBook Pro running OS 10.7.2
Gedit Version 2.30.2 installed from dmg file on website.
All plugins disabled.


Error produced in terminal:
-->

(gedit-bin:484): Gdk-CRITICAL **: gdk_window_get_events: assertion `GDK_IS_WINDOW (window)' failed

(gedit-bin:484): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(gedit-bin:484): Gdk-CRITICAL **: gdk_window_get_toplevel: assertion `GDK_IS_WINDOW (window)' failed
Bus error: 10

-->
Comment 6 jessevdk@gmail.com 2012-01-06 17:23:05 UTC
Could you try the same with other gtk+ apps, like for example inkscape. I feel this is a gtk+ bug and not a gedit specific bug.
Comment 7 jessevdk@gmail.com 2012-01-09 12:20:59 UTC
I am reassigning this to gtk+.
Comment 8 Kristian Rietveld 2012-01-09 13:39:01 UTC
If the GTK+ in the DMG is < 2.24.6, then this is the expected behavior.  As John Ralls indicated in the other bug report, only GTK+ 2.24.6 and later will work on OS X 10.7.

Please provide the version of GTK+ that is used here.
Comment 9 Sean Delaney 2012-01-09 14:34:31 UTC
I tried inkscape. It has no problems resizing the window. However, there is no option to resize by dragging the sides of the window. Only the bottom-right corner works.

The version of gtk in the package appears to be 2.10.0 (because there is a directory called "2.10.0" in "./contents/resources/lib/gtk-2.0/"). This is the same version in both inkscape and gedit.

I could not find any reference to GTK+ using
$ find . -iname *gtk+*

Let me know if can provide any more useful info (but you may need to explain how).
Comment 10 John Ralls 2012-01-09 15:25:06 UTC
The Gtk version is 2.18.1 (look at the "compatibility version" in the crash report's library listing.

The problem lies with whoever is packaging GEdit for you. They need to rebuild their package with a current (2.24.6 or later) version of Gtk.

*** This bug has been marked as a duplicate of bug 655122 ***
Comment 11 jessevdk@gmail.com 2012-01-09 16:01:20 UTC
From gedit, we are not going to release another 2.x version of gedit. We are however planning to release gedit 3.2 for OS X this week, which ships with gtk+ 3.2, so it should work fine.
Comment 12 Sean Delaney 2012-01-23 09:43:48 UTC
Ok this is a little weird but I might have a workaround for people who absolutely NEED to use gedit 2.x on OS-X. My system specs are listed above.

I found that you can resize the gedit window as follows:

1) Open a gedit window (blank document or whatever).
2) Click on the desktop (i.e. "unselect" the gedit window).
3) Now hold your mouse over the edge of the gedit window, click and drag. 

That's it. It works fine for me. Maybe someone might find it useful.