Bug 328920

Summary: Dialog "File" -> "Verify checksum" does not work as expected
Product: [Applications] krusader Reporter: Cade <ahx2323>
Component: generalAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: alex.bikadorov, krusader-bugs-null
Priority: NOR    
Version First Reported In: 2.4.0-beta3 "Single Step"   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Cade 2013-12-17 21:03:07 UTC
Dialog "File" -> "Verify checksum" does not work as expected

Reproducible: Always

Steps to Reproduce:
1. Open Krusader.
2. Use <Up> and <Down> keys to place cursor on "x.md5" file.
3. Menu "File" -> "Verify checksum".
Actual Results:  
Dialog "Verify checksum" opened.
List "About to verify checksum for the following files:"
contain only one file: "x.md5".
Text in text area  "Checksum file:" is empty.

Expected Results:  
List "About to verify checksum for the following files:"
must contain names listed in "x.md5" file.
All newline formats ("\n\r", "\r" or "\r\n") must be acceptable
(recognize newline format automatically;
do not show "some.file\r: FAILED open or read", where \r shown as space).
User should be able to remove some names from list
(with context menu, keyboard key "Delete").
Text area "Checksum file:" must contain text "x.md5".
Pressing keyboard "Enter" should be equivalent to pressing button "OK"
Comment 1 Alex Bikadorov 2017-02-18 16:21:18 UTC
>List "About to verify checksum for the following files:"
>must contain names listed in "x.md5" file.

This is another use case: you are supposed to selected the files you want to check, not the checksum file itself. If you really need that please create another bug report (as "wish").

>All newline formats ("\n\r", "\r" or "\r\n") must be acceptable
>(recognize newline format automatically;
The checksum file is directly passed to the checksum tool. If the tool cannot parse the file it this has nothing to do with Krusader.

>User should be able to remove some names from list
>(with context menu, keyboard key "Delete").
>Text area "Checksum file:" must contain text "x.md5".
See above, you are supposed to select the files you want to check.

>Pressing keyboard "Enter" should be equivalent to pressing button "OK"
"ALT+O" or (TAB, TAB, Enter)