About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
Bug report: window levels and fadeOut
Author Message
MrPi Offline
Member

Post: #1
Bug report: window levels and fadeOut
There is a bug in the following scenario:
You have 2 windows visible on the screen slightly overlapping. WindowA has level set to 1 and WindowB has level set to 2. Now if you fadeOut() both windows at the same time, WindowB will pop right back up, even though there was no call to display it again.
However, the bug only seems to appear when you open WindowB first.

The bug does not appear when both windows have their levels set to 1.

The reason I did this was to have WindowB always appear on top of WindowA for visual reasons.
(This post was last modified: 12-03-2013 11:12 PM by MrPi.)
12-03-2013 11:04 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Bug report: window levels and fadeOut
Can you please attach a small 2.0 project with code to reproduce this issue?
Thank you
12-06-2013 12:26 AM
Find all posts by this user Quote this message in a reply
MrPi Offline
Member

Post: #3
RE: Bug report: window levels and fadeOut
Here you go.
Click the button to close both windows. Window2 will reappear right after.
If you change its level to 1, this doesn't happen.


Attached File(s)
.zip  3l!jz-p_^1v404ck_pw1c6fi.zip (Size: 87.19 KB / Downloads: 5)
12-06-2013 02:31 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Bug report: window levels and fadeOut
Thank you for submitting the test project.

I've investigated it:

the issue is that normally when window gets closed, then the focus switches to the next one (it's being activated), like on Windows OS.

I'll update the codes to ignore windows that are currently fading out as well.
12-08-2013 11:35 PM
Find all posts by this user Quote this message in a reply
Post Reply