ClanGenOfficial / clangen

Warrior Cats fan game
https://clangen.io
Other
229 stars 399 forks source link

[BUG] Typed text doesn't appear on first use #2458

Closed j-gynn closed 2 weeks ago

j-gynn commented 2 weeks ago

Type: (only select one)

Describe the bug Will probably be fixed during the UI work going on, but I will raise it anyway.

The first time you try and type anything in the cat search box, it shows up empty. The moment you click off it, it appears. From then on, the box functions as expected.

Grade: (only select one)

Reproduce Steps to reproduce the behavior:

  1. Go to cat list
  2. Select search box
  3. Type something
  4. Lay thine eyes upon it and see that it is barren
  5. Click off the search box
  6. Ta da, it is back

Commit # or Game Version Number: 6dc3ac1

Screenshots

https://github.com/ClanGenOfficial/clangen/assets/48025294/b538e665-a6dc-4110-9b44-8b067ccd172a

j-gynn commented 2 weeks ago

Thinking about it, this looks like it might be related to the bug reported with the text input box on the new clan screen. Running Win10.

j-gynn commented 2 weeks ago

This looks like it might be to do with the code that clears out the "name search" string, based on other unrelated adventures i'm having through PyGame

scribblecrumb commented 2 weeks ago

Fixed in #2419