Gajim - 2024-11-11


  1. waffles

    hey i cant view my friends messages on gajim but i can on conversations

  2. waffles

    i also cant view my own messages ive sent him from conversations

  3. waffles

    were using omemo

  4. lovetox

    check if you trusted the fingerprint of your Gajim device

  5. fiord

    Hello

  6. fiord

    Why can't I join this room from my 404.city account? When I try to join, I get the error "Stream closed by peer unsupported stanza type". I am using the Gajim 1.7.3 client on Debian Bookworm.

  7. lovetox

    you need to ask that the 404.city admins

  8. lovetox

    as you are the first and only user reporting this and we have here 400 people joined, i would assume its a problem on 404 side

  9. Fil

    Hello, is there any secure & simple way to convert a 1.1.2 history to 1.7.3 (= other than install a specific gajim version ) ? Thanks

  10. lovetox

    puh, i mean simply try to install the new version, and backup your database before

  11. lovetox

    but thats a very old version

  12. lovetox

    meson, about the media browser, what exactly do you have in mind there? Whats the problem we are solving?

  13. lovetox

    Because when we store files in a separate folder per user, and have a single click to open that folder in the users system file explorer, thats a pretty pretty good media browser

  14. lovetox

    thats what you are up against. Ask yourself how much code do we add here to get feature parity with a standard system file explorer, and how much code on top we need to make something that can be considered additional value

  15. Fil

    > puh, i mean simply try to install the new version, and backup your database before > > but thats a very old version lovetox: i triés but when i installed 1.7.3 debian version, it crashed with this errror `sqlite3.DatabaseError: database disk image is malformed`

  16. lovetox

    and now you cannot go back to 1.1.2?

  17. lovetox

    can you try installing sqlbrowser

  18. lovetox

    and check if you can open the database with that application?

  19. meson

    > thats what you are up against. Ask yourself how much code do we add here to get feature parity with a standard system file explorer, and how much code on top we need to make something that can be considered additional value Alright, I give it up.

  20. lovetox

    It was not my intention that you give it up, i just want to challenge if it has enough value.

  21. lovetox

    I didnt see any discussion or idea about that other than the word Media Browser, where everyone understands probably something different

  22. lovetox

    What i see as a problem we need to solve is, I want to see all files i received from a particular contact. Because i remember i received something, and i need to find it

  23. lovetox

    One benefit from having such a list in the client, rather than opening a folder in the file explorer, could be that i see metadata that was sent with the file, like a description (which you can add in the newer FT XEPs), and also that i could jump to the point in the conversation where i received that file

  24. lovetox

    also there could be some easy forwarding mechanism

  25. cal0pteryx

    plus default sorting by date or whatever the preference is vs. what any file explorer does with a newly opened folder and categorizing of received files -> documents, images, videos, links

  26. cal0pteryx

    having this concentrated in a media browser, tied to a contact, seems much better than just opening a folder where everything is stuffed into

  27. meson

    Sorry I maybe have prematurely closed the MR without a proper response, I just got annoyed by many things currently not being related with any of the discussion here. I go with cal0pteryx argumentation. I'll re-open, we can discuss the topic another time again or I will simply wait for your feedback, when you have deicded in what direction you wanna go - I'm around.

  28. meson

    Sorry I maybe have prematurely closed the MR without a proper response, I just got annoyed by many things currently not being related with any of the discussion here. I go with cal0pteryx argumentation. I'll re-open, we can discuss the topic another time again or I will simply wait for your feedback, when you have decided in what direction you wanna go - I'm around.

  29. cal0pteryx

    thanks meson!

  30. meson

    btw, I've just tested the `analyse_gif_image` gif method with a webp from giphy: extraction of frames (jpeg/jfiff) work, getting the duration does not.

  31. meson

    btw, I've just tested the `analyse_gif_image` method with a webp from giphy: extraction of frames (jpeg/jfiff) work, getting the duration does not.

  32. meson

    btw, I've just tested the `analyse_gif_image` method with a webp from giphy: extraction of frames (jpeg/jfiff) work, getting the duration does not (it's zero)

  33. meson

    ^ here's the source for playing around: https://paste.opensuse.org/pastes/8a62947323fc

  34. lovetox

    but they stuff like this in the changelog

  35. lovetox

    Round duration when saving animated WebP images

  36. lovetox

    so they support animated webp images

  37. lovetox

    maybe we should just make a bug report

  38. lovetox

    hmm wait do we need the duration even? wht does the duration tell us? how fast we need to play the images?

  39. meson

    The duration tells us the fps in the end I'd say

  40. lovetox

    > The display duration of each frame, in milliseconds.

  41. meson

    Frame time then

  42. meson

    I've opened 3 webp giphy files in gimp: it tells me that the duration lies around 60-66 ms

  43. meson

    For these 3 at least

  44. meson

    Roughly 15-16 fps

  45. meson

    Maybe we can just go with that and hope it fits for most or all.

  46. meson

    Or maybe not, there also ones with 40 ms. We should find a way to get the duration in order not to play too fast or slow

  47. lovetox

    yes, its weird pillow knows that its animated, that there are multiple frames

  48. lovetox

    but the duration is not set

  49. meson

    Nvm my bad, you have to query the durarion for each single frame:

  50. meson

    https://paste.opensuse.org/pastes/ad30913ca54d

  51. meson

    That works ^

  52. lovetox

    damn

  53. lovetox

    i just found that too :D

  54. meson

    😆

  55. lovetox

    because seems each frame can have its own

  56. meson

    Exactly

  57. meson

    For the frame size you got to add +1 to each dimensiom

  58. meson

    For the frame size you got to add +1 to each dimension

  59. meson

    Ah wait, no

  60. cal0pteryx

    frames with different duration.. I remember that from stop motion experiments with GIFs way back

  61. lovetox

    meson about the media browser, lets think about what media there are and what we want to even consider. And also what GUI i would expect for which type of media. in my mind it would have to be some kind of dialog that lets you switch between different media types and has a different GUI depending on the media type. For example for pictures this could be the common image gallery style. But for PDFs i would expect a simple list kind of style, also at some point we probably want to get a list of URLs exchanged in the chat. So maybe something with a side bar where you can switch between the media types. Then i wonder if we want this to be a dialog, or integrated into the main window. I would probably lean on separate dialog.

  62. lovetox

    and then this dialog needs some elaborate lazy loading, because we cannot read 500 images from the harddisk, just at opening the dialog

  63. cal0pteryx

    meson, do you have a mockup of what you had in mind for a media browser?

  64. meson

    cal0pteryx: Only in my mind so far. lovetox i'm already half sleeping, I will come back to it tomorrow.

  65. Fil

    > can you try installing sqlbrowser > > and check if you can open the database with that application? lovetox: thx for your answer, I installed sqlitebrowser and i can open the db

  66. Fil

    Since it's late I would understand if you prefere to continue tomorrow (i am a bit myself sleepy)

  67. lovetox

    yeah ping me tomorrow

  68. Fil

    OK, thx