TiManGames / AmnesiaTheDarkDescent

GNU General Public License v3.0
30 stars 8 forks source link

If a filepath is too long, the `Open Recent` menu breaks #13

Closed jkulawik closed 1 month ago

jkulawik commented 1 month ago

See https://github.com/jkulawik/tdd-issues/issues/9

jkulawik commented 1 month ago

Luis fixed this by trimming the path when it's long. Should be easy to implement; probably better to trim the beginning than the end as well.

jkulawik commented 1 month ago

I can't reproduce this, and my filepath is even longer than in the reported issue

/home/jacob/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Amnesia The Dark Descent/custom_stories/ChestTest/maps/Level1.map
jkulawik commented 1 month ago

The bug only happens when the window is not wide enough.