trailofbits / sienna-locomotive

A user-friendly fuzzing and crash triage tool for Windows
https://blog.trailofbits.com/user-friendly-fuzzing-with-sienna-locomotive
GNU Affero General Public License v3.0
133 stars 24 forks source link

SL2 GUI resizes itself when the extended fuzzing control view is toggled #360

Closed woodruffw closed 5 years ago

woodruffw commented 5 years ago

If the user resizes the SL2 GUI and then clicks the "extended fuzzing control" dropdown button, the window snaps back to its original size. We should probably either disable this snapping behavior (i.e., allow the user to set the window's size to whatever they want), or disable window resizing entirely.

woodruffw commented 5 years ago

Looks like our current code uses QWidget.adjustSize(), which always attempts to resize the window into the smallest possible valid union of all internal component sizes. Checking the size first with isValid() might be the right fix here.