DoomLauncher icon indicating copy to clipboard operation
DoomLauncher copied to clipboard

[BUG] Panels will resize themselves oddly

Open Mabadman opened this issue 2 years ago • 1 comments
trafficstars

I'm certain there are other ways to reproduce this, but here's how I've been able to reproduce it consistently:

  1. Create an auto-play shortcut of a wad
  2. Use this shortcut to launch the wad with a port. Do not change the Doom Launcher window (by e.g. making it fullscreen or resizing the panels)

At this point, the panels are already a bit weird. The wad info panel on the right is too small and the screenshots/demos/etc panel at the bottom is 0 pixels tall:

This is a screenshot of the full window image

(Spoiler) How it looks at this step
  1. Close the port.
  2. Relaunch Doom Launcher without using the auto-play shortcut but instead normally.

https://github.com/nstlaurent/DoomLauncher/assets/42493726/53c2524d-25e6-4f0e-8952-2a32e9f2690e

Mabadman avatar Aug 09 '23 18:08 Mabadman

Thanks for the detailed info. I think the problem is the window doesn't really exist but it always tries to write the most up to date splitter values for the panels on close. I will have it fixed in the next release.

nstlaurent avatar Aug 09 '23 20:08 nstlaurent