Modern XMPP project discussion - 2022-12-23


  1. Schimon_

    Gallery handling - Sending and receiving multiple images (and even audio/videos) https://github.com/iNPUTmice/Conversations/issues/4420 _What *do you* think?_

  2. miguel

    pack a bunch of files within a single file to send it? What if the the receiver wants to download just one of the files? nope, don't think a zip file would be the answer.

  3. Schimon_

    > pack a bunch of files within a single file to send it? What if the the receiver wants to download just one of the files? Then the messenger will have a ZIP viewer built-in so user will decide which to download.

  4. zak

    A messenger should handle messages and not have other tools on board that just enhance size and complexity. If you want to send multiple files in an archive, just zip those with another app and send this file. Problem solved without additional code overhead.

  5. Schimon_

    zak, of course, this is the main purpose.

  6. Schimon_

    Assuming CBZ gets popular, the ZIP handling (listing of files) will take place afterwards. I'm not for fancy features, I'm looking for a sensible ways to satisfy the desire for a special multiple image layout which some expect to be delivered to XMPP.

  7. zak

    You already can send multiple files without zipping, the only problem that solves would be a smaller filesize and with jpeg already compressed this would be insignificant. Why not invest the time instead in useful features?

  8. Menel

    Have the app just display multible images in a grouped way, the way WhatsApp /signal does, if they are send within a time period... The same conversations does with messages..

  9. Menel

    The pro: no support from other clients needed

  10. Menel

    Otherwise XEP-0367: Message Attaching could be used

  11. Schimon_

    I want to receive a gallery in a CBZ file and open it with an external document viewer, instead of clicking one click per image. So it is with Dino, Gajim and Kaidan.

  12. Schimon_

    zak, please see https://addons.mozilla.org/firefox/addon/zip-manager/ Open local and remote ZIP archives to extract all files or a single one

  13. zak

    Schimon_: So you want every client developer to integrate such a third-party addon? Otherwise some recipients might have more problems than before when receiving such a file.

  14. Schimon_

    No, I don't. The ZIP support will be added in the worst case.

  15. zak

    And if not? How is it handled?

  16. Schimon_

    Just download the file and let your system handle it (so do Dino, Gajim and Kaidan)

  17. zak

    I don't have a viewer for these files on my system. So do many others of my contacts.

  18. Schimon_

    I want each program to do one task and do it well. I don't want fancy addons. I don't. Yet, if people would insist on a special layour for multiple images, then CBZ is a good compromise.

  19. zak

    I can give your argument back: Just zip your files with a tool on your system and send the file.

  20. Schimon_

    zak, it's a ZIP file renamed to CBZ. Evince, Okular and many other programs and mobile app support it.

  21. Schimon_

    > I can give your argument back: Just zip your files with a tool on your system and send the file. Yes, but not all, including myself, want to bother doing so. I better select multiple images and the messenger will ZIP it for me.

  22. zak

    > I want each program to do one task and do it well. > I don't want fancy addons. I don't. Still you request it.

  23. Schimon_

    Indeed

  24. Schimon_

    As a compromise instead of a fancy layout which might be nice BUT: It will make users of Client X to flood chats with images while other clients don't have a way to habdle it.

  25. Schimon_

    Do you see the issue here?

  26. Schimon_

    As I noted above I want each program to do one task and do it well.

  27. Schimon_

    handle*

  28. zak

    A way to handle multiple files in a good UI is a different matter, that could be done. But as I said, I would greatly prefer more useful features. This is in the category 'nice to have but not important' for me.

  29. Schimon_

    Of course, I think that I think like you. As I stated, this is a compromise to avoid flooding chats which might be resulted by a special layout.

  30. Schimon_

    > Otherwise XEP-0367: Message Attaching could be used I'm not sure. Is there a visual realization of this XEP? https://xmpp.org/extensions/xep-0367.html

  31. Schimon_

    Menel

  32. wurstsalat

    Schimon_: maybe you should do it the other way round: develop a plugin for your favorite chat client, which lets you save a gallery of images in zip ;)

  33. Schimon_

    wurstsalat, and zipping multiple selection of images.

  34. Schimon_

    I might, wurstsalat, starting with Gajim

  35. wurstsalat

    First you'd have to implement sending/receiving a gallery of images, I fear :)

  36. Menel

    Schimon_: >> Otherwise XEP-0367: Message Attaching could be used > I'm not sure. Is there a visual realization of this XEP? > https://xmpp.org/extensions/xep-0367.html > > Menel That's up to the client.. I don't know any using it

  37. Schimon_

    > First you'd have to implement sending/receiving a gallery of images, I fear :) How so? All I want is the selected images to be archived into a ZIP file as CBZ and that's it. If a client wants to display a CBZ as a gallery, then it is something else.

  38. wurstsalat

    I'm just saying that there are no image galleries in Gajim yet ;)

  39. Schimon_

    I don't want visual galleries.

  40. Schimon_

    Where did I say that I desire image galleries for Dino, Gajim or Kaidan or any other XMPP messenger?

  41. Schimon_

    The bottom line is: Developer who insist in having image galleries in their clients are better use CBZ and parse it, other clients like Dino, Gajim and Kaidan have their host system to habdle it using a document viewer.

  42. Schimon_

    The bottom line is: Developer who insist in having image galleries in their clients are better use CBZ and parse it, other clients like Dino, Gajim and Kaidan have their host system to handle it using a document viewer.

  43. Schimon_

    The bottom line is: Developer who insist in having image galleries in their clients are better use CBZ and parse it, other clients like Dino, Gajim and Kaidan have their host system to handle CBZ, using a document viewer or an archive manager.

  44. Menel

    I prefer grouping in the client UI and just continue sending single http uploads. That's compatible with clients that don't participate and every client, desktops too, can implement something like that.

  45. Schimon_

    Ok. Actually, I shouldn't really be worried as I petition for practice and implementing something new will not prevent me to apply practice.

  46. contrapunctus

    I like Menel 's idea. It's also consistent with message grouping behaviour.