toshiaki1729 / dataset-tag-editor-standalone

WebUI to edit dataset captions for txt2img models
MIT License
129 stars 13 forks source link

Remove selection[Delete] at Fileter by Selection tab does not work for next image / 連続してFileter by SelectionのRemove selection[Delete]を使えない #48

Open KwaiBird opened 2 months ago

KwaiBird commented 2 months ago

Describe the bug

Remove selection[Delete] in Fileter by Selection does not work continuously.It works for first time but does not after the time. The app loads the next image, and I press Remove selection[Delete]. However, the image is not removed from the section, and the same image is shown. If I select the another image and back to the desired one, it works. This issue happens both on the standalone one and on the SD WebUI one.

連続してFileter by SelectionのRemove selection[Delete]を使えません。右のサムネイルから画像を選んで、Remove selection[Delete]を押すと最初の画像はセレクションから削除されますが、読み込まれた次の画像でRemove selection[Delete]をおしても同じ画像が読み込まれるだけで削除されません。 一旦別の画像を選択してから、削除したい画像を選択した場合は正常に削除されます。 これはスタンドアロン版とSD WebUI版両方で起きています。

To Reproduce Steps to reproduce the behavior:

  1. Load Dataset directory
  2. Select Fileter by Selection tab
  3. select one of the thumbnails
  4. press Remove selection[Delete]
  5. press Remove selection[Delete] again

Expected behavior Remove the next image from the section

Environment (please complete the following information): OS: Windows 10 Home 64bit 22H2 GPU: nVidia GeForce RTX 4070 Ti Browser: Firefox 127.0 Version of this app: v0.2.3(b58fdf09) SD webUI version: v1.9.4

toshiaki1729 commented 2 months ago

ご報告ありがとうございます。こちらでも確認致しました。 webUIの方は私の実装の問題なので、確認してみます。 スタンドアロン版の方はgradioの仕様のせいです……対応できないか模索してみます。