On Thu, 31 Oct 2013 18:42:02 +0100 Mariusz Grzegorczyk <marius...@samsung.com>
said:

it'd be nice if you can file a bug on 

https://phab.enlightenment.org/maniphest

so it can be tracked. the segfault itself is wrong and needs to be fixed no
matter what, but setting the cursor on the window itself i dont think was meant
to work - it's kind of odd the way we do window objects (don't ask!) so if you
said it didn't work - i'd go "well.. thats obvious"... but now you mention it..
it SHOULD work. problem is the cursor handling relies on mouse in/out on the
given destination object to tell x to switch cursor for the window... and the
window object is kind of weird...

> Hello,
> 
> When adding following lines into test_cursor.c file(one of elementary_test
> screen, Cursor3 window)
> 
>  
> 
> elm_config_cursor_engine_only_set(EINA_FALSE);
> 
> elm_object_cursor_set(win, "hand2");
> 
>  
> 
> following errors occur:
> 
> CRI<24262>:evas_main main.c:97 evas_debug_magic_null() Input object is
> zero'ed out (maybe a freed object or zero-filled RAM)!
> 
>  
> 
> #0  0x00007ffff7cd12a0 in evas_debug_magic_null () from
> /opt/usr/lib/libevas.so.1
> 
> #1  0x00007ffff737facd in _ecore_evas_mouse_move_process () from
> /opt/usr/lib/libecore_evas.so.1
> 
> #2  0x00007ffff5bf3e66 in ecore_event_evas_mouse_move () from
> /opt/usr/lib/libecore_input_evas.so.1
> 
> #3  0x00007ffff7e13de0 in _ecore_event_call () from
> /opt/usr/lib/libecore.so.1
> 
> #4  0x00007ffff7e185ec in ?? () from /opt/usr/lib/libecore.so.1
> 
> #5  0x00007ffff7e18ab7 in ecore_main_loop_begin () from
> /opt/usr/lib/libecore.so.1
> 
> #6  0x000000000040182a in elm_main ()
> 
> #7  0x0000000000401867 in main ()
> 
>  
> 
> In attachment there is screenshot of modificated Cursor example from
> elementary_test.
> 
>  
> 
> When like in this example window, and button have custom cursors,
> application behaves strange(maybe because of 2 custom styles in one
> position). Additionally on UI sometimes one cursor is shown, sometimes 2,
> and on more complex UI it follows to crash.
> 
>  
> 
> Is it bug when having custom cursor on whole window, and another custom one
> above e.g. entry, or is it not supported from some reason?
> 
>  
> 
> Regards Mariusz.
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to