bgrabitmap / lazpaint

🎨 Cross-platform image editor with raster and vector layers similar to Paint.Net written in Lazarus (Free Pascal)
https://lazpaint.github.io/
GNU General Public License v3.0
401 stars 55 forks source link

Dialog Box "Open/Save/Export" doesn't update automatically #460

Open gwiden opened 2 years ago

gwiden commented 2 years ago

Severity: Minor

Environment: Windows 10 Build 19044.1348 Version 21H2, LazPaint 7.1.6 (64-bit)

Description: the list of dir and files in the dialog box is updated only upon some action in the box.

Steps to reproduce:

  1. Open LazPaint
  2. File -> Open
  3. Open the desktop dir in the dialog box
  4. On the desktop, rename some object (out of the dialog box)

Expected result The object's name changed (in the dialog box)

Actual result The object's name wasn't change (in the dialog box)

https://user-images.githubusercontent.com/49672520/146641492-73071d65-b606-4c19-976e-f55d575e67a4.mp4

circular17 commented 2 years ago

this could be done with DirectoryWatcher: https://forum.lazarus.freepascal.org/index.php/topic,37415.0.html