qimgv icon indicating copy to clipboard operation
qimgv copied to clipboard

Add Date in Titlebar

Open voidray opened this issue 7 months ago • 0 comments

It would be nice if the date would also be in the title bar (and maybe in the status bar). The logic in another image viewer I used (Hourglass) seems to be: Use EXIF date (when the picture was taken) if available, otherwise use modified date of the file. I know I can use the ImageInfo overlay, but I covers to much of the image for that use case (when only interested in the date).

I tried to add it in mainWindow.cpp/onInfoUpdated myself and it worked, but C++ is not my main language. Also there are some design decisions that would have to clarified first:

  • date/time formatting (EXIF stores it as yyyy:mm:dd ...)
  • Show in status bar also?
  • Position of the value: at the end, after file size?
  • A separate config value for this? (I my view it isn't necessary. I would just add it to the existing string).
  • Show Info if date is file modified date or EXIF date? (In ImageGlass (m) and (o) and are displayed after the date: m=modified date, o=date from EXIF data

How it could look like:

Image

voidray avatar May 16 '25 10:05 voidray