samuel-lucas6 / Kryptor

A simple, modern, and secure encryption and signing tool that aims to be a better version of age and Minisign.
https://www.kryptor.co.uk
GNU General Public License v3.0
414 stars 33 forks source link

🐛 Bug: Test Parameters button crashes Kryptor on Mono #2

Closed samuel-lucas6 closed 3 years ago

samuel-lucas6 commented 3 years ago

Describe the bug Sometimes pressing the 'Test Parameters' button in settings crashes Kryptor on Mono.

To Reproduce Steps to reproduce the behavior:

  1. Go to File => Settings.
  2. Click on 'Test Parameters'.
  3. The message box is black and the program crashes.

Expected behaviour A message box should display normally like on Windows. The program should not be crashing.

Desktop (please complete the following information):

samuel-lucas6 commented 3 years ago

I can't identify why this causes a crash. It's doing the same thing as the benchmark but once rather than looping, and yet there are no benchmark issues on Mono. This button is going to be disabled on Mono in the next version until a solution is found.

samuel-lucas6 commented 3 years ago

Managed to fix the bug. The 'Test Parameters' button will be enabled on Mono now.