Gajim - 2024-04-11


  1. de-facto

    how do i join a transport to my roster?

  2. de-facto

    it shows up as "groupchat" in service discovery, but i can not join it

  3. nicoco

    Rebeld: I also don't use a DE (well, i3wm). When one does that, one has to expect to need to fiddle with configuration for apps to behave as they want. What does `xdg-mime query default image/jpeg` reports?

  4. Morbid

    can Gajim be configured to autoplay attached gifs?

  5. meson

    Is this broken? There's an issue to have them to play by click instead: https://dev.gajim.org/gajim/gajim/-/issues/10708

  6. cal0pteryx

    Morbid: not at the moment. There is afix available, but I would like to avoid auto playing gifs

  7. Morbid

    Ah, alright. Trying to get some people to give XMPP & Gajim a try, but there's some pondering regarding feature parity (compared to Signal desktop for instance). Personally I don't mind this missing all that much.

  8. meson

    Morbid: Except for A/V Calls, GIFs, Reactions and Quotes, which is being worked on, are there any other additional features only Signal Desktop offers, which are useful?

  9. Morbid

    Not that I can think of. Maybe stickers, but I wouldn't put it up there in the useful category :)

  10. lovetox

    is it now possible to register without telephone number with singal?

  11. defal

    > is it now possible to register without telephone number with singal? I remember it beeing an option on beta, not sure if it works on the latest versions

  12. de-facto

    Does anyone know how to join a transport to the roster?

  13. de-facto

    it wrongly shows as a groupchat but i can not join it

  14. de-facto

    is gajim aware of the concept of XMPP transports?

  15. de-facto

    lol trying to join it as a contact makes gajim crash

  16. rom1dep

    > is it now possible to register without telephone number with singal? IIRC you still need phone numbers for registration, but you can opt out of being discovered via your phone number and use a nickname as your peers-visible identifier

  17. de-facto

    is it possible to edit the roster manually somehow? apparently its not possible to join a transport with gajim to it

  18. lovetox

    de-facto, about what transport are you talking

  19. de-facto

    its a biboumi irc bridge on my prosody server

  20. lovetox

    so you want to join a groupchat

  21. de-facto

    yes i already joined some groupchats on that transport component (irc channels), but i want the transport itself to show up in the roster a stransport so i can perform ad-hoc commands on it

  22. de-facto

    btw the transport shows up as a groupchat in service discovery

  23. lovetox

    thats because biboumi advertises it that way (wrongly)

  24. lovetox

    type the address in the service disocvery window

  25. lovetox

    and then you can execute adhoc commands with the button

  26. lovetox

    works for me, for both the component, and the irc server

  27. lovetox

    and yes Gajim should not allow to add groupchats to the roster

  28. de-facto

    yes i can execute ad-hoc commands from there, but how do i join the transport into the roster?

  29. lovetox

    you should not, it will create problems

  30. de-facto

    where is the roster stored? can i edit some file for that?

  31. lovetox

    no, Gajim will break

  32. lovetox

    Groupchats should not be in the roster

  33. lovetox

    this breaks assumptions

  34. de-facto

    i did do that long time ago and still have one transport under "Transports" in the roster, but i dont remember anymore how to join it

  35. lovetox

    there is no way if the address advertises itself as groupchat

  36. de-facto

    i want this because it shows the server messages etc

  37. lovetox

    you can do it from another client that is less strict

  38. de-facto

    how would i join a transport into the roster in gajim though?

  39. lovetox

    roster is stored on the server

  40. lovetox

    there is no gajim roster

  41. lovetox

    try to add the address to your roster from another client

  42. de-facto

    ok will try to edit the roster on prosody

  43. de-facto

    hmm now it shows like a groupchat under transports (the lightbulb) but the other transport (on same prosody + biboumi) has the hash # symbol

  44. de-facto

    how do i change it from lightbulb to hash symbol?

  45. lovetox

    you cant, it is determined on discovery

  46. lovetox

    and as said, biboumi advertises itself as groupchat

  47. de-facto

    but now i have one with the hash and another with the lightbulb, so it is possible somehow to change it from lightbulb to hash (since such a transport is present already)

  48. de-facto

    it works but gajim shows the wrong symbol for it

  49. lovetox

    no

  50. lovetox

    icon is determined from disco

  51. de-facto

    can i trigger re-discovery somehow?

  52. lovetox

    why do you think it yields a different result?

  53. lovetox

    try restarting Gajim

  54. de-facto

    because i have another transport that is setup on the server exactly in same way that shows as hash

  55. lovetox

    another transport, not biboumi?

  56. de-facto

    another instance of biboumi

  57. lovetox

    you have 2 instances of bioumi installed on your server?

  58. de-facto

    yes

  59. de-facto

    as separate components

  60. lovetox

    are you sure you comparing apples with apples

  61. lovetox

    what adress did you add to your roster?

  62. lovetox

    the component, or the irc server

  63. de-facto

    componentname.jid.of.xmpp.server

  64. lovetox

    on what version of Gajim are you?

  65. de-facto

    version 1.3.3

  66. lovetox

    open a chat, write a message, or restart

  67. lovetox

    such things could maybe trigger a disco

  68. de-facto

    can i delete the config in gajim so it re-creates its roster from the server?

  69. lovetox

    i think so, by deleting .cache/gajim/cache.db

  70. de-facto

    Hmm now gajim does not work anymore i will delete everything gajim in my home directory

  71. meson

    `MAIN_WIN_ACTIONS`: What do the variant types `s`, `as`, `a{sv}` mean?

  72. lovetox

    https://lazka.github.io/pgi-docs/#GLib-2.0/classes/VariantType.html#GLib.VariantType

  73. meson

    thx

  74. meson

    Wth, XWayland keeps regularly crashing using PyCharm 😐

  75. de-facto

    Hmm trying to reconnect my accounts from scratch gajim just freezes for hours when doing that, all i can do is kill it and nuke its directories again

  76. de-facto

    Gui completely unresponsive

  77. cal0pteryx

    de-facto: try removing that transport roster entry using a different client

  78. de-facto

    How can i avoid gajim to freeze on logging into a new account?

  79. de-facto

    Other clients work without any problem

  80. cal0pteryx

    by deleting the offending roster entry using a different client

  81. cal0pteryx

    yes. we made some assumptions about group chats not being added to the roster, which backfires now

  82. de-facto

    It has a number at its title in square braces that counts up

  83. de-facto

    For hours and hours

  84. de-facto

    Until it completely freezes

  85. cal0pteryx

    not sure what you want to hear

  86. de-facto

    What is it doing when joining an account?

  87. rom1dep

    > Wth, XWayland keeps regularly crashing using PyCharm 😐 meson: recently updated X11 and pycharm? Check this out https://youtrack.jetbrains.com/issue/IDEA-350864/Display-server-crashing-on-Ubuntu-Linux-due-to-antialiasing-settings

  88. de-facto

    And what does that counter mean?

  89. de-facto

    Also it takes 2GB (!) of memory

  90. cal0pteryx

    > What is it doing when joining an account? it fetches your roster and most likely crashes there. delete the offending chat using a different client (I wrote this three times now)

  91. meson

    rom1dep: thanks, hopefully the today's xwayland update on TW will do it

  92. meson

    cal0pteryx, Start/Pause/Resume/Stop/Send already work for a single chat, but I'm currently using a global instance and I've decided to first solve the problem of re-setting the recording state when changing the chat and resuming when going back before pushing to gitlab.

  93. meson

    https://share.conversations.im/meeson_/VDh997VkCxpfoKUS/Screenshot_20240411_212647.png

  94. cal0pteryx

    meson: I think it's common practice to stay focused on one chat while recording a voice message. on Telegram for example, you need to hold a button even

  95. meson

    current state, but I plan to upgrade it later with a nice live graph visualisation and integrate part of the player, which could show up, when pausing. but that would need to abstract the other classes a bit more.

  96. meson

    So you'd say when switching chat the recording should just stop and the progress be lost?

  97. meson

    Then I'd definitely add a confirmation dialog.

  98. meson

    I mean that would makes things a lot easier :)

  99. meson

    > on Telegram for example, you need to hold a button even even on the desktop? 🙀️

  100. cal0pteryx

    > So you'd say when switching chat the recording should just stop and the progress be lost? yes. plus a confirmation dialog, exactly

  101. meson

    Okay, fine for me.

  102. lovetox

    i would go one step further

  103. lovetox

    pressing record opens a modal overlay dialog

  104. lovetox

    which shows all that

  105. lovetox

    so you cannot do anything in Gajim until the recording is stopped

  106. meson

    Mhmm I thought to find it quiet useful to continue working/chatting while recording an audio.

  107. lovetox

    but then you cannot design it as popover like you do here

  108. lovetox

    then it needs to be a floating dialog beside or over the application

  109. lovetox

    i would say a user wants to always know that a recording is running

  110. lovetox

    not only if he finds the correct chat again

  111. meson

    Not if we go with >> So you'd say when switching chat the recording should just stop and the progress be lost? > yes. plus a confirmation dialog, exactly The dialog can be opened/closed any time to control the recording

  112. meson

    There's indicator: the mic icon changes to a red dot when recording

  113. lovetox

    but you dont see this icon if you are not in this chat

  114. lovetox

    and implementing somekind of confirmation dialog whenever switching away sounds complicated

  115. lovetox

    you can do a lot more switching in gajim then just chat

  116. lovetox

    there are multiple ways how the chat gets hidden

  117. lovetox

    pressing your avatar, pressing a workspace, ..

  118. meson

    I see ...

  119. lovetox

    i find it extremly ugly to implement everwhere a hook that asks if a recording is running

  120. lovetox

    for me it seems much easier to provide the feature in a separate dialog

  121. lovetox

    its easier in every way, you dont need to care what in Gajim happens, the user sees always the state of the recording .. etc

  122. lovetox

    this would be the simplest way for sure

  123. lovetox

    maybe not the prettiest

  124. lovetox

    if you want to go for more pretty, i could think that the recording is maybe in some bar we show at the top of gajim?

  125. lovetox

    or a little overlay in some corner?

  126. lovetox

    or you leave it like it is

  127. lovetox

    but if you switch, we show a big button somewhere to jump back to thechat?

  128. lovetox

    but really all this sounds like much more complex and buggy all for some kind of subjective idea of prettiness

  129. lovetox

    i dont care much about pretty, it needs to do the job, and people dont use messengers because they are pretty

  130. lovetox

    it needs to be functinal

  131. lovetox

    and a separate dialog is hard to beat in my opinion

  132. cal0pteryx

    don't you think this would be sufficient? https://lazka.github.io/pgi-docs/#Gtk-3.0/classes/Popover.html#Gtk.Popover.set_modal + binding to this signal https://lazka.github.io/pgi-docs/#Gtk-3.0/classes/Popover.html#Gtk.Popover.signals.closed

  133. cal0pteryx

    if a user clicks outside, closed is emitted, and this is where we can ask if we want to send

  134. lovetox

    but meson said he want to use Gajim while recording

  135. cal0pteryx

    yep, that's not possible. but I doubt that's useful anyways

  136. lovetox

    i could imagine some people recording their live story while doing something else

  137. lovetox

    not sure if we need to plan for this

  138. cal0pteryx

    not with Gajim !!1

  139. lovetox

    maybe lets start with a modal thing, and wait for users requesting the feature

  140. lovetox

    but yeah if meson goes with modal, that hook seems useful

  141. meson

    Alright, I go with whatever you guys suggest. Just tell me which direction you prefer. Things can be still changed/made more pretty later if needed.

  142. meson

    Alright, I go with whatever you guys suggest. Just tell me which direction you prefer. Things can later be still changed/made more pretty later if needed.

  143. meson

    Alright, I go with whatever you guys suggest. Just tell me which direction you prefer. Things can be still changed/made more pretty later if needed.

  144. lovetox

    i would go for the modal popover

  145. lovetox

    and hook into the popover closed signal with some confirmation dialog

  146. meson

    > yep, that's not possible. but I doubt that's useful anyways My thought was that you could still be able to talk about what was posted in the chat history w/o needing to remember it.

  147. meson

    > i would go for the modal popover > > and hook into the popover closed signal with some confirmation dialog Okay

  148. vanis

    hi