e_main_idler_freeze/thaw - disable - this causes no end of wierdnesses

so since this e main idler freeze/thaw i've noticed several times, i
come back to my machine after screen-off time period, i wke it up with
a mouse wiggle or keyboard press and try run terminology - no windwo
appears. i can run it all i want - it never shows up but the processes
are there. i've seen it happen to sylpheed where its fetch window
doesn't appear. i've had myserious menu edje objects on the top-left
with only a single item with no bg. i've had e even unable to restart
on ctrl+alt+end.

so i disabled the idler freeze/thaw as i suspected this is what the
root cause is, and sinc ethen the above problems stopped manifesting.
i can only conclude it's a deep and nasty bi-product of stopping the e
main idler, so don't do it. :) better be a bit less efficient than
buggy. either way setting manual rendering and dropping the animator
framerate should do almost all the things needed anyway.
This commit is contained in:
Carsten Haitzler 2014-02-02 17:22:07 +09:00
parent bf33f34b4c
commit 231b780996
2 changed files with 2 additions and 2 deletions

View File

@ -842,7 +842,7 @@ _e_comp_screensaver_off(void *data EINA_UNUSED, int type EINA_UNUSED, void *even
{
if (!c->saver) continue;
/* frozen in _e_comp_canvas_screensaver_active() */
e_main_idler_thaw();
// e_main_idler_thaw();
c->saver = EINA_FALSE;
if (!c->nocomp)
ecore_evas_manual_render_set(c->ee, EINA_FALSE);

View File

@ -91,7 +91,7 @@ _e_comp_canvas_screensaver_active(void *d EINA_UNUSED, Evas_Object *obj, const c
{
E_Comp *c;
/* thawed in _e_comp_screensaver_off() */
e_main_idler_freeze();
// e_main_idler_freeze();
ecore_animator_frametime_set(10.0);
c = e_comp_util_evas_object_comp_get(obj);
if (!c->nocomp)