Quantcast
Channel: Enlightenment
Viewing all articles
Browse latest Browse all 1612

Ticket #2282 (Evas OpenGL X11 engine hangs when showing window) created

$
0
0

My application hangs upon showing the main window. On high system load I get a different backtrace than on low system load. Both times it hangs inside locking. This could also be a problem within Mesa or X11, but I bring it to you first, because I experienced this issue in no other application so far.

I am using EFL/Elementary 1.7.5, Mesa 9.1 and 1.5.0-r1 of libX11.

The code of MainWindow::init() is this:

                handle = elm_win_add(NULL, name, ELM_WIN_BASIC);
                elm_win_title_set(handle, title);
                evas_object_smart_callback_add(handle,"delete,request", win_del,NULL);
                bg = elm_bg_add(handle);
                evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
                elm_win_resize_object_add(handle, bg);
                evas_object_show(bg);
                box = elm_box_add(handle);
                evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
                elm_win_resize_object_add(handle, box);
                evas_object_show(box);
                lb = elm_label_add(handle);
                elm_object_text_set(lb,"Hello World!");
                evas_object_size_hint_weight_set(lb, EVAS_HINT_FILL, EVAS_HINT_FILL);
                elm_win_resize_object_add(handle, lb);
                elm_box_pack_end(box, lb);
                evas_object_show(lb);
                elm_object_event_callback_add(handle, handle_input_event,this);
                evas_object_show(handle);

Viewing all articles
Browse latest Browse all 1612

Trending Articles