Gajim - 2023-08-29


  1. loveskype

    cynical: I still use 1.3 as a primary client too, now what?

  2. cynical

    loveskype, epic :)

  3. fjklp

    bodqhrohro's been doing a little trolling

  4. loveskype

    I have promoted the ability to do this as a Jabber benefit for a long time.

  5. loveskype

    I know a few purely role-playing MUCs, where people use their primary JIDs and don't need to keep additional accounts, can you imagine this in Telegram or so?

  6. Ben Sima

    on a 1:1 chat, does gajim show the 'composing' chat state?

  7. Ben Sima

    asking because i can't seem to get my slixmpp bot to send the composing state

  8. Ben Sima

    just wondering if i'm too blind to see it

  9. cal0pteryx

    Ben Sima: it does, in the top banner, right next to ypur contact's name

  10. stefan

    Hello! is there a possibility to alter the appearance of my own name in the chat window? It's always in lower case, i'd like to change that...

  11. lovetox

    In the profile dialog

  12. stefan

    I had a look there, but I didn't find it...

  13. stefan

    ah sorry, I have it now.

  14. fjklp

    does gajim only use icons from a specific icon set? for example, the pencil icon.

  15. fjklp

    I'm wondering what the criteria would be for suggesting alternative icons

  16. fjklp

    with the profile page, there is a pencil icon and text right below it, so I naturally associate the pencil with the text, but the pencil is for the image selection

  17. fjklp

    stefan: is this what you experienced?

  18. fjklp

    I would bet that I'm not the only person to have that problem

  19. fjklp

    I think it could benefit by having a different icon instead of the pencil and maybe moving the profile name down some would make the trash can and image picker icon more readily associated with the avatar

  20. fjklp

    I think it could benefit by having a different icon instead of the pencil and maybe moving the profile name down some would make the trash can and image picker icon would be more readily associated with the avatar

  21. lovetox

    what is the problem? the nick is in a editable field

  22. lovetox

    you click into it and change the text

  23. lovetox

    if you click the pencil you learn its for the avatar

  24. fjklp

    I guess I don't have the habit of clicking things that I assume are not the thing I want

  25. loveskype

    lovetox: https://blog.brixit.nl/the-end-of-the-nice-gtk-button/ > I feel like the designers of this new theme have never sit down with anyone who's not a "techie" to explain to them how to use a computer. While a lot of people now instinctively hunt for labels that have hover effects, for a lot of people who are just not represented in online computer communities because they're just using the computer as a tool this is completely weird. I have had to explain to people tons of times that the random word in the UI somewhere in an application is actually a button they can press to invoke an action.

  26. clown

    Libadwaita is wrong on multiple levels at once. Not only is it a shitty theme, but why does it enforce a theme to begin with? Also why is it even a separate library lol Looks like the works of someone aiming for job security

  27. kurion

    If I need a one shot notification on contacts' presence-update, how can I do it with existing notification related methods?

  28. loveskype

    clown: a cargo cult of Mac OS X under the Jobs rule.

  29. loveskype

    They did still unpacking archives instead of opening recently, it's getting pretty obvious already.

  30. loveskype

    They did steal unpacking archives instead of opening recently, it's getting pretty obvious already.

  31. loveskype

    https://www.wired.com/2002/10/the-mac-os-that-cant-be-tweaked/

  32. clown

    > clown: a cargo cult of Mac OS X under the Jobs rule. I think it's more of a mobile phone cult. I don't know macos that much but it doesn't seem *as* bad from the little time I spent using it. I mean at leasf it doesn't have those absurdly huge titlebars and other gui elements

  33. loveskype

    clown: in part, yeah, and the significant part of GNOME contributors is also working on some FOSS shells for slatephones.

  34. lovetox

    kurion, look into events.Notification

  35. lovetox

    0425163,

  36. lovetox

    .

  37. astanad_

    lovetox, why when you realeased Gajim 1.4.0 you didnt used GTK 4 ?

  38. lovetox

    why would i? because there is a 4 in the version number? or what are you trying to say?

  39. loveskype

    astanad_: it rather had to be Gajim 2 then. Gajim 0 did use GTK+2, Gajim 1 is using GTK+3.

  40. kurion

    lovetox: Thanks. it works now.

  41. kurion

    But I find that events.Notification doesn't have a timeout that can be specified

  42. lovetox

    yes we dont need that

  43. lovetox

    also there is no timeout option on linux

  44. bot

    Philipp Hörist pushed 8 commits to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: https://conference.gajim.org:5281/pastebin/a999f83d-ca8c-4f23-8787-cf4b5fcf3b59

  45. bot

    Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *9c3b34be* < https://dev.gajim.org/gajim/gajim/-/commit/9c3b34bef0cf5a7e0ea72a0190ebde8dc12f42e3 > fix: View: Add newline after username when copying a message Fixes #11610

  46. bot

    Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _python-nbxmpp_ < https://dev.gajim.org/gajim/python-nbxmpp >: *58e4c275* < https://dev.gajim.org/gajim/python-nbxmpp/-/commit/58e4c2758c783b8ffe01c4525c9c569d4393364d > release: 4.3.3

  47. kurion

    I connected 'presence-update' signal to a new function in roster.py

  48. kurion

    the function obviously draws the updated contact in the roster and also send a notification

  49. kurion

    but I noticed that this sends two notification for each `presence-update

  50. kurion

    but I noticed that this sends two notification for each `presence-update`

  51. kurion

    I tested with a print statement

  52. kurion

    the connected function is invoked two times per contact resource.

  53. kurion

    why might this be happening?

  54. kurion

    > lovetox: yes we dont need that, also there is no timeout option on linux I see a countdown timer (maybe 5 seconds) circle on new message notifications in linux.

  55. kurion

    the timer runs until I hover over the notification or click it.

  56. kurion

    I would like to reduce this timeout

  57. kurion

    oh just saw the `'notification_timeout': [opt_int, 5]` in config.py.

  58. lovetox

    1. config.py is not used

  59. lovetox

    2. its only for windows

  60. lovetox

    3. if you are on linux, its not Gajim that sets the countdown, its your system

  61. kurion

    lovetox: Oh, I see. I should find my system notification settings. Thanks for the clarifications.

  62. kurion

    when a contact updates their presence-state do we get two responses per update?

  63. kurion

    don't know why my presence-update handler in roster.py is invoked two times per update.

  64. lovetox

    maybe you connected multiple times?

  65. lovetox

    otherwise set a breakpoint

  66. lovetox

    and type w, to see the path where the call comes from

  67. kurion

    my test contacts are on Psi+ and Gajim. when one of them changes presence, my handler in roster.py is invoked

  68. kurion

    I will try the breakpoint approach

  69. lovetox

    did you check if there a maybe are 2 presences sent?

  70. kurion

    where and how can I check it?

  71. lovetox

    xml console

  72. lovetox

    debug logs

  73. kurion

    I set a breakpoint above my handler

  74. kurion

    It only drops me into Pdb the first time it is invoked.

  75. kurion

    while Gajim is running, I changed a contact' presence.

  76. kurion

    I continued and while Gajim is running, I changed a contact' presence.

  77. kurion

    but it didn't drop into Pdb for each call.

  78. kurion

    I think I need to set the breakpoint INSIDE the handler, not above it.

  79. kurion

    tried out the breakpoint approace

  80. kurion

    tried out the breakpoint approach

  81. kurion

    the callstack for the two invokations are the same

  82. kurion

    diffing showed the callstack for the two invokations are the same

  83. kurion

    diffing showed that callstack for the two invokations are the same

  84. lovetox

    so looks like you connected your handler multiple times

  85. kurion

    in the XML console, only one presence response is shown per presence update

  86. kurion

    I see that the line `self._connect_contact_signals(contact)` appears two times in roster.py

  87. kurion

    once inside `_initial_draw` and second time in `_on_roster_push`

  88. kurion

    does it mean all the connections in `def _connect_contact_signals` happened twice?

  89. kurion

    now I see that all four connections in `_connect_contact_signals` happened twice.

  90. kurion

    after some testing now I see that all four connections in `_connect_contact_signals` happened twice.

  91. kurion

    the contact rows in the roster gets drawn twice for each of the four signals.

  92. kurion

    is it safe to remove the line `self._connect_contact_signals(contact)` from `_on_roster_push`?

  93. lovetox

    hmm, seems you are right, on first look this looks wrong

  94. lovetox

    i look into it

  95. bot

    Philipp Hörist pushed 2 commits to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *3ad879c7* < https://dev.gajim.org/gajim/gajim/-/commit/3ad879c742ace62976969830e56ae8dabbbec937 > fix: Observable: Don’t allow to register handler multiple times *7079a5ac* < https://dev.gajim.org/gajim/gajim/-/commit/7079a5ac5d8fc691bdb5b707e976518c4d3b6d15 > fix: Roster: Unregister all handlers on destroy

  96. lovetox

    kurion, ^ these two commits should fix the problem

  97. bot

    Philipp Hörist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *a18e577c* < https://dev.gajim.org/gajim/gajim/-/commit/a18e577c5be863810cef88f6a3020d78d3224a26 > fix: Modules: Make sure BaseModule.cleanup() is always called on destroy

  98. pep.

    I'm on a very low bandwidth (budget) plan. I'd like to be able to tell gajim not to download an image before it starts downloading it (when it's figuring stuff out)

  99. lovetox

    you mean in single chat?

  100. pep.

    Also.. I have cancelled a download mid-way, I switched tabs and came back and the download started again :((

  101. pep.

    Yes

  102. lovetox

    we dont store state like cancelled

  103. pep.

    I guessed :P

  104. lovetox

    if you are on low bandwidth, your only option is to disable previews

  105. lovetox

    in preferences

  106. lovetox

    i could see a option that makes it behave the same as in groupchats

  107. lovetox

    so that you have to press a button for all previews

  108. pep.

    Does it disable "automated" preview? Or any preview

  109. pep.

    Well no it's ok not to have to click in general

  110. pep.

    For contacts at least

  111. lovetox

    ahh

  112. lovetox

    i just discovered checkout the filesize limit dropdown

  113. lovetox

    it has a option "no automatic preview"

  114. lovetox

    this means you get the download button for all images

  115. pep.

    It still GETs to see size and all?

  116. lovetox

    hm yes

  117. lovetox

    but that should be no problem or?

  118. lovetox

    if you dont want to do any GET request, you need to disable preview in general

  119. lovetox

    then you will only see a link

  120. pep.

    Ok. Yeah no it's just not useful

  121. lovetox

    your problem statement was, bandwith

  122. pep.

    Sure sure

  123. pep.

    Don't get hung up on words :)

  124. lovetox

    so what you meant was no GET request

  125. lovetox

    yeah then you have to disable preview in general

  126. pep.

    No I did mean bandwidth, it's ok

  127. pep.

    I just imagined there was a magical thing that would do that for me instead of me having to go into preferences, and yeah also remember manual cancels would be great :)

  128. pep.

    (This doesn't require an answer)

  129. lovetox

    we could get rid of the GET request, if we support something like XEP-0447 and clients actually use it

  130. erik

    hmm. isn't that a chicken-and-egg problem? I mean, if clients don't use it, no clients have any reason to implement it?

  131. erik

    would be nice if someone takes a first step...

  132. bot

    Daniel Brötzmann pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *01bebd9a* < https://dev.gajim.org/gajim/gajim/-/commit/01bebd9a5621a9f12796fc9f558232095c8f279a > fix: CSSConfig: Fix parsing float sizes for font description

  133. hannibal

    For metered connection, maybe https://gitlab.gnome.org/GNOME/Initiatives/-/issues/42 could be implemented, though not sure there is much that can be disabled

  134. lovetox

    is this a thing in europe?

  135. lovetox

    ah i see, seems you need to set this on your OS network connection

  136. lovetox

    but one needs to set it manually on the connection i think