Open jmaferreira opened 7 years ago
Melhoro o watcher (se a pasta se mativer do lado esquerdo, ou seja, se apenas passares filhos da pasta para o centro, ao adicionar um ficheiro na pasta depois de iniciado o Roda-In este aparece na interface...), ou ao remover a pasta atualizo o seu conteúdo ?
Melhorei o watcher @ 8c2f691ddfcb71852ec0160015ab181ca0630a4d (se uma pasta estiver mapeada e for adicionada um item novo, pasta ou ficheiro, dentro desta pasta, os ficheiros novos aparecem do lado esquerdo...).
Problema: E se fizer o contrário... Ou seja, se remover manualmente uma pasta mapeada... Preciso de atualizar o painel central, certo?
@luis100 has warned me that using the watcher is not a good strategy as it tends to leave open files (too many open files issue). A better option is to add a refresh button (or right-click popup).
I'll remove the already existing WatchService (associated to the File Explorer) and add a button in the bottom of the explorer panel (where there's already the "ignore" and "associate" buttons).
There is a duality between the way the application defines the association rules, and the way the SIP stores its state (explicitly file by file, and not based on rules) that make this a specially hard task to fix.
This wont be done right now.
[rodain-app-2.0.0-beta.1]
By Omar