URL:
  <http://gna.org/bugs/?25065>

                 Summary: New credits won't display if too many entries are
present
                 Project: Battle for Wesnoth
            Submitted by: vultraz
            Submitted on: Fri 16 Sep 2016 08:29:50 AM UTC
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.13.5+dev
        Operating System: Windows 10

    _______________________________________________________

Details:

This affects the new GUI2 credits dialogs.

Rather a corner case, since it works fine with mainline credits and mainline
campaigns' credits, but if one has too many addon campaigns (with credits, of
course) installed, the text will not show.

This is possibly due to the surface becoming too large. However, no tests seem
to indicate that fact, including a read of SDL_GetError() when the text
surface is created and any intermediate validation steps in the GUI2 canvas as
it makes it way to render.

I have also tested whether this is due to some cropping calculation due to the
scrollbar positioner becoming too small, but that does not seem to be the case
either.

For all intents and purposes, the text is placed (and can even be queried with
.label()), but just doesn't show. This can also be triggered if you have
"enough" addon campaigns with credits installed and change the label
definition to "default_large".

Again, a possibility is the surface being too large, but someone more
knowledgeable than I in SDL_Surface's internals will have to look into this.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?25065>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to