Skip to content

fix #805 edit jpg can not refresh#806

Open
takeseem wants to merge 1 commit intoshutter-project:masterfrom
takeseem:fix-805
Open

fix #805 edit jpg can not refresh#806
takeseem wants to merge 1 commit intoshutter-project:masterfrom
takeseem:fix-805

Conversation

@takeseem
Copy link

No description provided.

@Photon89
Copy link
Member

Thanks for the PR! I tested it and can confirm that it fixes the issue.

@Photon89 Photon89 requested a review from DarthGandalf March 13, 2026 19:59
@Photon89 Photon89 linked an issue Mar 13, 2026 that may be closed by this pull request

my $v = $session_screens{$key};
if ($v && -e $v->{'giofile'}->get_path) {
print "deleted - $key exists ignored\n" if $sc->get_debug;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand what this sentence means

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me neither, it does some magic! 😃

Copy link
Author

@takeseem takeseem Mar 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because save do $exiftool->WriteInfo($filename); in os is mv

  1. create a tmp file
  2. mv tmp $filename
    os will notify event: deleted, in fact the $filename is not deleted, it still exist in os, just innode changed.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After asking the AI, I think this makes sense. The return line seems to prevent that the file is considered as deleted and thus not updated any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

edit and save, image view can't refresh

3 participants