Re: Gtk::Widget::on_hide



Many thanks for the suggestions guys. This problem has stumped me for nearly a fortnight so I do appreciate your help!

On 18/11/2013 18:19, Alan Mazer wrote:
What happens if you provide a destructor (empty of course, but not inlined) for your derived class?

Actually I did try that earlier today. FWIW it doesn't make a difference if I explicitly provide a d'tor :-(


On 18/11/2013 18:32, Kjell Ahlstedt wrote:

Seems quite similar to the problem you described in
https://mail.gnome.org/archives/gtkmm-list/2013-November/msg00000.html
Have you got any further with the trouble-shooting after
https://mail.gnome.org/archives/gtkmm-list/2013-November/msg00024.html ?

Thanks Kjell. You're right, it's exactly the same issue. I've been so wrapped up in it I didn't notice the similarity! It's getting late here (UK time) but first thing tomorrow I'll resume my trouble-shooting on that previous issue and report back what I find.

On 18/11/2013 18:03, Kjell Ahlstedt wrote:

1. There is a bug in gtkmm 3.7.12 and 3.8.0 that can make such a call happen.
See https://bugzilla.gnome.org/show_bug.cgi?id=605728#c5
That bug was fixed in 3.8.1.

2. Your program calls Gtk::Widget::on_hide(). You should not do that unless you really know what you're doing.

My program definitely doesn't call 'on_hide()'. However, that bug report looks interesting. Again, I'll take a closer look tomorrow after a good night's sleep! I notice that Murray asked if your patch should also get applied to 2.4 and you were a bit skeptical - but to be honest Kjell, my experiences seem uncannily similar to that report. Would you mind giving it a bit more thought and decide if the same patch is needed in 2.4? Thanks again for being so patient and helpful.!

John


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