Gajim - 2024-06-08


  1. Codimp

    wow just found a thing that may be an issue in Gajim : if I send a link of a very big file to someone, Gajim try to preview and will load it infinitely, using lot of memory I just try and in 40 minutes Gajim takes more than 11 GB of RAM!

  2. Codimp

    Maybe a security check to avoid load very big file or very long loading file is needed?

  3. bodqhrohro

    > Codimp: > wow just found a thing that may be an issue in Gajim : if I send a link of a very big file to someone, Gajim try to preview and will load it infinitely, using lot of memory > I just try and in 40 minutes Gajim takes more than 11 GB of RAM! TelegramDesktop has (had?) a similar issue with "GIFs", hehe (yet not that extreme, but enough for my old overloaded laptop).

  4. Codimp

    yep, but I will fill an issue so it's known

  5. bodqhrohro

    Is that expected that long words like sljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkj induce horizontal scrolling in chat view?

  6. aereaux

    > Is that expected that long words like sljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkj induce horizontal scrolling in chat view? Or that they wrap? I've noticed this too

  7. danielstein

    Mamming

  8. danielstein

    Oida karmeliten

  9. cal0pteryx

    aereaux, bodqhrohro: it's a gtk issue https://dev.gajim.org/gajim/gajim/-/issues/11854#note_214881

  10. cal0pteryx

    aereaux, bodqhrohro: it's a gtk issue https://dev.gajim.org/gajim/gajim/-/issues/11854

  11. rom1dep

    Gtk never ceases to amaze..

  12. fjklp

    does it necessarily make more sense to fix the pango crash thing with wrap on word boundary instead of just keeping a list of known dangerous strings and never rendering them?

  13. fjklp

    I don't know how many strings like that there are

  14. Link Mauve

    cal0pteryx, hmm, I can’t reproduce with GTK 3.24.42 and Pango 1.52.2, when I press kill it just displays the string.

  15. Link Mauve

    Even if I resize the window to induce wrapping, it continues to work.

  16. meson

    Codimp: do you have a sample file, more details about file size, server, Gajim Version ...?

  17. meson

    ^ should have looked into the issue tracker first: https://dev.gajim.org/gajim/gajim/-/issues/11855

  18. Ichtyx

    meson: https://lists.freedesktop.org/archives/wayland-devel/2024-May/043636.html should fix the lost connection with wayland buffer

  19. Ichtyx

    I will test asap

  20. meson

    Ichtyx: isn't that something compositors need to make use of first and I'm not sure if it doesn't also need client side adaptions still

  21. debacle

    When starting gajim: ``` 2024-06-08T12:50:16 (W) gajim.p.manager Error while loading module: cannot import name 'EncryptionData' from 'gajim.common.const' (/usr/lib/python3/dist-packages/gajim/common/const.py) 2024-06-08T12:50:16 (W) gajim.p.manager Error while loading module: cannot import name 'GcMessageReceived' from 'gajim.common.events' (/usr/lib/python3/dist-packages/gajim/common/events.py) ``` Relevant?

  22. fjklp

    > When starting gajim: > ``` > 2024-06-08T12:50:16 (W) gajim.p.manager Error while loading module: cannot import name 'EncryptionData' from 'gajim.common.const' (/usr/lib/python3/dist-packages/gajim/common/const.py) > 2024-06-08T12:50:16 (W) gajim.p.manager Error while loading module: cannot import name 'GcMessageReceived' from 'gajim.common.events' (/usr/lib/python3/dist-packages/gajim/common/events.py) > ``` > Relevant? as a long line was posted earlier, I can't read the whole line of the code snippet section because it goes offscreen

  23. fjklp

    > When starting gajim: > ``` > 2024-06-08T12:50:16 (W) gajim.p.manager Error while loading module: cannot import name 'EncryptionData' from 'gajim.common.const' (/usr/lib/python3/dist-packages/gajim/common/const.py) > 2024-06-08T12:50:16 (W) gajim.p.manager Error while loading module: cannot import name 'GcMessageReceived' from 'gajim.common.events' (/usr/lib/python3/dist-packages/gajim/common/events.py) > ``` > Relevant? due to long line was posted earlier, I can't read the whole line of the code snippet section because it goes offscreen

  24. lovetox

    you can delete the message

  25. lovetox

    or simply scroll

  26. lovetox

    debacle, you need to update the plugins yeah

  27. debacle

    lovetox I guess it is about the old pgp (XEP-0027) plugin?

  28. fjklp

    I deleted the line now but I think there was no scrollbar

  29. lovetox

    ah i think id did not yet adapt this one

  30. lovetox

    fjklp, scrolling is always possible, also with no scrollbar

  31. lovetox

    though, its probably not easy if you are not on a touchpad

  32. fjklp

    I don't know how :)

  33. meson

    Mouse wheel left/right works

  34. fjklp

    there is probably some key shortcuts

  35. fjklp

    ok, looks like holding shift makes the scroll wheel scroll horizontally, at least when there is a horizontal scrollbar present

  36. fjklp

    this bug is going to force me to learn how to use computers, lol

  37. fjklp

    ah, it also works for unwrapped lines when there is no scrollbar

  38. debacle

    TIL: horizontal scrolling works on my touch pad with two fingers

  39. fjklp

    > you can delete the message thanks for reminding me, I actually didn't think of it

  40. debacle

    Strange: The triggers plugin is not visible under Plugins. master is installed. I don't see an import error or similar. Any idea?

  41. debacle

    cal0pteryx You did the latest changes on the trigger plugin, right? Does it work for you?

  42. cal0pteryx

    It did at the point where I fixed it

  43. cal0pteryx

    The fix should be the one fixing your traceback ;)

  44. debacle

    Now it's gone. Strange. I wonder, if there is something wrong in my setup.

  45. debacle

    cal0pteryx I wonder, why I don't even see a failed import or something. The plugin is just gone from Gajim, but it is installed on my system. I also checked, if I have something in my $HOME, but it doesn't look like it.

  46. cal0pteryx

    Hm, I added some debug info recently: https://dev.gajim.org/gajim/gajim/-/commit/7a7075c7da52bef586f2b5df0d902825f329bca8

  47. cal0pteryx

    Link Mauve: I actually haven't tried myself, just referring to this issue :) but it looks like it's reproducible, from the example linked from the issue

  48. cal0pteryx

    This one https://gitlab.gnome.org/GNOME/pango/-/issues/798

  49. debacle

    cal0pteryx With the sufficient loglevel, I found the cause: `Skipped plugin with not suitable requirements: triggers [<Requirement('gajim>=1.9.0')>]`

  50. debacle

    Easy ;-)