Re: [gtk-osx-users] Support of Older OS X Versions




On Mar 12, 2016, at 11:14 PM, Andrius Rinkevicius <andriusrin gmail com> wrote:

Hi John,
had some quick check for gtk+3.18.9 +glib-2.45.8 +HiDPI patches together with bluefish.
Indeed, pixelation is gone for all widgets, except gucharmap plugin (when right-click on some letter). It 
is minor issue, but still not 100% fixed. Image sizes are correct.
Problems:
Toolbar and all other icons are missing. Is there somewhere some guidelines how to get them back? Quick 
googling did not lead to any results. On 3.6.4 we just used stock icons, how to get them back on 3.18?
I am also getting frequent segfaults when closing transient top level windows, and frequent segfaults when 
doing dnd. I am on MacOSX 10.9.5. Backtraces looks like this, so I guess it is gtk+ issue:

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libgobject-2.0.0.dylib            0x000000010f9492a2 g_type_check_instance + 50 (gtype.c:4134)
1   libgobject-2.0.0.dylib            0x000000010f93c8a8 g_signal_handlers_disconnect_matched + 56 
(gsignal.c:2924)
2   libgtk-3.0.dylib                  0x000000010ee27d51 gtk_window_unset_transient_for + 113
3   libgtk-3.0.dylib                  0x000000010ee27aa1 gtk_window_set_transient_for + 593
4   libgtk-3.0.dylib                  0x000000010ed97b33 gtk_tooltip_set_last_window + 419
5   libgtk-3.0.dylib                  0x000000010ed96292 _gtk_tooltip_handle_event + 146
6   libgtk-3.0.dylib                  0x000000010ebf4310 gtk_main_do_event + 2400
7   libgdk-3.0.dylib                  0x000000010f30c1e1 _gdk_event_emit + 49
8   libgdk-3.0.dylib                  0x000000010f348cb2 gdk_event_dispatch + 82
9   libglib-2.0.0.dylib               0x000000010f9e3984 g_main_dispatch + 452 (gmain.c:3142)
10  libglib-2.0.0.dylib               0x000000010f9e37a3 g_main_context_dispatch + 51 (gmain.c:3760)
11  libglib-2.0.0.dylib               0x000000010f9e3d77 g_main_context_iterate + 471 (gmain.c:3830)
12  libglib-2.0.0.dylib               0x000000010f9e428e g_main_loop_run + 590 (gmain.c:4022)
13  libgtk-3.0.dylib                  0x000000010ebf37a6 gtk_main + 118
14  bluefish-bin                      0x000000010e405ed1 main + 1425
15  bluefish-bin                      0x000000010e401204 start + 52

Should I fill a bug reports on bugzilla?

Most time-consuming, if I decide to use 3.18, will be theme change. Adwaita probably looks good on tablets 
or  cell photes, however, it is radical change from older PC look. I would need to spend significant time 
amount adapting it to bluefish needs. Community provided gtk+3 themes does not work well on 3.18, for 
example, scroll animation is missing.
Theme development... not really what I want to be involved in.

Andrius,

I couldn't find a wiki page on conversion but there's some explanation in 
https://developer.gnome.org/gtk3/stable/GtkIconTheme.html. Stock items became deprecated in 3.10. They're 
still there but the headers moved to gtk/deprecated. You should be able to make it work until gtk-4.0.

If you decide to modernize you need to redo everything theme-able to the new system. Yes, until you do gtk-3 
css themes won't work well, whether adwaita or community-provided.

gtk-app-devel or irc #gtk are better places to get help either with converting or with keeping the old stuff 
working.

I found 3.16 to be unstable on Gramps, too, so I've been using 3.14. That's why it's in the moduleset. 
Christoph set up the HiDPI patch on that too so you can try it. I haven't filed bugs against gtk+ because I 
wasn't sure I could separate out the gtk issues from potential python garbage collection trouble. Since 
Bluefish is C maybe you can generate some good bug reports on the crashes. File them against gtk+, Backend: 
Quartz (after searching for duplicates, of course).

Regards,
John Ralls




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]