9 Aug 2012 08:38
[E-devel] [PATCH] evas: hide the evas object after it's smart object deleted.
Alex Wu <zhiwen.wu <at> linux.intel.com>
2012-08-09 06:38:54 GMT
2012-08-09 06:38:54 GMT
Hi, This patch fix the bug http://trac.enlightenment.org/e/ticket/1308 The root cause of this bug is that when closing the window, the glview widget need to invoke eng_gl_make_current() before calling it's del_func. In eng_gl_make_current(), the re->win->egl_display make the segfualt. It is because re->win has been nullized by evas_object_hide()<--evas_object_del()<--evas_object_unref()<-- _elm_win_frame_cb_close() which is triggered by clicking the "close" button. I think it is resonable to destroy the re->win of a elm_win after all smart data deleted. Patch attached.
From a8ed356360fbea5ae715c083e239e66e552e4001 Mon Sep 17 00:00:00 2001 From: Alex Wu <zhiwen.wu <at> linux.intel.com> Date: Thu, 9 Aug 2012 13:53:54 +0800 Subject: [PATCH] evas: hide the evas object after it's smart object deleted. This patch fix the bug http://trac.enlightenment.org/e/ticket/1308 The root cause of this bug is that when closing the window, the glview widget need to invoke eng_gl_make_current() before calling it's del_func. In eng_gl_make_current(), the re->win->egl_display make the segfualt. It is because re->win has been nullized by evas_object_hide()<--evas_object_del()<--evas_object_unref()<--(Continue reading)
RSS Feed