Commit Graph

12505 Commits

Author SHA1 Message Date
Jee-Yong Um eb2085c23c elm_focus: refine focus.edc
Summary: remove whitespaces and add programs block

Reviewers: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D3616

Conflicts:
	data/themes/edc/elm/focus.edc
2016-01-28 19:01:27 +09:00
Jee-Yong Um 108e15f0cd elm_focus: fix mislocation error during continuous focus movement
Summary:
When focus is moved fast and continuously, newly created animator
conflicts with the animator for previous movement, so focus bounces
among locations.
This patch removes previous animator and move focus to the final
location before creating new animator.

Test Plan:
elementary_test -to focus
elementary_test -to genlist

Reviewers: raster, jpeg, cedric, Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D3611
2016-01-28 18:12:30 +09:00
Jee-Yong Um 87422a763c remove incorrect references of insert_before/after in EDC
Summary:
This patch removes unavailable references to nonexistent parts
from default theme.

Reviewers: raster, jpeg, cedric

Differential Revision: https://phab.enlightenment.org/D3609
2016-01-27 14:56:50 +09:00
Divyesh Purohit d9651168cd combobox: avoid calling item_selected and dismissed signal on show
Summary:
After this patch https://phab.enlightenment.org/rELM0f6e1a46a402fd9cf848ffb1bd47c6b406eb7ffa
calling item,selected and dismissed signals should be avoided on combobox show.
Signed-off-by: Divyesh Purohit <purohit.div@gmail.com>

Test Plan: please run combobox example from elementary_test

Reviewers: cedric

Differential Revision: https://phab.enlightenment.org/D3603

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-26 13:05:28 -08:00
Divyesh Purohit 04cff68f41 combobox: fix continuous clicks on hover
Summary:
Continouous clicks on hover would need to ensure that variable
on_dismiss of combobox_vertical style in hover.edc should 0 when slot is being shown, otherwise events
would be disabled on hover even though swallow content is shown.

@fix

Signed-off-by: Divyesh Purohit <purohit.div@gmail.com>

Test Plan:
Click continouosly on combobox and events on hover would be
disabled.

Reviewers: cedric

Differential Revision: https://phab.enlightenment.org/D3601

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-26 13:05:28 -08:00
divyesh purohit 3af4a727cc combobox: fix disabled state
Summary:
Apply gray-scale to vertical_separated_bar_glow image and increase the opacity
of the button, so that the text on the entry is visible.
@fix T3075
Signed-off-by: divyesh purohit <div.purohit@samsung.com>

Test Plan: please run combobox example from elementary_test

Reviewers: shilpasingh, cedric, raster

Maniphest Tasks: T3075

Differential Revision: https://phab.enlightenment.org/D3605

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-26 13:04:55 -08:00
Hermet Park f5f18032a5 Fix toogle icon sizing issue.
Strangely, toggle couldn't afford it's icon space
at elementary_test -> check toggle.

Following to default style which is normal to avoid this wierd look.
2016-01-26 19:41:49 +09:00
Davide Andreoli 1e78bc662b Elm Image: fix usage of animated gif on the same image object more than one time
This patch @fix this usage example:

0. image obj create
1. file_set(an animated gif)
2. animated_set(TRUE) + animated_play_set(TRUE) to make the gif play
3. file_set(a normal image)
... at this point elm_image is confused because it still think that the image is animated
4. file_set(an animated gif)
5. animated_set(TRUE) + animated_play_set(TRUE) to make the gif play
...this now do not work because elm think that the image is already animated
2016-01-25 22:17:36 +01:00
Stefan Schmidt 81d76979f1 release: Update NEWS and bump version for 1.17.0-beta3 release 2016-01-25 20:00:58 +01:00
Mike Blumenkrantz e1effc05f3 shelf: add "noshadow" data item to indicate no shadow should be used 2016-01-25 12:32:54 -05:00
Chris Michael 6fafc39709 elementary: Add missing EINA_UNUSED in combobox function
_elm_combobox_elm_genlist_filter_set function does not use the Eo *obj
parameter so mark it as EINA_UNUSED to remove compiler warning

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-01-25 07:43:03 -05:00
Jaehyun Cho 313a2e55ca naviframe: Update documentation of item_pop_cb_set and item_pop_to. 2016-01-25 18:14:59 +09:00
Jean-Philippe Andre fcc4c7c002 elm_test: Show popup error when Plug can't connect 2016-01-25 16:24:16 +09:00
Davide Andreoli 0c76155942 Genlist: do not select the item two times in case of a double click.
In the case of a genlist set as ELM_OBJECT_SELECT_MODE_ALWAYS the "selected" cb was called 2 times. This @fix that by skipping the selection code in case the click is not the first one (EVAS_BUTTON_NONE).

Also merge the conditions of two consecutive "if" in a single statement.
2016-01-24 16:44:57 +01:00
Davide Andreoli 913c9f3c6c Genlist/grid: do not set again the focus on double/triple click
Focus is already setted on first mouse-up, no need to set again in double and triple click up events

@Fix the issue reported in previous commits
2016-01-24 16:11:13 +01:00
Davide Andreoli 047e9c35f7 Reveal the same focus bug of previous commit also in genlist.
See previous commit for instructions on how to reproduce in "Genlist Focus" test.
2016-01-24 15:44:48 +01:00
Davide Andreoli 6503b1fdfd Add a test to reveal a focus bug in Genlist/Gengrid
To reproduce:
 * elm_test -to "GenGrid Focus"
 * turn on the "Focus Highlight" checkbox
 * double-click an item to show a popup that should have the focus

As you can see the mouse-up event on the gengrid item steal the focus from the popup.
When, instead, the item is activated with the keyboard the popup correctly keep the focus.

I have this problem in both genlist and gengrid, so probably the error is not in the gengrid code, but somewhere else that I cannot find.

...any help appreciated
2016-01-24 14:35:49 +01:00
divyesh purohit 8c6f8843d4 combobox: apply proper style
Summary:
Initially combobox used hover's default style, this patch would make combobox use hoversel_vertical style.
@Fix T3075 for 2nd point.

Signed-off-by: divyesh purohit <div.purohit@samsung.com>

Test Plan: please run combobox example from elementary_test

Reviewers: shilpasingh, cedric, raster

Subscribers: rajeshps, govi

Maniphest Tasks: T3075

Differential Revision: https://phab.enlightenment.org/D3596

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-22 12:10:14 -08:00
divyesh purohit 8bba97b469 combobox: "return" key handled correctly and removed unreachable code.
Summary:

_key_action_activate was triggered when "return" was pressed, _key_action_move
contained the "return" key handling, which is unreachable code.
@fix T3075 (1st point).

Signed-off-by: divyesh purohit <div.purohit@samsung.com>

Test Plan: please run combobox example in elementary_test

Reviewers: shilpasingh, cedric, raster

Subscribers: rajeshps, govi

Maniphest Tasks: T3075

Differential Revision: https://phab.enlightenment.org/D3599

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-01-22 12:10:14 -08:00
Cedric BAIL e01f66b816 combobox: move responsibility to define filter and content to the user of a combobox
Before this patch, the filter was set inside the combobox. This is confusing for the
user of the object as it can't define a custom filter except on strings. It is also
impossible to bind as binding require to know what was put in and they can't differentiate
between a genlist filter being set from the binding to one being set internally by
the combobox.

@fix
2016-01-22 12:10:14 -08:00
SangHyeon Lee 36191ee691 genlist : fix tree item floating issue when homoegeneous mode is enabled
genlist item is flaoting upon the expanded item when homoegeneous mode
is enabled.
when item block is recalculated by tree expanding, new item didn't
update their properties and values becuase of size hash, but edc
actaully need to be recaculated after swallowing tree size padding.

solve the issue by adding expand depth check in size hash.

you can check the previous issue in T2708
elementary_test->genlist tree->homoegeneous check

@fix
2016-01-22 16:55:41 +09:00
Davide Andreoli ab8b65f6fa Adjust "context_menu_disabled" configuration.
This @fix three (yes 3!) errors from commit cafda5928f9bf8116564219dc03d12c3a6e131b3

1. the initial value in the standard config is wrong, causing ctx menu to be disabled for everyone!
2. the argument of the api should be named "disabled" (like all the other disable API in this context)
3. (minor) fixed doc for elm_config_context_menu_disabled_set

NOTE: there are no configuration gui for this option, if you cleared your elm config recently you probably now have the ctx menu disabled everywhere, only solution is to wipe your config (to let elm create a new correct one)

Big SPANK to the author, the commiter and all the reviewers of D2463!!!
2016-01-21 22:21:30 +01:00
Jean-Philippe Andre 48b561b8e0 elm: Replace EO_EV_ by EO_BASE_EVENT_
EO_EV_ stuff is deprecated
2016-01-21 14:45:05 +09:00
Jee-Yong Um 43f646f642 elm_hoversel: fix calculation to make items fit to dropdown box
Summary:
While applying scroller on hoversel, several lines for item size
calculation were added, but they failed to have item get proper size.
Now redundant codes are removed and some are fixed, and hoversel will
be shown more well-ordered.

Test Plan: elementary_test hoversel

Reviewers: jpeg, raster, cedric

Differential Revision: https://phab.enlightenment.org/D3589
2016-01-20 21:29:12 +09:00
Minkyu Kang 2a1f4ada6e elm_widget: use internal function for clearing the focus
Summary:
This patch will remove duplicate logic

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

Reviewers: seoz, Hermet, cedric

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D3573
2016-01-20 17:15:45 +09:00
Hermet Park b91e5ea890 update author 2016-01-20 17:10:16 +09:00
Minkyu Kang 6fa6c3026a elm_widget: cleanup _elm_widget_on_focus function
Summary:
This patch will reduce duplicate codes and code depth for readability

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

Reviewers: seoz, Hermet, cedric

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D3574
2016-01-20 17:06:22 +09:00
Davide Andreoli 026196fe1f Combobox: rename the "selected" event to "item,selected" as it should be.
Also updated the test to reflect this change
2016-01-19 20:33:47 +01:00
Chris Michael dc22117232 elementary: Fix elm_win_window_id_get function
When using this function with wayland windows, we should be returning
the matching Ecore_Wl2_Window id, not the surface_id

ref T3058

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-01-19 10:48:19 -05:00
Davide Andreoli dae6d87af4 Hoversel: add a test for the populate-on-click scenario 2016-01-18 19:49:28 +01:00
Stefan Schmidt 92964cf8c1 release: Update NEWS and bump version for 1.17.0-beta2 release 2016-01-18 14:10:24 +01:00
Vincent Torri 44ef707d81 win32: Fix link of binaries which use functions in Evil
Reviewers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3578
2016-01-18 13:55:39 +09:00
Daniel Juyung Seo eddc931d0c gitignore: Add new example to gitignore list. 2016-01-18 04:26:28 +09:00
Daniel Juyung Seo e7ac0a8c4d examples/combobox: Remove unused functions. 2016-01-18 04:24:16 +09:00
Davide Andreoli 16b16b7128 Gengrid: improve item_region_show code
There is no need to recalc row and col position of the item, they are already stored in the item struct.

The old implementation was calculating wrong values and also was storing this wrong values in it->x and it->y, resulting in wrong results for the elm_gengrid_item_pos_get() function.

so, at the end,  this is a @fix for the pos_get() function.

Also changed a bit the test to let the gengrid fill the window and thus testing behaviour on col/row changes.

I didn't find any regression in all the gengrid tests after this, let me know if it broke something for you.
2016-01-17 15:11:29 +01:00
Andy Williams df74a34942 config: Correct defaults in upgrade of popup conf
After bumping version we need to create a new IFCFG block.

@fix

T3008
2016-01-15 21:52:08 +00:00
Amitesh Singh bab5b61aa7 slider: fix segfault in case of obj is deleted before wheel timeout timer expires
Issue:
1. elementary_test -> slider
2. move mousewheel on slider and popup gets shown.
3. close the slider window very fast or increase the wheel_timeout to 4 seconds
4. observe crash
2016-01-15 17:45:24 +05:30
Jean-Philippe Andre 3d62767f18 SegmentControl: Fix theme to avoid text move on select
GLOW and SHADOW_BOTTOM have different paddings, which changes the
geometry of the object. This compensates that.
2016-01-15 18:15:50 +09:00
Cedric BAIL 73a2d0e231 config: try to properly update config for popup new align value.
This idea has been suggested by Andrew Williams and I hope it does work
just fine. Please report any problem.

@fix

T3008
2016-01-14 15:49:22 -08:00
Stefan Schmidt 2d871335bd elm_config: close file before moving it 2016-01-14 16:36:00 +01:00
Stefan Schmidt 7ee4b458c6 elm_config: print an eror message if we fail to save the derived config profile 2016-01-14 15:53:53 +01:00
Stefan Schmidt 8bf42c1830 elm_config: handle eet_data_write possible error return
CID: 1347399
2016-01-14 14:22:23 +01:00
Jean-Philippe Andre bbf788cdae examples: fix compilation from command line (file models) 2016-01-14 14:53:51 +09:00
Mike Blumenkrantz d28d2c1cdc box: enforce size recalc during unpack_all()
deleting subobjects here was occurring and triggering sizing eval
prior to removing the objects from the evas box, resulting in a failure
to accurately calculate and set size hints

also set delete_me to block sizing evals during subobj deletion loop
in order to avoid object thrashing during the time when nothing is happening

@fix
2016-01-13 15:47:50 -05:00
Mike Blumenkrantz dfdda0c2ba box: improve aspected layout for non-1:1 ratio aspects
the aspect calc function requires unaliased size params, so don't pass
aliased params

also clamp min axis size to min aspected item size as intended
2016-01-13 15:37:50 -05:00
godly.talias 77c465f1b1 [Hover] Fixed the delaying of hover dismiss on continuous mouse clicks
Summary:
When continous mouse clicks happen hover emits the hide signals continously
to edje. As the embryo program for hiding requires some time to finish the
animation, if within that time another mouse click comes the program gets
invoked again and thus the hiding will get delayed till the mouse clicks ends.
This patch fix that issue by adding a flag for emitting signals.

@fix T3006

Signed-off-by: godly.talias <godly.talias@samsung.com>

Test Plan: elementary_test

Reviewers: cedric, conr2d, prince.dubey, shilpasingh, Princekrdubey

Reviewed By: shilpasingh, Princekrdubey

Subscribers: Princekrdubey, divyesh, govi, rajeshps

Maniphest Tasks: T3006

Differential Revision: https://phab.enlightenment.org/D3526
2016-01-13 15:59:15 +09:00
Stefan Schmidt 9786fa6adb els_cursor: mark internal struct static 2016-01-11 21:57:07 +01:00
Stefan Schmidt 0ce3e099f6 elmn_config: mark some internal variables and functions static 2016-01-11 21:57:07 +01:00
Stefan Schmidt 4c6aa026e3 atspi: mark some internal structs static 2016-01-11 21:57:07 +01:00
Stefan Schmidt 686faed70e examples/combobox: include string.h for strcasestr() 2016-01-11 21:57:07 +01:00