Dear Sebasian,
   Yes,  I  knew  that  e_border_hide()  increase await_hide_event . But,
   e_border_hide()  is  called in e_border_iconify() also. So i said that
   e_border_iconify() increase await_hide_event. ;)
   I found this issue from my sample. It tests to create/show/hide/destroy
   window.
   I tested following step.
   1. Run my sample
   2. Click TEST_MAIN's create button
   3. Click TEST_MAIN's show button.
   4. Click the iconify button on the TEST_SUB's border.
   5. Click the TEST_SUB which is iconified on the shelf.
   6. Click TEST_MAIN's hide button.
   After this, i expected that the TEST_SUB would be disappeared. But it didn't
   disappear.
   I attached my sample.
   Please, check this and give an advice to me.
   Thanks & Regards,
   Doyoun
   ------- Original Message -------
   Sender : Sebastian Dransfeld
   Date : 2012-11-27 18:31 (GMT+09:00)
   Title : Re: [E-devel] [e][patch] iconify/uniconify bug?
   On 11/27/2012 02:52 AM, Doyoun Kang wrote:
   > Dear all.
   >
   >  I  found something like a bug. The window doesn't hide calling hide
   window(like  ecore_x_window_hide()  or evas_object_hide(), etc.) after
   iconifing and uniconifing window.
   > I found that it was caused by bd->await_hide_event. When the window change
   it's   state   to   ICONIFY,   e   increase   bd->await_hide_event  in
   e_border_iconify(),   however   there   is   no   code   to   decrease
   bd->await_hide_event in e_border_uniconify(). So, the window doesn't hide
   after calling hide window because bd->await_hide_event is greater than zero.
   > I attached the patch to solve this. Please, check this patch and give an
   advice to me. :)
   This isn't the right solution. iconify does not increase the count, hide
   does. A hide should be followed by an Ecore_X_Event_Window_Hide event
   which decreases the count. I did change some code regarding this a while
   ago to fix another bug, maybe it triggered another :)
   S.
   ----------------------------------------------------------------------------
   --
   Monitor your physical, virtual and cloud infrastructure from a single
   web console. Get in-depth insight into apps, servers, databases, vmware,
   SAP, cloud infrastructure, etc. Download 30-day Free Trial.
   Pricing starts from $795 for 25 servers or applications!
   http://p.sf.net/sfu/zoho_dev2dev_nov
   _______________________________________________
   enlightenment-devel mailing list
   [email protected]
   https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


   [cid:[email protected]]

   [SeenTimeChecker?do=5ce55d557b3ce2c593477cf77cf37cba161d9a581bdd38dc111265ed
   ac7b4406ddc79e3cd10304db25139e580ce36374e458eb91567068af8048f33cf1ed6b022630
   67d8b8f027b11b20909a04efd4d2748cfe1d4e847419cf878f9a26ce15a0]

<<201211291046038_QKNMBDIF.gif>>

Attachment: Makefile
Description: Binary data

Attachment: sample.c
Description: Binary data

------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to