Re: [e-users] IBar miniview problem - DEBUG

Quelrond Q <[email protected]>
Newsgroups gmane.comp.window-managers.enlightenment.user
Message-ID <[email protected]>

> Le 15 oct. 2022 à 09:55, Carsten Haitzler <[email protected]> a écrit :
> 
> On Thu, 13 Oct 2022 19:51:12 +0200 Quelrond <[email protected] <mailto:[email protected]>> said:
> 
>> After some debugging:
>> 
>> If in /src/modules/ibar/e_mod_main.c/
>> 
>> in function /_ibar_cb_icon_mouse_in/
>> 
>> I comment out the line 1513:
>> 
>> /_ibar_icon_signal_emit(ic, "e,state,focused", "e");/
>> 
>> everything works as expected (but I have no nice effect of active IBar 
>> icon).
>> 
>> So, probably in 'focused' state something goes wrong with icon menu...
> 
> that doesn't make sense as the men u is shown on a timer after a mouse in
> event. so either the mouse in event never happens (unlikely)

The mouse event does happen as I see the 'focused' effect on the icon, and the 'focused' event was sent at the line I've commented out.

> or the timer is
> deleted before it fires

Before disabling the _ibar_icon_signal_emit I tried to show the menu directly in function _ibar_cb_icon_mouse_in (without timer). It did not work. If i disable _ibar_icon_signal_emit here - the menu is shown with the timer and without the timer.

> OR the menu is hidden too early.

I tried to disable hidding the menu completely - it does not change anything.

As I mentioned, the only way to show the menu - disabling emitting the signal 'focused'. I don't understand why, I agree that it is strange. But it worked correctly in previous versions of E and EFL, and IBar code was not changed between the two E versions. So, probably something goes wrong in EFL.

Peter


_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.