Bug 443552 - View file properties in image/video browser
Summary: View file properties in image/video browser
Status: RESOLVED FIXED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: Viewer (other bugs)
Version First Reported In: GIT master
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-10 14:48 UTC by Andreas Schleth
Modified: 2022-09-05 21:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.9.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schleth 2021-10-10 14:48:53 UTC
SUMMARY

I would like to see the file properties (size, date (as in file system), owner, permissions, ...) while browsing in thumbnail mode or via a link in the info bar in the viewer.

File stats as in the Perl docs (should be similar in C/C++):

 0 dev      device number of filesystem
 1 ino      inode number
 2 mode     file mode  (type and permissions)
 3 nlink    number of (hard) links to the file
 4 uid      numeric user ID of file's owner
 5 gid      numeric group ID of file's owner
 6 rdev     the device identifier (special files only)
 7 size     total size of file, in bytes
 8 atime    last access time in seconds since the epoch
 9 mtime    last modify time in seconds since the epoch
10 ctime    inode change time in seconds since the epoch (*)
11 blksize  preferred I/O size in bytes for interacting with the
            file (may vary from file to file)
12 blocks   actual number of system-specific blocks allocated
            on disk (often, but not always, 512 bytes each)

The additional option for the info block could look similar to "ls -lh":
Stats: hugo:users rw-r--r-- 20.01.2008 12.3M
or
File-Info: ...
This would show the fields 4:5, 2, 9 and 7 in human readable form.

I added this to the Viewer Component as the implementation there seems to be more straight forward than in Browser or Thumbnail View. The selection dialog for the info to be shown is already there.

This is a "nice to have" item :-)
Comment 1 Tobias Leupold 2021-10-11 12:09:21 UTC
I just had a quick look at this. What about adding file metadata to the EXIF metadata viewer? Like one tab showing the EXIF data and one with the file's metadata? After all, it's all metadata? What do you think?
Comment 2 Andreas Schleth 2021-10-11 18:45:15 UTC
Adding this to the Meta-Data / Exif-Viewer seems to make sense for me.

As the Exif-Viewer/Browser (as seen from the main window) allows for the selection of images this would catch 2 birds with 1 stone.

In the Exif-Viewer (as seen from "show exif info" in Thumbnails view), the file meta data could be just another section (maybe on top? as it is a short one).
Comment 3 Johannes Zarl-Zierl 2022-09-05 21:10:35 UTC
This was implemented
Comment 4 Johannes Zarl-Zierl 2022-09-05 21:11:24 UTC
Sorry for the cut off comment.
This feature has been implemented in 5.9.0.