Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No multi-selection in file manager possible #543

Open
derrapf opened this issue Nov 9, 2022 · 10 comments
Open

No multi-selection in file manager possible #543

derrapf opened this issue Nov 9, 2022 · 10 comments
Labels
enhancement recheck-with-vis2 Issue from vis1 shall be rechecked with vis2

Comments

@derrapf
Copy link

derrapf commented Nov 9, 2022

Once you want to delete or download multiple files from the VIS file manager, that is not possible currently.
You have to do that for every single file. Very annoying.

There could be an easy way to work around that by using WinSCP to upload or download files, but that also does not work out, because files uploaded with WinSCP do not show up properly in the VIS filecmanager (why, by the way?)

Solution:

  • either implement multiselection
  • or let files be uploaded properly by other FTP tools

BR
Ralf

@Apollon77
Copy link
Collaborator

I would see this more a topic for the "Files" tab in Admin rather then the vis FIle browser honestly ...

There could be an easy way to work around that by using WinSCP to upload or download files, but that also does not work out, because files uploaded with WinSCP do not show up properly in the VIS filecmanager (why, by the way?)

You mean that you manually manipulate the content of iobroker-data/files ? This is NOT the way to go because all content under this directly is from the iobroker own storage area and manipulations there are NOT supported. If you do that some meta informations are outdated that are used for performance reasons.

If you had done such manipulations in the past then you can use "iob file sync" CLI command to bring this back into sync, but please try to avoid manual changes there

@derrapf
Copy link
Author

derrapf commented Nov 11, 2022

Hi
I get an error

pi@iobroker-proxmox:/opt/iobroker$ iob file sync
File Sync is only available when database type "file" is used.

But even if I delete (e.g.) the /vis.0/user/mfd/ directory, create it anew with the VIS-Filemanager and then download the files via VIS, they are not shown:

image

some meta informations

About what meta informations are we talking? I mean: That are just files, aren't they?
They actually could be anywhere to be used in VIS. What else "meta information" does VIS need to be able to load a file??

So: If I cannot use an FTP Tool: How do I manage mass - data manipulation in that filemanager?
And: When I uploaded those MFD files, it uploaded all of them except one sinlge image which was left in the upload area.
Don't know what happend here, but I could not get it to be upladed. I only saw the hourglass.

This is reproducable with always that single file staying in the window.
image

Strange...
BR Ralf

@derrapf
Copy link
Author

derrapf commented Nov 11, 2022

Ah! Ich Dulli
Weisse Bilder auf weissem Grund.
Da könnte man was optimieren bzgl. der Darstellung. Aber es ist nun klar warum man nix sieht.
Bleibt das komische Verhalten mit dem letzten Bild das sich partout nicht uploaden wollte. Nach dem vierten Anlauf hat es dann geklappt...

@Feuer-sturm Feuer-sturm added the recheck-with-vis2 Issue from vis1 shall be rechecked with vis2 label Nov 19, 2022
@Feuer-sturm
Copy link
Collaborator

@derrapf Ist jetzt dein Hauptthema hier, dass weiße Bilder im Upload Dialog nicht wirklich sichtbar sind?

@derrapf
Copy link
Author

derrapf commented Nov 20, 2022

Hauptthema war, dass der Dateimanager keine Multiselection unterstützt, was das Löschen von Bildern ziemlich mühselig macht.
Man könnte aber zwischenzeitlich das Thema als "Optimierung des Dateimanagers" sehen, denn es hat sich während meiner Lösch- und wieder Hochlad- Aktionen gezeigt, dass er weitere Unzulänglichkeiten hat. Die da wären:

  • delete Taste zum Löschen kann nicht verwendet werden
  • Wenn nach dem Seketieren einer Datei und Löschen Derselben, wenigstens automatisch die Nächste selektiert wäre, dann könnte man immer wieder auf den Lösch-Button drücken. Aber nicht mal das geht. Man ist also ständig am selektieren und Lösch-Button drücken. Unkomfortabler geht's nun echt nicht mehr.
  • Dateien bleiben beim Upload "hängen" und werden nicht hochgeladen; oder nur nach mehreren Versuchen
  • fehlende Optimierung zum Anzeigen von Bildern die aus der Hintergrundfarbe bestehen.
  • Ich hatte auch mal den Effekt, dass Bilder nicht angezeigt wurden, wenn der Pfad kein endendes "/" enthielt.
  • Nächstes Problem: Wenn der Dateimanager korrupte Files zeigt (keine Ahnung warum) dann lassen diese sich nicht über den Dateimanager löschen:
    image
    Ich habe schon zig mal eine Datei selektiert und auf dem Löschknopf gedrückt. Nichts passiert.

Da ist noch viel Luft nach oben....
Gruss Ralf

@Apollon77
Copy link
Collaborator

Ok, zum "editieren" des Assets bitte Admin Files Tab nutzen. Das ist die Zukunft.

@derrapf
Copy link
Author

derrapf commented Nov 20, 2022

“editieren, Asset“?
Bitte in Deutsch.
Also in Zukunft werden Files nicht mehr in VIS hochgeladen sondern irgendwo anders?

@Apollon77
Copy link
Collaborator

Naja Admin hat seit Version 5 einen "File" tab, der ebenso einen File editor bereitstellt. es geht hochladen, runterladen, löschen - all diese Administartiven funktionen halt. Ich denke das in vis 2, welches sehr bald im Alpha test kommt, der "Fileeditor" in Vis wegfällt oder maximal zur Auswahl dient. Mal schauen was Bluefox sich ausgedacht hat

@derrapf
Copy link
Author

derrapf commented Nov 21, 2022

Den habe ich eben ausprobiert.
Der hat das gleiche Probem: Multiselection.
Multiselection geht im gesamten IOBroker Admin nirgends, was ich echt schlecht finde.
Ich kann auch hier nicht mehrere Files löschen; ich kann auch z.B. in den Objekten oder im IOT Adapter nicht mehrere Geräte entfernen usw.

Ich glaub Multiselection ist ein generelles Problem.
Ach, ja und die "delete" Taste funktioniert auch nicht.

Ich glaube der Dateimanager im Admin und VIS sind um Grunde gleich und haben die gleichen Probleme.
Ist also kein Workaround.

Gruss Ralf

@Apollon77
Copy link
Collaborator

Dann mach doch einen Feature Request bei Admin :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement recheck-with-vis2 Issue from vis1 shall be rechecked with vis2
Projects
None yet
Development

No branches or pull requests

3 participants