GNOME Bugzilla – Bug 754644
GTK3 OS X integration
Last modified: 2018-05-22 14:21:07 UTC
Created attachment 310759 [details] Mac OS X running Gnumeric 1.12.23 Could Gnumeric be updated to use new GTK3 OS X integration to get Mac OS native menus support? It would give it a better experience with a native GUI, plus the rendering of menus is a bit buggy under GTK3 so using native features of GTK3 would improve this.
Created attachment 310760 [details] Mac OS X running Gnumeric 1.12.23
I have no idea what is involved in doing this. That probably means that unless it's something trivial, we are going to ask for patches.
I suppose it means using GMenus, GApplication and friends, which is just not that easy.
Hi, there is an explanation there, I don't know if it can help. https://developer.gnome.org/gtk3/stable/GtkApplicationWindow.html https://developer.gnome.org/gtk3/stable/GtkApplication.html https://hackage.haskell.org/package/gtk3-mac-integration I don't think this part is useful https://wiki.gnome.org/Projects/GTK+/OSX/Building https://wiki.gnome.org/Projects/GTK%2B/OSX/Integration I build Gnumeric using MacPorts, so that I can get versions almost up to date.
I imagine G[tk]Application is fairly easy. I am certain GMenu is not. I think we are currently using the third or fourth technology for this purpose! The Gtk people are clearly incapable of designing this right. I see no reason to rush this -- with delay we might skip a rewrite or two.
The other way is to implement our own version in goffice. I tried to play with GMenu in a simple application and it was just a nightmare. It is very difficult to do anything that is not standard.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnumeric/issues/288.