Gajim - 2023-09-29


  1. kurion

    lovetox: a person from GNOME shell matrix room said that this issue is due to running Gajim from a python venv and not having it installed. Because for `Gio.Notification` to work the app needs to have a valid desktop file.

  2. kurion

    as per https://developer.gnome.org/documentation/tutorials/notifications.html#prerequisites

  3. bodqhrohro

    Now I'm perfectly confident I don't run a desktop system lol. It intentionally does not respect many of that FreeDesktop stuff.

  4. umu

    gajim got rizz

  5. umu

    I don't think I have that issue on gnome

  6. umu

    ru on gnome 45

  7. kurion

    I'm on GNOME 42.xx

  8. umu

    how ru runnging

  9. umu

    gajim?

  10. hannibal

    kurion: BTW gajim doesn't support D-Bus activation

  11. kurion

    > umu: how ru runnging from a venv, with `.launch.py`

  12. kurion

    > umu: how ru runnging from a venv, with `./launch.py`

  13. 23

    How do I remove a old disused not connected account. I can remove existing accounts but not this old one

  14. lovetox

    Why do you think you can't remove it ?

  15. bot

    Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *442328c2* < https://dev.gajim.org/gajim/gajim/-/commit/442328c20ca0bf15914b9aa1387d87271260c998 > feat: Display status message in banner

  16. 23

    I had changed servers but the old account was still showing, I found that when I rebooted PC , not just turning Gajim off/on it then allowed mr to remove the account

  17. 23

    I had changed servers but the old account was still showing, I found that when I rebooted PC , not just turning Gajim off/on it then allowed me to remove the account

  18. 23

    I had changed servers but the old account was still showing, but not connected. I found that when I rebooted PC , not just turning Gajim off/on it then allowed me to remove the account

  19. nicoco

    lovetox: it's been buried below my attempts to place idle time somewhere, but I think https://dev.gajim.org/gajim/gajim/-/merge_requests/972 is less controversial and fixes something very useful for adhoc commands. Since you accepted the "execute command" menu item in all chat banners, it would make sense to make adhoc commands fully functional. I added 2 screenshots of what it looks like now. I think is is OK, even if using XEP-0122 to improve formatting of typed fields would be nice, but this could be for the next MR ;-)

  20. lovetox

    nicoco, yes im not opposed to reporting forms

  21. lovetox

    i look into the MR

  22. lovetox

    about the whole presence info thing

  23. lovetox

    i want to refactor this a bit i think we go down a wrong path

  24. lovetox

    show, status message, idle are part of a single presence, all those infos should be always shown together

  25. lovetox

    what we did now is applying different logic to status, show and idle

  26. lovetox

    basicially mixing data from different presence together, i think this is not good and will lead to weird results, like someone who is available, but at the same time idle, and has a away status message

  27. nicoco

    Hum I was wondering about that too.

  28. nicoco

    It's already the case FWIW.

  29. lovetox

    it was not the case until now

  30. nicoco

    Yes it it. When I put my phone in "dnd", cheogram sets its presence show to "dnd" and I appear "dnd" in gajim. Even though I'm "available" on gajim.

  31. lovetox

    how is this mixing data?

  32. nicoco

    The "circle" next to my avatar is dnd

  33. nicoco

    There is logic to decide that "one resource dnd" means "contact is globally dnd"

  34. lovetox

    yeah its not mixing, its i have 2 presence and i decide to show data from only one

  35. lovetox

    vs i have 2 presence and pick random data from each of them and show them

  36. nicoco

    Aren't priorities useful here?

  37. nicoco

    Granted, it's not exposed easily in any modern client.

  38. lovetox

    no, nobody uses them

  39. nicoco

    yeah

  40. lovetox

    priority is a dead concept

  41. lovetox

    its from a time where MAM and Carbons did not exist

  42. lovetox

    and message routing was done with priority

  43. lovetox

    i think deciding based on show is much more useful

  44. nicoco

    OK. Still, I fail to see why the logic of deciding "cheogram dnd, gajim available → contact dnd" is very different from picking up one status message.

  45. lovetox

    if you want to get even more fancy, you can do it by some kind of activity marker

  46. nicoco

    Also, I believe that different status messages from different clients is very rare in practice

  47. nicoco

    The reason I mention this dnd having priority over other statuses is also because I don't think it's great. To me, 1 resource dnd, 1 resource available should translate to "green circle next to my avatar". But I agree it's debatable.

  48. nicoco

    Maybe the circle sould be split, like a pie chat

  49. nicoco

    Maybe the circle sould be split, like a pie chart

  50. nicoco

    It sounds a bit ridiculous, but I kindof like the idea lol

  51. lovetox

    i doubt any users needs that, i would never need that

  52. lovetox

    the goal is to get away from presence, not expose it even more to the user

  53. lovetox

    or not presence, but rather presence per device

  54. nicoco

    Agreed. Resource name != device or app name though. But with disco info we get the client or the type of device, maybe?

  55. lovetox

    i never heard a convincing argument why someone needs to be dnd on a device, but available on the other

  56. nicoco

    Yeah it's just me misusing the 'dnd' feature of my phone I guess.

  57. lovetox

    i always saw it the other way around

  58. nicoco

    I should put in on silent instead, but it's with dnd on android it still rings when my wife calls, which is basically all I need. Besides that I _never_ want my phone to make a single sound.

  59. lovetox

    say you have your smartphone with you, and you set it to DND, because you really dont want to be disturbed, and you let your contacts know you wont respond

  60. lovetox

    would be nice, to make you run to every other device first and set everywhere dnd

  61. lovetox

    and only THEN your contacts know your dnd

  62. lovetox

    this would practically never happen

  63. nicoco

    Yeah, probably. Anyway, I wasn't even thinking about changing that. Getting back to status messages, you don't like the "single status in banner" after all?

  64. nicoco

    Or, more precisely, you want to pick the status based on show instead of priorities?

  65. lovetox

    if i show multiple data from presence, it should be all from the same

  66. lovetox

    its even more ridicoulus with idle

  67. nicoco

    yeah that's why the logic I implemented is "if a device is available, we don't show idle"

  68. lovetox

    what speaks against, simply deciding for a presence, instead doing some logic for each attribute of a presence

  69. lovetox

    if you are available, i dont want to show idle or show = away for another device, or the away status message

  70. lovetox

    all these things are always bound to show if you think about it

  71. lovetox

    idle makes only sense with show= away/dnd

  72. lovetox

    status message is often also changed depending on show

  73. nicoco

    …by gajim :)

  74. nicoco

    I don't think any other maintained client do that, "Idle because…"

  75. nicoco

    maybe I'm wrong

  76. lovetox

    its a option in gajim nobody forces you to set a away status message

  77. nicoco

    Oh OK.

  78. nicoco

    What about this: the tooltip should display all presences from all devices.

  79. lovetox

    status in presence is of course not nice, it would be much better in pubsub

  80. nicoco

    With their respective show, idle since, status

  81. nicoco

    gajim is an "advanced client" after all :)

  82. lovetox

    we do that already in the roster

  83. nicoco

    Yup, let's just use this tooltip on avatar hover everywhere then?

  84. lovetox

    yes but thats another topic

  85. nicoco

    OK.

  86. lovetox

    i mean the status message in the banner is still nice

  87. lovetox

    it just should be the one that fits to the show value

  88. lovetox

    at least as long until we have status message in pubsub

  89. Linuxhelptipsxmpp

    Hello all! i am new here and was wondering how to get the pgp plugin to work?

  90. lovetox

    Linuxhelptipsxmpp, do you have it installed?

  91. cal0pteryx

    nicoco: I'd like to explore popovers on avatars, which expose presence info but also clickable actions. Maybe that's useful

  92. nicoco

    lovetox: so basically, copy the logic from `BareContact.show` to `BareContact.status`

  93. lovetox

    no i think thats also bad, usually when we show something we show multiple attributes, would be bit ugly if we ran the algo everytime a attribute is accessed

  94. lovetox

    but i just think about this, i have an idea

  95. nicoco

    cal0pteryx: I just played around trying to see how GTK3 works, make us something nicer and close my MR :)

  96. nicoco

    > would be bit ugly if we ran the algo everytime a attribute is accessed sure, so we run it once and cache the selected presence, and invalidate the cache value `on_presence()`?

  97. Linuxhelptipsxmpp

    @lovetox yes

  98. Lightning Bjornsson (they, he, xe/hir)

    > bodqhrohro a écrit : > Now I'm perfectly confident I don't run a desktop system lol. It intentionally does not respect many of that FreeDesktop stuff. desktop is not defined by whether it's unfreedesktop or not