https://bugs.kde.org/show_bug.cgi?id=498745

            Bug ID: 498745
           Summary: In file properties dialog, print start and end of
                    hashsum instead of cutting it, if window is not wide
                    enough
    Classification: Frameworks and Libraries
           Product: frameworks-kio
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Properties dialog
          Assignee: kio-bugs-n...@kde.org
          Reporter: ash...@linuxcomp.ru
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

In the file properties dialog in the Checksums tab, if the width of window is
thinner than the length of
sha256sum digest length (64 symbols), then it is shown unintuitively. It just
cuts the end of the line.

Let's say the sha256sum of some file is
  7a6a86097f479b6b8e4eaa163ecc2871264c9c9c4e78b458a0e1ee5c79a5e40c

In usual situation, when the window is wide enough, it is displayed as
expected:

  
┌──────────────────────────────────────────────────────────────────────────────────┐
   │ md5                                                                       
      │
   │ sha1                                                                      
      │
   │ sha256    7a6a86097f479b6b8e4eaa163ecc2871264c9c9c4e78b458a0e1ee5c79a5e40c
      │
   │ sha512                                                                    
      │
   │                                                                           
      │
  
└──────────────────────────────────────────────────────────────────────────────────┘

Now, if the window length is thinner, it may be displayed for example like
this:

   ┌─────────────────────────────────────────────────────────┐
   │ md5                                                     │
   │ sha1                                                    │
   │ sha256    7a6a86097f479b6b8e4eaa163ecc2871264c9c9c4e78b4│
   │ sha512                                                  │
   │                                                         │
   └─────────────────────────────────────────────────────────┘

This confuses the user, because they want to compare the beginning and the end
of line. I.e. the user knows what hashsum
is expected (from the file download page), and remembers the start (7a6a) and
end (e40c). But when they do check, they
see "7a6a" at the beginning _but_ something unexpected from the middle "78b4"
instead of end.

What I propose instead is that the line is squashed (with three dots) in the
middle, and user could see the actual ending of
the hashsum. Like this:

   ┌─────────────────────────────────────────────────────────┐
   │ md5                                                     │
   │ sha1                                                    │
   │ sha256    7a6a86097f479b6b8e4e...e78b458a0e1ee5c79a5e40c|
   │ sha512                                                  │
   │                                                         │
   └─────────────────────────────────────────────────────────┘

SOFTWARE VERSIONS:
Operating System: ArcoLinux 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to