Dear all,

In an EXPLICIT mode entry, when we press button 1 and move mouse over the entry 
the cursor doesn't follow the mouse until we release the button.
When we release mouse button (in the mouse_up_cb function) entry cursor is 
moved to the mouse point by calling evas_textblock_cursor_char_coord_set 
function and there is no way to cancel moving cursor while we move mouse.
So I think, when the button 1 is pressed and event_flags is not ON_HOLD, it 
would be better the cursor follows the mouse point in the mouse_move_cb 
function.
(Actually this would make sense more with the entry magnifier feature.)

I attached patch files for above operation, but there are problems in the 
current entry to test it.
 - in an EXPLICIT mode entry, EVAS_EVENT_FLAG_ON_HOLD event flag is not set 
while entry is scrolled unlike the DEFAULT mode desktop entry.
 - in a DEFAULT mode desktop entry, even ON_HOLD event flag is set, scrolling 
is conflicted with entry selecting operation, that makes entry in a scroller 
bounce so many times.

I checked these bugs in the latest svn and they are not related to this patch.
So, Please review this and apply it if it's acceptable.

Regards,
--------------
Myungjae Lee

Attachment: edje_entry.movingcursor.patch
Description: Binary data

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to