Fix for T2042 ctxpopup don’t know its size

Summary:
Since this patch ctxpopup is able to report its size which is equal to 1 element of list.
This can be treated as another bug (list visibility implementation must be so list will be counting its size dynamic on every item add)
Might be also ignored.

Test Plan:
1. Use application provided in T2042 (should have coordinates greater then 0).
2. Using atspi check is accessible element is visible. (with patch ctxpopup will be visible, without ctxpopup and its children will have status visible and showing set to FALSE)

Reviewers: raster, seoz, Hermet

Subscribers: m.jagiello

Projects: #elementary

Maniphest Tasks: T2042

Differential Revision: https://phab.enlightenment.org/D2045
This commit is contained in:
ChunEon Park 2015-03-03 11:50:22 +09:00
parent f5281b36af
commit ed6e7043a7
1 changed files with 2 additions and 0 deletions

View File

@ -670,6 +670,8 @@ _elm_ctxpopup_elm_layout_sizing_eval(Eo *obj, Elm_Ctxpopup_Data *sd)
evas_object_move(wd->resize_obj, rect.x, rect.y);
evas_object_resize(wd->resize_obj, rect.w, rect.h);
evas_object_resize(obj, rect.w, rect.h);
_show_signals_emit(obj, sd->dir);
}