MalloyDelacroix / DownloaderForReddit

The Downloader for Reddit is a GUI application with some advanced features to extract and download submitted content from reddit.
GNU General Public License v3.0
498 stars 47 forks source link

Username duplicates create an empty string value that crash the software #178

Closed T-prog3 closed 3 years ago

T-prog3 commented 3 years ago

Describe the bug Adding usernames from an imported list that contains duplicate values creates an empty string row that crash the software if you rightclick on it.

The software also seems to have issues with validating usernames. It allows spaces at the end of a name so i can have both "Bob" and "Bob ". And i did notice that i had one list where all usernames got a space after the name because of copy pasting so nothing did download.

Environment Information

To Reproduce (optional) Steps to reproduce the behavior:

  1. Go to Add User
  2. Click on Multi-add
  3. Click on Import and locate a textfile with some usernames and open
  4. Press Ok so you add all the imported names to the list.
  5. Do the same process again from Step 1. and use the same textfile as before.
  6. Now you will have lots of empty string users in your list that will crash the software if you rightclick on them.