Commit Graph

10124 Commits

Author SHA1 Message Date
Daniel Juyung Seo dfead75366 gengrid/genlist/list/toolbar: Do not set the focus to the item on widget's first focus.
This was introduced during 1.10 development phase but this changed the
default focus behavior and got a lot of complaints. (especially from
discomfitor)

So I would like to comment this out now and make it optional on 1.11
by keeping the default behavior.
2014-05-11 21:21:51 +09:00
Daniel Juyung Seo 5407141ac6 list: added comments about an unused function.
Fixing this issue is not trivial and will bring another issues like crashing.
So it is better to fix this in a development phase by refactoring list.

To fix this issue, the following are needed:
1. it->walking concept should be adopted instead of using just sd->walking.
   sd->walking was introduced in beb418d6
2. elm_widget_item_del() should be called instead of the combination of
   _elm_list_item_free() + elm_widget_item_free()
   This was introduced in f343011d
2014-05-10 23:44:28 +09:00
Daniel Juyung Seo 254798b47e list: initialize some internal variables on item free not item del pre.
This fixes variable initialize problems related to focus. This can be
reproduced when you enable focus highlight/animation and reuse
elm_list by clearing it.

This problem occurred because list item del pre is never been called.
This bug will be addressed in a next commit.
2014-05-10 23:44:28 +09:00
Daniel Juyung Seo 8ffbf246f4 elm: fixed trivial formattings.
Just found them while reading codes.
2014-05-10 23:44:27 +09:00
Daniel Juyung Seo af92b3e6f9 elm: call elm_widget_item_del instead of elm_object_item_del inside elementary.
This reduces only one more function call but this makes the elm code
more consistent between widgets.
2014-05-10 23:44:27 +09:00
Carsten Haitzler 0690621d86 theme - fix e list item selecton and label 2014-05-10 21:50:40 +09:00
Cedric Bail f9cf4a780d autotools: remove dead and erroneous code. 2014-05-10 12:39:03 +02:00
Daniel Juyung Seo 44a67054de elm: fixed wrong internal variable name.
Unified the local variable name to ret if the ret is a return value of
another content_unset calls.
- Evas_Object *int_ret --> Evas_Object *ret
- Evas_Object *int_content --> Evas_Object *ret
- Evas_Object *content --> Evas_Object *ret
2014-05-10 14:13:57 +09:00
Daniel Juyung Seo 774e32be36 test_naviframe: added a test for event freeze checking. 2014-05-10 14:01:33 +09:00
Mike Blumenkrantz 35d3cc7fba clock theme forces visibility on date text
fix T490
2014-05-10 00:13:05 -04:00
Mike Blumenkrantz 04f0313c26 genlist theme uses scale; 2014-05-09 16:00:16 -04:00
Mike Blumenkrantz 9dafa908c1 genlist theme no longer uses desc.state anywhere 2014-05-09 16:00:12 -04:00
Daniel Juyung Seo 45f7f881e8 gengrid: removed build warning. 2014-05-10 01:12:20 +09:00
Anil Kumar Nahak cae2b831a1 test_gengrid: Added a checkbox for enable/disable of reorder_mode feature
Summary: reorder mode can be enable/disable by clicking "'Reorder mode enable" checkbox

Test Plan: elementary_test->"GenGrid"

Reviewers: raster, seoz, nirajkr, singh.amitesh

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D829
2014-05-10 01:09:27 +09:00
Anil Kumar Nahak 9d1813f7ee genlist/gengrid: Use pan object geometry for focus highlight calculation
Summary: Genlist/gengrid object geometry was used before this patch but using the pan object geometry is more correct. This can be reproduced when the size of "elm.swallow.content" part is smaller then the size of scroller object, focus animtaion on items is jerky.

Reviewers: raster, seoz, singh.amitesh

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D818
2014-05-10 01:07:58 +09:00
Ryuan Choi 40a3850ee2 ctxpopup: Fixes that remains diskselector when dismissed ctxpopup of elm_datetime.
elm_object_content_unset should return child element which is unset.

Tests: elementary_test -to datetime
2014-05-09 23:02:56 +09:00
ChunEon Park e312e34652 widget - use eo call. 2014-05-09 15:24:18 +09:00
ChunEon Park 1a99f9274c widgets - propagate current parent orientation to sub object.
If object is unset then set to parent again, the current orientation signals
should be emitted so as to be latest state.

@fix
2014-05-09 15:18:49 +09:00
Mike Blumenkrantz 81a509fe09 Revert "add event blocker for ibar menu"
This reverts commit 0678bdbc0655b520c3f187684afe4ad1a9091c0e.

take more naps
2014-05-08 15:07:45 -04:00
Mike Blumenkrantz 5815fa462b add event blocker for ibar menu
having mouse clicks intercepted and going to /dev/null when clicking on items during mouseover animation was super annoying
2014-05-08 14:37:46 -04:00
Patryk Kaczmarek 707599d4cc access: fix typo _elm_access_object_unhilight -> _elm_access_object_unhighlight
Summary: Name of that function is not proper in my opinion. Please consider that revision.

Reviewers: raster, seoz, bluezery, stanluk, jaehwan, kimcinoo

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D827
2014-05-08 11:20:18 +09:00
Mike Blumenkrantz eebaf5f24e e syscon buttons now implement focus glow 2014-05-07 20:09:13 -04:00
Daniel Zaoui 16199ba990 Web: bring legacy from the dead.
ABI check found that during Eolian integration of Elm Web, I forgot some
deprecated function.
2014-05-07 13:46:18 +03:00
zmike fe4fae4954 Revert "Revert "focus: Removed unused parameter from an internal focus function.""
This reverts commit b8549f3e83a8592145a50085182583adead2c74e.

this build system is bad and whoever did the eo integration should not feel pleased with themselves.
2014-05-07 01:13:19 -04:00
zmike 54eabd94e2 Revert "focus: Removed unused parameter from an internal focus function."
This reverts commit 5832b692aa5f68a2924bd7886390d489eb13aefb.

broke build
2014-05-07 01:08:04 -04:00
zmike be636e58be remove all scrolling changes for focused items.
this.is.BROOOOOOOOOOOOOOOKEEEEEEEEEEEEEEEEEEENNNNNNNNNNNNNNNNNNNNNNNNNNNNN.

SERIOUSLY.

you cannot go scrolling all over the place in every widget that has a scroller just because the widget gets focus. what user wants that? no user anywhere, under any circumstances, ever, in all of history.

if you dare to put this back in, I will continue to remove it for the rest of eternity until it never, ever scrolls in any unwanted case. the focused item doesn't have to always be in the viewport, and should never be moved into the viewport [[[[[[[ except to maintain an already-existing position inside the viewport ]]]]]]]

too much of my time wasted on this stupid "feature" which should have been MUCH more thoroughly tested and reviewed before it was merged.

T1205 STILL NOT FIXED
2014-05-07 01:06:30 -04:00
Daniel Juyung Seo d0380e3342 focus: Removed unused parameter from an internal focus function.
is_next parameter is not used for
elm_widget_focus_highlight_geometry_get() function.
But this parameter was not cleaned up in the commit 5320cca.
2014-05-07 00:05:07 +09:00
Stefan Schmidt cab4bb821d release: v1.10.0 beta1 2014-05-05 16:25:04 +02:00
Daniel Juyung Seo fcd1a729ed theme: removed unnecessary null check.
Null check is already done in the previous line so do not check null
again.
2014-05-04 06:18:58 +09:00
Ryuan Choi 1c1cc3edd5 Fix the leak when closed alert/prompt/confirm since 1be3950fd
Spotted by seoz.
2014-05-03 19:36:54 +09:00
zmike 1baf1d5898 naviframe transitions are now uniform
this looked less than sleek with the overlapping contents of the mismatched transition modes
2014-05-02 18:34:23 -04:00
Daniel Juyung Seo a44e4e5411 photocam: added @c to EINA_TRUE/FALSE doxygen. 2014-05-03 03:51:44 +09:00
zmike 50c3605a02 spinner theme text ellipsis fix 2014-05-02 12:04:22 -04:00
Carsten Haitzler 1f13a9a307 adjust po file line nums 2014-05-02 21:24:26 +09:00
Carsten Haitzler 62c7dd4c23 fix new ellipsising of elm theme elements. 2014-05-02 18:44:17 +09:00
Mike Blumenkrantz a5b1e9eda1 genlist edc part types are now 100% defined using 1.10 edc 2014-05-01 17:23:13 -04:00
Daniel Juyung Seo 3b20add9a6 focus: Fixed focus_region_show to consider bring_in_enable configuration.
focus_auto_scroll_bring_in_enable feature is new in 1.10, this would
not be backported.
2014-05-01 22:27:05 +09:00
Daniel Juyung Seo cfb42e0502 test_focus: initialize focus related check states correctly.
Fetch the current focus config status.
2014-05-01 21:54:24 +09:00
Daniel Juyung Seo fa2a17a1fb config: internal code refactoring for the readability.
Gathers focus related configurations.
2014-05-01 21:34:55 +09:00
Daniel Juyung Seo be30d78165 config: removed unnecessary variable initialize.
It is overwritten in the following line.
2014-05-01 21:31:14 +09:00
Daniel Juyung Seo e9644d6882 elm_config: added focus menu to elementary_config.
This helps focus debugging by changing the global configuration.
2014-05-01 21:30:14 +09:00
Daniel Juyung Seo 5769f3954c config: apply CHECK_ADD macro to elementary_config. 2014-05-01 18:51:24 +09:00
Daniel Juyung Seo 00a0457aad config: introduced a global CHECK_ADD macro for elementary config. 2014-05-01 18:38:02 +09:00
Amitesh Singh 24a4e9e67c gengrid: frame variable should be used for position changes.
Summary:
Earlier pos was getting used for the item coordinates. To support other Ecore_Pos_Map variations, frame variable should be used.
@fix

Test Plan:
elementary_test-> "Gengrid Focus". Enable reorder mode and use keys to move
the focused item.

Reviewers: raster, seoz

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D811
2014-04-30 17:59:40 +09:00
Daniel Juyung Seo 75736227cd test_dnd: removed dead code.
This fixes coverity CID 1210426.
2014-04-30 16:14:53 +09:00
Daniel Juyung Seo 8002e0e518 test_popup: Added more align usages to reveal popup align bug.
Actually the bugs are from notify.
2014-04-30 01:21:55 +09:00
Daniel Zaoui 07c8dd641f Entry: add the activated signal in the events section of entry.eo. 2014-04-29 16:00:51 +03:00
Thiep Ha e005cb7895 test_dnd: Change sending data to be compatible with other apps
Summary:
The sending data used # character, it is not compatible with other apps, so we should change it.

Change sending data to use newline character to be compatible with other apps, able to correctly drag to other apps like EFM, chrome, ...

Reviewers: JackDanielZ, seoz, raster, woohyun

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D751
2014-04-29 16:28:13 +09:00
WooHyun Jung d0fc678c1a notify_test: When elm_notify is shown, set focus to it. 2014-04-29 15:39:41 +09:00
Daniel Zaoui 0491d581c0 Eolian: fix elm_widget.eo
part_text has to be an extra property, not a method.
2014-04-29 08:45:51 +03:00