jim-easterbrook / Photini

An easy to use digital photograph metadata (Exif, IPTC, XMP) editing application.
https://photini.readthedocs.io/
GNU General Public License v3.0
156 stars 24 forks source link

Better DateTimeEdit handling #58

Closed LordCatzorz closed 3 years ago

LordCatzorz commented 3 years ago

Hi,

When I try to use the datetime editors (Technical Metadata), I find myself trying to use some pattern that the edit does not allow.


Can not edit with two date component selected

With an edit with day precision and a date, select the months and the day. Typing a new month/day (ex: 0601) does not change anything in the edit. The texts stays selected. I would like to be able to have a date, ex: 1994-01-01 select both months and day, type 0 6 0 1 on my keyboard and have the final date set to 1994-06-01 image

Can not replace date without selecting the whole year

With an edit with day precision and a date, place your cursor at the beginning. Typing a new date (ex:1994-06-01) does not change anything in the edit. The cursor stays at its position. I would like to be able to enter a new date without having to select the whole year. Only then will I be able to enter a new date manually.


I've been looking the add those behaviours, but I have never really worked with QT, so I'm not even sure it's possible.

Thank you.

jim-easterbrook commented 3 years ago

I'm not sure it's possible either. (And I'm reluctant to make too many modifications to Qt widget behaviour, even if I knew how.) However, if you just select the month, then type 0601, I think it does what you want.

LordCatzorz commented 3 years ago

Alrighty!

I'll train my brain to adapt to this behaviour :wink:

Thanks anyway!