bugBattle for Wesnoth - Bugs: bug #19320, Chat log should show latest...

Show feedback again

bug #19320: Chat log should show latest messages, not oldest

Submitted by:  ancestral <ancestral>
Submitted on:  Mon 23 Jan 2012 05:42:21 AM UTC  
Category: Feature RequestSeverity: 2 - Minor
Priority: 5 - NormalItem Group:  None of the others
Status: In ProgressPrivacy: Public
Assigned to: Charles Dang <vultraz>Open/Closed: Open
Release: trunkOperating System: any

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Mon 24 Oct 2016 12:39:39 PM UTC, comment #3:

Ok, that did not fully fix it. I improved the situation here: https://github.com/wesnoth/wesnoth/commit/d8027de68fe645ac394d29ad6f579c5f31675da2 but that doesn't fix the scrollbar position on first run... will have to investigate further.

The invalidate_layout calls were in order to recalculate size if the initial page was less than max height. However, they also reset the scrollbar position to the top. Now that I've made the dialog fixed-size as well, these calls are redundant. Dropping them fixes the scroll-to-bottom behavior for paging and filtering, just not the initial run.

Charles Dang <vultraz>
Project AdministratorIn charge of this item.
Mon 24 Oct 2016 05:37:31 AM UTC, comment #2:

Should finally be fixed here: https://github.com/wesnoth/wesnoth/commit/b89731c7ac48ead261217aa7f532e37d8870d113 Wasn't able to test since one would need to play an mp game.

Charles Dang <vultraz>
Project AdministratorIn charge of this item.
Thu 06 Dec 2012 08:34:43 PM UTC, comment #1:

Hey guys.. I am trying to fix this bug for a college project. Any leads on where to begin or which '.cpp' will have the username.

I tried to fix it by changing few lines. But didn't work. WOuld love some help.

Gaurav Kamani <fit1>
Mon 23 Jan 2012 05:42:21 AM UTC, original submission:

When opening the chat log it always displays the oldest messages. This is very inconvenient.

Better would be to show the newest messages, by having the chat box scrolled all the way down before showing the chat log.

ancestral <ancestral>
Project Member


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by vultraz (Posted a comment)
  • -unavailable- added by shadowmaster (Updated the item)
  • -unavailable- added by fit1 (Posted a comment)
  • -unavailable- added by ancestral (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 24 Oct 2016 12:39:39 PM UTCvultrazStatusReady For Test=>In Progress
    Mon 24 Oct 2016 05:37:31 AM UTCvultrazStatusNone=>Ready For Test
      Assigned toshadowmaster=>vultraz
    Thu 04 Jun 2015 11:15:10 PM UTCshadowmasterAssigned toNone=>shadowmaster
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup