GTK UI built improperly on Mac OS X?

Ask for help and report issues with the GTK+ version of Transmission
Post Reply
dobbs
Posts: 3
Joined: Sat Jan 12, 2013 8:24 am

GTK UI built improperly on Mac OS X?

Post by dobbs »

I built Transmission 2.76 (and 2.75) from source on my old Mac. The daemon works great, but the GTK program aborts:

Code: Select all

[Vertigo:~] dobbs% transmission-gtk 
2013-01-12 00:27:42.524 transmission-gtk[61663:807] *** -[GNSMenu removeAllItems]: unrecognized selector sent to instance 0x143ab60
2013-01-12 00:27:42.546 transmission-gtk[61663:807] An uncaught exception was raised
2013-01-12 00:27:42.547 transmission-gtk[61663:807] *** -[GNSMenu removeAllItems]: unrecognized selector sent to instance 0x143ab60
2013-01-12 00:27:42.549 transmission-gtk[61663:807] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[GNSMenu removeAllItems]: unrecognized selector sent to instance 0x143ab60'
2013-01-12 00:27:42.551 transmission-gtk[61663:807] Stack: (
    2446875888,
    2543305964,
    2446905016,
    2446898356,
    2446899016,
    8166436,
    8166800,
    8165416,
    5395876,
    5399952,
    14577732,
    14656052,
    14661372,
    14662016,
    13608964,
    13610296,
    13611164,
    65884,
    10260
)
Trace/BPT trap
[Vertigo:~] dobbs% 
Dependencies installed via Macports. It wouldn't build with GTK2 alone, but GTK2 is pulled-in by other ports, so now I have both...

Code: Select all

The following ports are currently installed:
  curl @7.28.1_0+ssl (active)
  dbus-glib @0.100_0 (active)
  gettext @0.18.2_0 (active)
  intltool @0.50.2_0 (active)
  libnotify @0.5.2_3+quartz (active)
  libtool @2.4.2_3 (active)
  openssl @1.0.1c_0 (active)
  gtk2 @2.24.14_1+no_x11+quartz (active)
  gtk3 @3.6.2_0+no_x11+quartz (active)
Configured with these options:

Code: Select all

--enable-nls --enable-daemon --enable-cli --disable-mac --disable-wx --enable-libnotify --with-gtk
Is it possible the configure script detected Mac OS and enable something I didn't want? Did I miss a dependency? Something else?
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: GTK UI built improperly on Mac OS X?

Post by Jordan »

Wow. I've no idea what the fix is, but I'd love to hear how it works out for you.
dobbs
Posts: 3
Joined: Sat Jan 12, 2013 8:24 am

Re: GTK UI built improperly on Mac OS X?

Post by dobbs »

Ah. Here's the problem: removeAllItems was introduced in OS X 10.6. I said this was an old Mac; it's running 10.5. :/ I'll have to see if the GTK people are interested in fixing this.

If all else fails, I suppose I could switch GTK3 to the X11 backend... Bah.
dobbs
Posts: 3
Joined: Sat Jan 12, 2013 8:24 am

Re: GTK UI built improperly on Mac OS X?

Post by dobbs »

Oh hey, an update! The GTK folks gave me a test patch: https://bugzilla.gnome.org/show_bug.cgi?id=691921

Seems to work. However, GTK seems to render some things with darker background colors. Not really a problem, but a little weird looking. Anyone else building Transmission GTK seeing this kind of discoloration?

Image
(note the dark grey backgrounds for disabled menu items and toolbar buttons)
Post Reply