[solved] drag & drop with scrollpane issue

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Rincevent
Not too shy to talk
Not too shy to talk
Posts: 22
Joined: Thu Oct 08, 2009 20:42

[solved] drag & drop with scrollpane issue

Postby Rincevent » Mon Oct 12, 2009 09:39

I was playing a bit with your DragDropDemo sample.
I wanted to add a scrollpane under the slots so that the window can be resized and to be able to add more slots then the windows can display.
However I encountered 2 issues:

- it is not possible to drop an item to a slot which is intially out of the window.
e.g I have a dragcontainer is my first slot. I can drag and drop it in any slot displayed in my window.
Now i move the scrollbar of the scrollpane to show hidden slots. Then if I try to drag and drop the dragcontainer to a previously
hidden slot it will not work.

- I guess the seocnd issue is related: if i have a dragcontainer into a slot and then I resize my window to hide the slot where my container was then the container will totally disappear.

Rincevent
Last edited by Rincevent on Tue Oct 20, 2009 21:19, edited 1 time in total.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: drag & drop with scrollpane issue

Postby CrazyEddie » Mon Oct 12, 2009 10:57

Hi,

These sound like bugs and are probably related to the slightly hacky way that ScrollablePane works, I'll check it out a bit later on...

Thanks,

CE.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: drag & drop with scrollpane issue

Postby CrazyEddie » Tue Oct 13, 2009 12:29

To update on this, I've done some testing and it seems that the ScrollablePane in 0.7.0 has some pretty big issues (not just D&D related). I'll need to perform major surgery to get this working correctly again, so it's likely to take a few days :lol:

CE.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: drag & drop with scrollpane issue

Postby CrazyEddie » Wed Oct 14, 2009 09:28

I've fixed a whole bunch of issues related to ScrollablePane this morning. In testing I see that in the ScrollablePane demo app, resizing of the dialogs is broken - I think this was working in the 0.7.0 release, so that has apparently been broken by some other fix I made elsewhere - this should be fixed later today also.

CE.

Rincevent
Not too shy to talk
Not too shy to talk
Posts: 22
Joined: Thu Oct 08, 2009 20:42

Re: drag & drop with scrollpane issue

Postby Rincevent » Tue Oct 20, 2009 21:19

Just wanted to say that I installed the latest build and this issue is now fixed.

Thanks,

Rincevent

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: [solved] drag & drop with scrollpane issue

Postby CrazyEddie » Wed Oct 21, 2009 08:45

Thanks for the confirmation :)


Return to “Help”

Who is online

Users browsing this forum: Google [Bot] and 24 guests