diff options
author | ChunEon Park <hermet@hermet.pe.kr> | 2015-03-03 11:50:22 +0900 |
---|---|---|
committer | ChunEon Park <hermet@hermet.pe.kr> | 2015-03-09 09:57:42 +0900 |
commit | aeeef70cfbc6d589262024105b52ae2c07336ecd (patch) | |
tree | 80469de2e1d93b11ed88604a88d2b5c79a83c690 | |
parent | 8ef9fd49d61865c1c632382fa84cd79970c3037a (diff) | |
download | elementary-aeeef70cfbc6d589262024105b52ae2c07336ecd.tar.gz |
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
-rw-r--r-- | src/lib/elc_ctxpopup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c index 543351ca7..ce73a1069 100644 --- a/src/lib/elc_ctxpopup.c +++ b/src/lib/elc_ctxpopup.c @@ -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); } |