FFMetrics icon indicating copy to clipboard operation
FFMetrics copied to clipboard

repeatable crash - distorted files click+drag

Open joeymavity opened this issue 1 year ago • 10 comments

Steps to reproduce:

  1. Add a single reference file so that the reference area is valid
  2. Add a single distorted file to the project
  3. Click the file list item and drag to the column header

Expected behavior: Nothing happen

Actual behavior: App crashes

Version: 1.4.9b

Additional notes:

It's a weird edge case but my clumsy fingers have made it happen twice, so I thought I'd pass it along, especially since it doesn't happen in many cases. For instance, if multiple distorted files are in the list, or if no reference file is open. I hope this is helpful, it's pretty easily reproducible, though obviously a low priority.

joeymavity avatar Apr 23 '24 19:04 joeymavity

Hm. Unable to re-produce.

fifonik avatar Apr 24 '24 08:04 fifonik

I thought I wasn't able to, then got it to repeat again. I'm on Windows 10.

  1. Open FFMetrics
  2. Start a new project (ctrl+shift+N)
  3. Drag reference file to Reference 'path to file'
  4. Drag two files to 'distored' area, let media info load
  5. Delete one of the files (del)
  6. Drag distorted file to 'distorted' area, let media info load
  7. Drag distorted file to column header (sometimes I had to do this twice)

This 'feels' less perfectly repeatable today than it did last night, but I've also attached a file to help. I have such anxiety about uploading bad bug reports to projects 😅

https://github.com/fifonik/FFMetrics/assets/8808740/d5323e57-430b-4de6-9136-7a66507896a8

joeymavity avatar Apr 24 '24 15:04 joeymavity

Thanks, I was able to re-produce it twice. Unfortunately, not really sure how to re-produce the issue reliably that is required to check if my code change will fix it. Still trying.

fifonik avatar Apr 25 '24 00:04 fifonik

I've made some changes and hope it fixed the issue. Can send you executable for testing if you like.

fifonik avatar Apr 25 '24 01:04 fifonik

Happy to test - what's the best way?

joeymavity avatar Apr 25 '24 19:04 joeymavity

Here you are. Please let me know when you download it. Thanks. {link deleted}

fifonik avatar Apr 25 '24 21:04 fifonik

Downloaded, sorry for the delay

joeymavity avatar Apr 26 '24 23:04 joeymavity

I can't promise it's fixed - it wasn't as perfectly reproducible as initially thought - but none of my attempts have broken it so far. I included some weird dumb stuff, including multi-select, weird ordering/deleting, etc. And all seemed to be fine. I'll keep working with this version and let you know if something comes up, otherwise this seems fixed. I won't close this in case you want to tie it to code changes or something, but you obviously can feel free to.

joeymavity avatar Apr 26 '24 23:04 joeymavity

Thanks for testing. Lets keep it open for a while.

fifonik avatar Apr 26 '24 23:04 fifonik

The change implemented in 1.5.0 beta 1 (just released).

fifonik avatar May 05 '24 00:05 fifonik