Kleopatra: Remove path in file verification feedback, if the sig file is in the same path
Testing, NormalPublic

Assigned To
Authored By
timegrid
Tue, Jul 7, 2:54 PM

Description

If both file and its signature are in the same path, the verification feedback for both should display only the filename (without path).
If the path of the file and its signature differs, the full path should be displayed for both.

Given two files in the same path:

  • test.txt
  • test.txt.sig

On verification of test.txt, the path is already removed (ok):

On verification of test.txt.sig, the path is still displayed (should be fixed):

Split from T7795: Kleopatra: shorter text for verification with same name .sig file.

Details

Version
gpg4win-5.1.0-beta646 @ win11, vsd-3.4.0-beta1294 @ win10

Event Timeline

timegrid triaged this task as Normal priority.Tue, Jul 7, 2:54 PM
timegrid created this task.
timegrid created this object with edit policy "Contributor (Project)".
ikloecker moved this task from Backlog to WIP on the gpd5x board.

The "missing path" on verification of test.txt is caused by a bug in the code: T8337: Kleopatra: Verifying detached OpenPGP signatures uses different code paths.

It is more a regression (compared to older behavior that's still used for detached S/MIME signatures) that the full paths were shown. Therefore, I'll backport this for VSD 3.4 (as originally planned).

ikloecker changed the task status from Open to Testing.Thu, Jul 9, 2:15 PM
ikloecker moved this task from Backlog to WIP on the vsd34 board.

Fixed and backported for VSD 3.4.