Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Drop list is not shown
Re: Drop list is not shown [message #43908 is a reply to message #43906] |
Sun, 16 November 2014 17:47   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
Mindtraveller wrote on Sun, 16 November 2014 17:25mirek wrote on Sun, 16 November 2014 19:39I do not see
DLOG("---------------------------");
DDUMP(popup->GetRect());
DDUMP(rt);
I've split log into 2 pieces.
The first piece was generated after I clicked drop list:
popup->GetRect() = [1130, 343] - [1347, 344] : (217, 1)
rt = [1130, 343] - [1347, 615] : (217, 272)
r0 = [1130, 343] - [1347, 344] : (217, 1)
The second *big* part (added as attachment) was generated after the settings window was closed.
If I'm not mistaken, the problem is with Rect for animation. As you see in log, this Rect is 1 pixel in height. This could answer why only black line is shown. But I don't really know why popup is correctly shown after all (when window is closed).
Here r0 == popup->GetRect is initial position. It is that line you can see, but as initial position for the animation it is correct. "rt" is 'target position' - Animate is supposed to go from r0 to rt. So far so good.
Anyway, if you say that the second part (which looks like pretty correct animation being performed) is performed later, my guess is that the animation is somehow blocked until the dialog closes. It should be pretty simple to test, just put some logs on your closing action, some logs into Animate at exit....
One possible cause of this 'stalling' could be that some other thread keeps GuiLock locked (or starved).
Mirek
[Updated on: Sun, 16 November 2014 18:15] Report message to a moderator
|
|
|
 |
|
Drop list is not shown
|
 |
|
Re: Drop list is not shown
By: mirek on Wed, 12 November 2014 11:25
|
 |
|
Re: Drop list is not shown
|
 |
|
Re: Drop list is not shown
By: mirek on Thu, 13 November 2014 13:16
|
 |
|
Re: Drop list is not shown
By: mirek on Thu, 13 November 2014 19:43
|
 |
|
Re: Drop list is not shown
|
 |
|
Re: Drop list is not shown
By: mirek on Fri, 14 November 2014 16:10
|
 |
|
Re: Drop list is not shown
|
 |
|
Re: Drop list is not shown
By: mirek on Sun, 16 November 2014 16:39
|
 |
|
Re: Drop list is not shown
By: mirek on Sun, 16 November 2014 16:39
|
 |
|
Re: Drop list is not shown
|
 |
|
Re: Drop list is not shown
|
 |
|
Re: Drop list is not shown
By: mirek on Sun, 16 November 2014 17:47
|
 |
|
Re: Drop list is not shown
|
 |
|
Re: Drop list is not shown
By: mirek on Thu, 20 November 2014 20:44
|
 |
|
Re: Drop list is not shown
|
 |
|
Re: Drop list is not shown
By: mirek on Fri, 21 November 2014 11:50
|
 |
|
Re: Drop list is not shown
|
 |
|
Re: Drop list is not shown
By: mirek on Mon, 24 November 2014 11:41
|
 |
|
Re: Drop list is not shown
|
Goto Forum:
Current Time: Tue Apr 29 08:33:12 CEST 2025
Total time taken to generate the page: 0.00704 seconds
|