Gajim - 2024-07-01


  1. mike123

    hello

  2. mike123

    i need a spammer

  3. dev

    Hi. I recently upgraded from a very old gajim version (1.3.X) to v1.8.4 (newest one I can get from my repo). I am kind of annoyed by the opening behavior when I have unread messages. I was used to the bahaviour to only need one click on the tray icon to be able to read the new message said icon indicates. Also it was great to be able to click that icon a few times to get rid of it if I had already read all new messages on another device. Now I've searched for the topic and found issue 11109 on your git, where you explained that this was removed more or less for privacy reasons (i.e. you dont want your chat partner to see that you've read the message yet), but imho that is not exactly a valid reason, as it tries to solve a social problem technically. Besides that: If I dont want the other side to see when I have read its message, I could just disable read receipts. Therefore I've got the following question: Is there any setting or toggle in the ACE I might have overlooked that restores the old behaviour, which - in my opinion - was a much better UX? If not: Are there any plans to implement one?

  4. cal0pteryx

    dev: the old behavior opened pending messages in an arbitrary order, which adds an element of surprise, which is nothing you want in a GUI. Now, a click on the tray icon opens the main window, where you can see unread counters, which allow you to make a decision on what to read. For your second point: you can right click on a workspace (left bar) an select "Mark all as read"

  5. dev

    > Now, a click on the tray icon opens the main window... Only if I disable _use_libappindicator_ in ACE, otherwise even that takes two clicks. (I know the reasoning behind it, as it was part of the same issue.) Regarding the surprise: The order could simply follow the order of the incomming messages, i.e. showing the message first which was sendt first. "Mark all as read" is better than having to open up every chat manually. Thanks for the hint, I didnt notice that option yet. Imho its still more cumbersome than the old behaviour, though.

  6. cal0pteryx

    The shortcomings of libappindicator and gtk deprecating gtk.statusicon are sadly nothing gajim can change. The decision to not have the status icon open random chats on click was a deliberate one though. It's now initially two clicks (one opens gajim's window, the second click opens the chat you actually want to see). From there on, it's one click per chat (or "mark all as read"). So effectively it's one click more in the whole workflow and no surprises anymore.

  7. ic_

    lovetox, Debian nightly installed OK this morning, thanks

  8. sch

    I wonder when the package for Gajim of Arch Linux be updated.

  9. zak

    sch: Version 1.9.1 was submitted to staging yesterday, so it should not be too long now.

  10. sch

    Great! Thank you zak!

  11. zak

    Nothing new for Fedora unfortunately. protobuf is still not updated. There is a bug entry for Gajim, saying it will be orphaned in 7+ weeks. https://bugzilla.redhat.com/show_bug.cgi?id=2291527

  12. bodqhrohro

    > 2024-07-01T08:28:47Z - cal0pteryx: > The shortcomings of libappindicator and gtk deprecating gtk.statusicon are sadly nothing gajim can change. > The decision to not have the status icon open random chats on click was a deliberate one though. It's now initially two clicks (one opens gajim's window, the second click opens the chat you actually want to see). From there on, it's one click per chat (or "mark all as read"). So effectively it's one click more in the whole workflow and no surprises anymore. Gajim could join other GTK+-based software in efforts of making a GTK+ fork finally, free from GNOME madness. This should have happened a decade ago. I believe it would require less efforts than keeping up with their breaking changes and ideological decisions.

  13. cal0pteryx

    bodqhrohro: that's your opinion and I don't share it

  14. lovetox

    There is nothing stopping lib indicator to add that click action, I think they have a feature request for it, but seems nobody has time

  15. bodqhrohro

    RAINBOW text, but nobody sees it.

  16. Link Mauve

    Of course I do.

  17. bodqhrohro

    Link Mauve: good for you.

  18. brendan

    I'm running gajim 1.8.4 and it can no longer remember my password. I have keyring stuff installed but it seems to ignore it. Any ideas?

  19. lovetox

    Enable debug logging and look for errors

  20. belkka

    Is it ok that I see less of chat history in Gajim than in Conversations (Android)? Specifically, in this public group: xmpp:modernxmpp@rooms.modernxmpp.org?join, I only see the history since Tue 06/11/2024. But in Conversations app I can scroll indefinitely, e. g. reach 2023 and cannot reach the end. Is it like a configurable feature?

  21. lovetox

    No, we don't support requesting history over a day on first join

  22. lovetox

    After first join you need to set the sync threshold in the chat settings to your liking

  23. belkka

    So "No threshold" should make whole history reachable?

  24. belkka

    https://share.conversations.im/belkka/NKOjnUaf3cT1BdRt/cf01da6a-2908-4ab4-859c-4f8ef24f7169.png

  25. belkka

    After setting this value, the Gajim's UI message at the beginning of history changed to "scroll up to load more chat history..." (I remember it was saying something different, but I cannot reproduce the original message even if change the setting back to 1 day). Scrolling up doesn't change anything though (more history is not loaded)

  26. belkka

    https://share.conversations.im/belkka/i8mso7TojnBcyuyw/2808ca78-2543-40a5-83c6-a3b900e63154.png

  27. belkka

    `gajim --version` is 1.9.1 (recently upgraded from `gajim` to `gajim-git` in AUR)

  28. lovetox

    As said you cannot load messages before your first joj

  29. lovetox

    As said you cannot load messages before your first join

  30. lovetox

    threshold is only respected for subsequent joins

  31. lovetox

    setting no threshold for a public MUC is problematic

  32. lovetox

    this could mean if you join this chat in a year, it will load one year of messages, with no way to stop it for you

  33. belkka

    so "join" here is not "user joins a MUC", but "client joins a MUC"? Can I fix it by leaving and joining chat (so that updated setting is applied)? Also, is message misleading or am I doing "scroll up" wrong?

  34. belkka

    Number of participants in this chat is changing between 356, 357 and 355... looks like someone is testing my idea XD

  35. belkka

    or there is something I do not understand about the protocol, because those numbers change too much in real time

  36. belkka

    > this could mean if you join this chat in a year, it will load one year of messages, with no way to stop it for you isn't "partial on-demand history loading" implemented in Gajim? The message ("Scroll up to load more chat history…") suggests that it's supposed to be implemented (exept it doesn't work for me). I'd like history to be only loaded when I scroll it

  37. lovetox

    im trying to tell you, that you *cannot* get history before your first join - no workaround whatsoever will make it possible

  38. lovetox

    most mucs offer weblogs, which you can find in the information dialog

  39. lovetox

    "scroll up to load more history" means loading it from your local database

  40. lovetox

    not from the server

  41. belkka

    > im trying to tell you, that you *cannot* get history before your first join - no workaround whatsoever will make it possible but I *can* in other client. Namely, "Conversations" on Android

  42. lovetox

    yes, not sure how this is relevant here

  43. lovetox

    are you thought i say its technically not possible, thats not what im saying, im saying you cant with current Gajim

  44. belkka

    so it's some kind of protocol extension that Gajim doesn't support?

  45. lovetox

    lets say the protocol does not allow that to be implemented easily, we found no way of doing it without having ordering problems with messages

  46. lovetox

    so we opted not do it until now

  47. belkka

    > im trying to tell you, that you *cannot* get history before your first join - no workaround whatsoever will make it possible wait, but what does threshold do then? > threshold is only respected for subsequent joins I interpreted this as "if threshold value is A and I join chat ONE, then I can see history up to A days before I joined. If I then change threshold value to B and (subsequently) join chat TWO, then chat TWO uses value B, but chat ONE is still using value A, because I joined chat ONE *before* changing threshold value"

  48. lovetox

    it means how much message is loaded on all joins except your first one

  49. lovetox

    if you join a chat, leave it and join it 2 weeks later again, Gajim looks at the threshold and loads as much messages as it says

  50. lovetox

    no threshold meaning, everything you missed between your first and second join

  51. lovetox

    which for a public MUC with theoretically infiinte messages could be very much

  52. lovetox

    for private MUCs the threshold is by default "no", so you will not miss any messages from your friends

  53. lovetox

    for public MUCs its by default a day

  54. belkka

    > if you join a chat, leave it and join it 2 weeks later again, Gajim looks at the threshold and loads as much messages as it says got it, "subsequent joins after the first join in the same chat"

  55. lovetox

    belkka, you showed the "Default" setting

  56. lovetox

    i would not touch that

  57. lovetox

    you can change the setting per MUC

  58. lovetox

    CTRL + I -> Settings

  59. lovetox

    raise it only for public MUCs, where you think you need to read every message every day

  60. lovetox

    i realize this is all a bit complicated and not very user friendly, but currently the best compromise we hav

  61. lovetox

    i realize this is all a bit complicated and not very user friendly, but currently the best compromise we have

  62. belkka

    > belkka, you showed the "Default" setting btw, as I understand from your explanation, the default setting that I've seen was only "default for public chats". Is there a separate "default for private chats" somewhere?

  63. lovetox

    no, because we think there is no reason to ever set a threshold for private chats

  64. lovetox

    private chats have very few members <10

  65. lovetox

    and very few messages

  66. lovetox

    it is not problem to load months of history

  67. lovetox

    but there are public MUCs with > 3000 people in it

  68. lovetox

    there can be a 1000 messages per day

  69. lovetox

    if you dont join a month, this can be very bad without threshold

  70. belkka

    To clarify: does XMPP "join" mean same as IRC join (every time I turn on my computer and run the client it's a new join to every chat I'm participating in)?

  71. lovetox

    yes

  72. belkka

    good thing I've recently learned to use IRC, so that I could understand this terminology :) Do I get it correctly that list of chat (group) participants (at the right of Gajim interface) only shows people *online* (i.e. running their computer and client at the moment)? In other words if they all shut down their computers at the same time, the participants list will be empty for me.

  73. lovetox

    Yes

  74. lovetox

    private chats can have real fixed members, but we dont show the list, thats something we work on though, so its more like a whatsapp group where you can see who is part of it

  75. lovetox

    and because everyone uses mobile clients like conversations

  76. lovetox

    essentially nobody every "leaves" a chat anymore

  77. lovetox

    because one device is at least online all the time

  78. lovetox

    for private mucs we definitly want to offer a better solution, fixed member list that you can always see.

  79. lovetox

    for public mucs i would argue there are so many people its not that important

  80. belkka

    Are private/public MUCs different at protocol level or client (Gajim) level? I was reading https://docs.modernxmpp.org/rationale/#types-of-groups recently, it mentions > From a protocol perspective this distinction is unnatural... How can I understand what MUCs are private in Gajim's UI? I believe I joined multiple public mucs, including this one. And I've also created a MUC for testing, which I "consider" private; it's rather a SUC (single-user chat) though, because I have no friends in XMPP.

  81. fjklp

    Sometimes when I scroll the chat list to the bottom, then open a chat then grab the scrollbar and try to drag it upward, or use my scroll wheel, the chat list view will scroll but the the scrollbar remains frozen at the bottom. Is this a gtk issue?

  82. lovetox

    belkka, in the information dialog there is a manage tab, you can configure a MUC there, if the muc is configured for "members-only" its effecitvely private

    ☑ 1
  83. lovetox

    it means only people you invite can join, an no one else

  84. lovetox

    a public muc is a muc where everyone also without invite can join

  85. fjklp

    I'm on ubuntu 23.10, gnome, gajim nightly flatpak, and I keep experiencing that messages that should cause a desktop notification (the floating icon) don't, but it seems to always change the tray icon as it should. It could be unrelated to gajim. I don't know how to debug it. And it seems to alternate between creating or not creating a notification.

  86. belkka

    > Sometimes when I scroll the chat list to the bottom, then open a chat then grab the scrollbar and try to drag it upward, or use my scroll wheel, the chat list view will scroll but the the scrollbar remains frozen at the bottom. Is this a gtk issue? Wow, I have just observed this behavior as you described, but I cannot reproduce it consistently. I've noticed that there was one chat with new messages arrived while I was trying to follow your instructions. Maybe the issue is related to scenario when new messages appear and some chat *moves* to the top of the list.

  87. lovetox

    > Wow, I have just observed this behavior as you described, but I cannot reproduce it consistently. I've noticed that there was one chat with new messages arrived while I was trying to follow your instructions. Maybe the issue is related to scenario when new messages appear and some chat *moves* to the top of the list. sounds like it could be an issue

  88. lovetox

    but i dont understand why you need to scroll to see a chat with new messages

  89. fjklp

    > Wow, I have just observed this behavior as you described, but I cannot reproduce it consistently. I've noticed that there was one chat with new messages arrived while I was trying to follow your instructions. Maybe the issue is related to scenario when new messages appear and some chat *moves* to the top of the list. Ah, you might be right with the icon sorting thing. I too am not able to consistently reproduce it, but I noticed this weeks ago and it did seem to be related to viewing chats with unread messages.

  90. fjklp

    > but i dont understand why you need to scroll to see a chat with new messages It happens and I haven't really been asking myself that. I'm thinking the sorting is delayed sometimes but maybe it also isn't happening at all sometimes

  91. lovetox

    we dont sort while you are over the list with your mouse

  92. fjklp

    I don't have an easy way to test this

  93. fjklp

    I don't have an easy way to test this, but I'll try later when this chat gets pushed down in the list

  94. fjklp

    I don't have an easy way to test this, but I'll try later when the chat gets pushed down in the list

  95. bot

    lovetox pushed 1 commits to branch gajim/master imprv: Don't check for updates if running from MS Store - https://dev.gajim.org/gajim/gajim/-/commit/77ca38424d4fa31db0ecad2c531735aad43b9724