Hey,
there is a bug report from 2014 about the issue here:
http://cegui.org.uk/mantis/view.php?id=1047
I have exactly the same problem with 0.8.5
Is there any fix in a later version may be?
If my DragContainer is placed within a FrameWindow and if the FrameWindow has AutoRenderingSurface set to True (default), then the image in my DragContainer is flickering while it's dragged and moved around. It's visible as long as the mouse is moving, bit it disappears whenever the mouse stops.
The issue can be fixed by disabling AutoRenderingSurface, however this comes with quite some performance penalty for me...
It seems the FrameWindow gets updated as long as the mouse is moved (at least drops to the same FPS rate as when AutoRenderingSurface is disabled), but if the mouse is not moved, the FPS are recover to high but the dragged image isn't visible
Thanks!
Bug: FrameWindow + DragContainer
Moderators: CEGUI MVP, CEGUI Team
Re: Bug: FrameWindow + DragContainer
Sorry but no, the issue is still open as you may find here: https://bitbucket.org/cegui/cegui/issue ... a-child-of
Upvoting and giving more info will help us resolve it. If you manage to fix it yourself then a PR would be super-awesome!
Upvoting and giving more info will help us resolve it. If you manage to fix it yourself then a PR would be super-awesome!
CrazyEddie: "I don't like GUIs"
Re: Bug: FrameWindow + DragContainer
Ok, I see. Thanks.
Sorry, I didn't find the new issue ticket...
Will try to help if possible.
Sorry, I didn't find the new issue ticket...
Will try to help if possible.
Re: Bug: FrameWindow + DragContainer
The numbers for the issues are retained so you can simply search for that
CrazyEddie: "I don't like GUIs"
Re: Bug: FrameWindow + DragContainer
I found a way to deal with this. Not a very clean one, but it works...
1) In my 'EventDragStarted' handler I call 'setUsingAutoRenderingSurface(false)' on the containing FrameWindow.
2) In my 'EventDragEnded' handler I then re-enable it by calling 'setUsingAutoRenderingSurface(true)'..
1) In my 'EventDragStarted' handler I call 'setUsingAutoRenderingSurface(false)' on the containing FrameWindow.
2) In my 'EventDragEnded' handler I then re-enable it by calling 'setUsingAutoRenderingSurface(true)'..
Re: Bug: FrameWindow + DragContainer
Interesting approach. We could either take this over so it is done from within CEGUI automatically (not so elegant) or we, based on the knowledge that THIS works, take a closer look at why this problem occurs in the first place and then try to fix that
CrazyEddie: "I don't like GUIs"
Re: Bug: FrameWindow + DragContainer
@cyberjunk: I'm unable to reproduce the problems, though I didn't check on real Windows, only inside vmware on linux. Can u plz upload somewhere a project where the problem exists?
Return to “Bug Reports, Suggestions, Feature Requests”
Who is online
Users browsing this forum: No registered users and 4 guests