Gajim - 2025-03-09


  1. jg

    > jg: https://dev.gajim.org/gajim/gajim/tree/master/flatpak#install-plugins thank you also would you know if gajim still works for phone calls for users using jmpchat doesnt look like im able to receive/ make calls like before

  2. jg

    or are people just using sip now

  3. zayd

    Am I the only one that's been having problems with search after the update to 2.0.x? It searches fine for me but when I click the result it just scrolls endlessly and _sometimes_ reaches the correct message. On 2.0.1 from Arch repos.

  4. Nyx [ep.im]

    This is also happening in NixOS on 2.0.1 (https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/instant-messengers/gajim/default.nix)

  5. lovetox

    zayd: yes scroll is currently a bit buggy we need to work on that

  6. nicoco

    I also notice that since GTK4, switching chats often leads to a "short scroll blink", not sure how to describe it better, it's like it scrolls up and down real fast. I've also witnessed that in dino so maybe that's just a GTK4 bug.

  7. Mike Yellow

    ## Versions: - OS: Linux 6.1.0-27-amd64 - GTK Version: 4.16.12 - PyGObject Version: 3.50.0 - GLib Version : 2.82.4 - libsoup Version: 3.6.4 - python-nbxmpp Version: 6.0.0 - Gajim Version: 2.0.1 ## Traceback ``` Traceback (most recent call last): File "/app/lib/python3.12/site-packages/gajim/gtk/chat_stack.py", line 657, in _on_action client.get_module("MUC").set_affiliation( File "/app/lib/python3.12/site-packages/nbxmpp/task.py", line 107, in func_wrapper return _setup_task(task, self._client, callback, user_data) # type: ignore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/lib/python3.12/site-packages/nbxmpp/task.py", line 86, in _setup_task task.add_done_callback(callback) File "/app/lib/python3.12/site-packages/nbxmpp/task.py", line 182, in add_done_callback raise ValueError("Unknown callback object") ValueError: Unknown callback object ``` ## Steps to reproduce the problem ...

  8. lovetox

    nicoco: it's not a bug, we did this as a workaround for another bug

    👍 1
  9. mesonium

    lovetox: do you have some info about the bug you worked around? I think I asked before but I forgot the answer and I also can't find it anymore.

  10. lovetox

    I will answer later

  11. mesonium

    No rush

  12. lissine

    > Am I the only one that's been having problems with search after the update to 2.0.x? It searches fine for me but when I click the result it just scrolls endlessly and _sometimes_ reaches the correct message. On 2.0.1 from Arch repos. zayd, here's a workaround: After you click the search result, Gaijm will be loading messages that are newer than it. Thus it will be scrolling down. Scroll up to stop it, and then click on the search result again to jump to it.

  13. lissine

    It's not very reliable, so you can try to repeatedly click the search result while trying to scroll up

  14. bot

    wurstsalat pushed 1 commits to branch gajim/master fix: Helpers: Check for empty bytes objects when loading file async - https://dev.gajim.org/gajim/gajim/-/commit/c3ccf6759c87ca316ce9d2e4f930bc2ba9133fd7

  15. lovetox

    mesonium, the commit text is not right on the textview MR

  16. mesonium

    Ow, how did that happen.

  17. mesonium

    Better? :)

  18. lovetox

    some day you need to tell me how you get into this situation

  19. lovetox

    do you use git merge?

  20. lovetox

    yeah almost, you need to write "Fixes #1234" in your extended commit

  21. lovetox

    CCBUG, not sure what this means, but it will not trigger anything in gitlab

  22. mesonium

    I know kde dev's use this terminology to ref bugs, which not directly get fixed by the commit but are related

  23. mesonium

    I know kde devs use this terminology to ref bugs, which not directly get fixed by the commit but are related

  24. mesonium

    > some day you need to tell me how you get into this situation Please don't ask. I think I've rebased on the wrong branch with git pull --rebase and tried to fix it the wrong way.

  25. mesonium

    (I also got a bit distracted and didn't pay sufficient attention...)

  26. lovetox

    if you want to just mention a issue, you write no keyword, so just #1234

  27. lovetox

    every issue tracker has its own automation and keywords

  28. lovetox

    what works on gitlab my not work on github or any other issue tracker

  29. lovetox

    ok i looked at it, no this does not Fix the related issue, so please remove the "Fixes"

  30. bot

    wurstsalat pushed 1 commits to branch gajim/master fix: ContactNameWidget: Add more conditions for enabling edit mode - https://dev.gajim.org/gajim/gajim/-/commit/deecc8e2945ab4648bc6c98c21ff6bf7f5ee02c9

  31. bot

    wurstsalat pushed 1 commits to branch gajim/master fix: MUC: Ensure MUCData is initiated with jid string - https://dev.gajim.org/gajim/gajim/-/commit/1e09559459c8cc97f519cfe7910d78af3c4402c6

  32. mesonium

    cal0pteryx: what is the Activity Feed about?

  33. mesonium

    I've checkes the branch out, but I got no activities and wonder what they should be. :)

  34. mesonium

    I've checked the branch out, but I got no activities and wonder what they should be. :)

  35. cal0pteryx

    mesonium: at the moment it replaces what the account page's notification manager does. In the future it should handle much more, see the linked issue in the MR

  36. mesonium

    I see, thanks

  37. lovetox

    Like in MS teams

  38. lovetox

    https://share.hoerist.com/philipp/yPO4q2PwP9zjcLgw/_WCtmHrSRJ20-_M3URgSug.jpg

    👍 1
  39. mesonium

    Great!

  40. lovetox

    mesonium, previously we had code that keeps the scrolling bar in the conversation view, at the bottom, while loading more messages

  41. lovetox

    and in GTK4 the scrolled window did not issue the right signals anymore for some reason, and it was broken

  42. lovetox

    and now we resort to moving it to the bottom after message load, this causes the flicker

  43. lovetox

    we did not report this to GTK ..

  44. moparisthebest

    > Seems like Gajim has a new bug hunter, mesonium :) 😂

  45. moparisthebest

    > Seems like Gajim has a new bug hunter, mesonium :) 😂

  46. lovetox

    code is in view.py

  47. lovetox

    basically what we want is, while loading messages to fix the scrollbar or view in one position

  48. moparisthebest

    > lovetox pushed 1 commits to branch gajim/master > > feat: Use XEP-0172 nickname of contacts not in roster - https://dev.gajim.org/gajim/gajim/-/commit/42d32017c70a0edec08c0173b54924d3c561ef7a hmm lovetox nicoco this is the exact opposite of this fix for conversations 9 years ago https://codeberg.org/iNPUTmice/Conversations/commit/73679b97f1264f6c2fe7f06a46f91611d9d96217 basically you can't trust a nick from a random stranger, they can put anything there and trick users with it

  49. mesonium

    Alright, thanks for explaining. Will check it out next week, when I find time again

  50. lovetox

    moparisthebest, we display the jid

  51. moparisthebest

    I guess it all depends where the real jid is shown and where the nick is

  52. lovetox

    if you check the commit, you see the jid is in the nickname

  53. lovetox

    But in general, i dont see how to solve this, i dont want to mark non-roster contacts in a bad way, seems there are bridges and networks where it is normal to talk to people not in your roster

  54. lovetox

    And i also dont see how it gives a user more trust if he adds someone to his roster

  55. lovetox

    this only gives access to the status and some pubsub nodes the user does not know anything about anyway

  56. lovetox

    i dont see how someone in my roster is more trustworthy as someone not

  57. moparisthebest

    I mean it's someone you actually added to your roster and not a new random account trying to trick you, that's about the only difference though

  58. moparisthebest

    > '{properties.nickname} ({remote_jid})' So if I understand this code, this is how it's formatted for display? What if nickname ends with a ton of whitespace? Will that cause JID to be hidden in any UI elements?

  59. lovetox

    yes, labels will be ellipsized at some point

  60. lovetox

    at least in Gajim

  61. moparisthebest

    well there's your impersonation I guess, just message someone from random@conversations.im with nick set to 'lovetox@gajim.org '

  62. moparisthebest

    probably should elipse the nick and make sure real JID is always displayed, idk

  63. lovetox

    i didnt say that impersonation is not possible

  64. lovetox

    it was also before this commit possible, even easier

  65. lovetox

    we simply displayed the localpart

  66. lovetox

    and do it still if there is no nickname

  67. lovetox

    i could get down with some small icon somewhere that informs about the fact that you have a conversation with someone not in your roster

  68. lovetox

    thats better than doing any nickname business

  69. lovetox

    and also i expect people who live in a world where no name is unique, that they know its the same for the interent

  70. lovetox

    and also i expect people who live in a world where no name is unique, that they know its the same for the internet

  71. lovetox

    but then again, you can impersonate anyone without any problem at all in public mucs

  72. moparisthebest

    That's the tricky part, how to explain to user in a sane way what name they are seeing and how trustworthy or not it may be

  73. lovetox

    see nobody complain about that

  74. lovetox

    usually people notice if something is different

  75. moparisthebest

    Just as is being able to message gajim users from any JID with (as they see it) `lovetox@gajim.org ...` is maybe not great

  76. lovetox

    suddenly a person messages you, you talk to everyday, but the chat is empty and has no history

  77. lovetox

    suddenly a small icon is there ..

  78. lovetox

    Gajim shows the localpart if there is no nick, so you can register as lovetox@anydomain and Gajim will happily show you someone lovetox messaged you

  79. moparisthebest

    Yea, maybe you could click on it and it shows "Not on your roster; real jid: $x; nickname they set: $y" etc? idk

  80. lovetox

    i think you just need it to stand out a bit and look weird

  81. lovetox

    then people will notice, and stop because they think, that whole chat does not look like yesterday

  82. someodd

    Am I crazy or did gajim REMOVE the calls feature?

  83. yessikg

    Yeah, I was just about to ask about that

  84. lissine

    > Am I crazy or did gajim REMOVE the calls feature? Was it working for you?

  85. lissine

    See the paragraph about Jingle File Transfer and Audio/Video Calls: https://gajim.org/post/2025-02-28-gajim-2.0.0-released

  86. someodd

    thanks

  87. mesonium

    There's no way or XEP to crytographically sign a second account, so that others can verfiy that those two belong to same entity, once they trust one them (eg via omemo)?

  88. mesonium

    To counter impersonating

  89. lovetox

    hm, how would it help to cryptographically sign another account?

  90. lissine

    The closest thing is https://xmpp.org/extensions/xep-0450.html

  91. bot

    wurstsalat pushed 3 commits to branch gajim/master imprv: Simplify URI context menu - https://dev.gajim.org/gajim/gajim/-/commit/1fec24714885d0305e9a52a8502557f0df9991ee change: Don't handle file URIs - https://dev.gajim.org/gajim/gajim/-/commit/e96ea115bb6d0ea0797affcb00ef99ad626bd4a0 imprv: Remove 'ambiguous-address' URI processing - https://dev.gajim.org/gajim/gajim/-/commit/4efec38983dbc42cf223d2cb36d5c06c275c578f

    ❤ 1
  92. bot

    lovetox pushed 1 commits to branch gajim/master fix: MessageInput: Do not crash on message send - https://dev.gajim.org/gajim/gajim/-/commit/1f433ab1ebd5bd005a4a6bf5b403feee91f59af7