[Solved]rendering problem of scrollable windows(my mistake)

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

valvalval
Not too shy to talk
Not too shy to talk
Posts: 27
Joined: Wed May 06, 2009 08:16

[Solved]rendering problem of scrollable windows(my mistake)

Postby valvalval » Fri Oct 09, 2009 09:53

I already mentioned about a problem of scrollable pane(actually, i don't know, it is a bug or not)

not only scrollable pane, also listbox has a similar problem.

despite text-item is added to listbox, it doesn't render its list.

it renders its list after scrolling and clicking by, like scrollable case.


maybe ah,,, cegui render doesn't recognize a need of redrawing.
Last edited by valvalval on Tue Oct 13, 2009 05:17, edited 2 times in total.

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

Re: redering problem of scrollable windows.

Postby CrazyEddie » Fri Oct 09, 2009 11:00

I already mentioned about a problem of scrollable pane(actually, i don't know, it is a bug or not)

I've not looked into this yet, but it's on my list.

I'm not aware of any issues with the listbox. What would be useful is if you specified the exact arrangement of windows needed to reproduce these issues - specifically which (if any) windows have texture backing. I don't have the time to test every possible combination of options for all window and widget types, so when reporting these issues you must give detailed information as to how to reproduce the issues (that is, if you want the to get fixed!)

Thanks,

CE.

valvalval
Not too shy to talk
Not too shy to talk
Posts: 27
Joined: Wed May 06, 2009 08:16

Re: redering problem of scrollable windows.

Postby valvalval » Sat Oct 10, 2009 06:19

OK :) , I really want to get if fixed, so I'll post it ASAP.

with Picture :p

valvalval
Not too shy to talk
Not too shy to talk
Posts: 27
Joined: Wed May 06, 2009 08:16

Re: redering problem of scrollable windows.

Postby valvalval » Mon Oct 12, 2009 03:01

1. Hierarchy

+ ChattingWindowBack(StaticImage) (parent)
- ChattingHistory(Listbox) (child1)
- EditBox(EditBox) (child2)

2. ChattingHistory's state.
- deactivated.(focus is on a another window)

3. problem.
- it works out, on app that I'm playing.
but, when multiplaying, my app's chatting histroy is being updated correctly,
other app(other PC)'s chatting histroy is not being updated.

then, I activated chatting history(on code by manually, using activate()), so it is updated correctly.

sometimes, control(like Listbox, scrollable pane) doens't know a need of redrawing.

you can test this with 2 same listbox.
like this below

http://cfile2.uf.tistory.com/image/186186174AD29C5860D44C

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

Re: redering problem of scrollable windows.

Postby CrazyEddie » Mon Oct 12, 2009 08:59

Ok, thanks. I'll run a couple of tests.

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

Re: redering problem of scrollable windows.

Postby CrazyEddie » Mon Oct 12, 2009 10:50

I have tested this, and it appears fine - I made a video of the test I ran, in order to demonstrate my results...



CE.

valvalval
Not too shy to talk
Not too shy to talk
Posts: 27
Joined: Wed May 06, 2009 08:16

Re: redering problem of scrollable windows.

Postby valvalval » Mon Oct 12, 2009 11:27

hm, yeah, your test works well..hm..

-_- my case is not equal to record video of my app, because it is a problem between two physical PC.

(chatting text is updated by receving a chat-packet)

but, I'm going to find out that reason :)

thx CE.

if I know it, I'll tell you.

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

Re: redering problem of scrollable windows.

Postby CrazyEddie » Mon Oct 12, 2009 19:06

Is it the same code invoked to add a 'local' message that is invoked to add a 'remote' message? If not this may indicate where to look (and consider refactoring to use use same code path for both).

I can't really think of much else to suggest, after all, it's a case of 1) add item, 2) ensure item is visible. What can go wrong, right?! :)

If you do find the issue in your own code, please do let us know what that was :D

CE.

valvalval
Not too shy to talk
Not too shy to talk
Posts: 27
Joined: Wed May 06, 2009 08:16

Re: redering problem of scrollable windows.

Postby valvalval » Tue Oct 13, 2009 00:35

oh god, I really really sorry.

I found my mistake. :hammer:

-_-... Ah, my script code nullified a target window(listbox)..

I made your time waste.



I apologize that. I regarded this as a case of scrollable-pane.
I should have made it sure.

I wish you to not spend much time for this.
for self-reflection, not delete this thread. haha.
=_=);;

ah, but scrollable-pane is true ! :lol:
and I really thank your visual-aid.

ps. if our game is released(next year), it must include 'CEGUI' logo.

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

Re: [Solved]rendering problem of scrollable windows(my mistake)

Postby CrazyEddie » Tue Oct 13, 2009 11:21

Don't worry too much - it's easy to be convinced the issue lies elsewhere sometimes :)

With regard to scrollable-pane, as stated in the other thread, I have no idea what's going on there with regards to content not showing. However, there exists another issue in Scrollable pane that I'm looking into at the moment (not a visual issue: but it seems under certain circumstances, content that was initially out of the view pane is non-interactive when scrolled into view).

CE.


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 1 guest