Gajim - 2024-10-28


  1. otyugh

    Hey there ! I'm gonna ask the question most people must make at first, and I'm sorry, but... Is there a plan about supporting audio call in the future ? (and is it a money issue ? Is there something a non dev can do about it ?)

  2. meson

    I wonder why some icons such as for the _Chat Details and Settings_ button vanish, when unfocusing Gajim's main window in the gtk4 branch.

  3. otyugh

    > Hey there ! I'm gonna ask the question most people must make at first, and I'm sorry, but... Is there a plan about supporting audio call in the future ? (and is it a money issue ? Is there something a non dev can do about it ?) Last mention I found about audio call support goes back to a 2021 update about "clean up but mostly outdated for now")

  4. hannibal

    otyugh: there are open MRs but they depend on changes of third-party libraries, which needs to be applied/accepted first

  5. hannibal

    otyugh: there are open MRs but they depend on changes of third-party libraries, which need to be applied/accepted first

  6. Link Mauve

    meson, you should ask this kind of question in #gtk, they are helpful about how to debug such issues.

  7. otyugh

    > otyugh: there are open MRs but they depend on changes of third-party libraries, which need to be applied/accepted first Does it means it's out of Gajim's hand ? (dino use third party stuff then ?)

  8. meson

    Link Mauve: is there a way to join the irc channel in Gajim bc of the registration?

  9. Link Mauve

    Didn’t you do that yesterday?

  10. meson

    I used Libera Chat's website

  11. otyugh

    > otyugh: there are open MRs but they depend on changes of third-party libraries, which need to be applied/accepted first Does it means it's out of Conversation/Gajim's hand ? (dino use third party stuff then ?) (oh just found out in dependance libwebrtc-audio-processing1 -> okay webrtc is it then)

  12. Link Mauve

    Once you’ve started the join of the channel, you have to talk to xmpp:nickserv%25irc.libera.chat@irc.jabberfr.org and tell it your password, or use an ad-hoc command with xmpp:irc.libera.chat@irc.jabberfr.org to tell it your username and password.

  13. Link Mauve

    Ah, I thought I gave you the JID yesterday.

  14. Link Mauve

    But nothing is different whether you use their webchat or Gajim, the process is the same.

  15. hannibal

    otyugh: audio calls between conversations and Dino should already work. You could always build the dependencies with your changes locally, but for a stable release depending on stable release of 3rd-party libs should be preferred.

  16. hannibal

    Someone, not necessarily a Gajim maintainer, has to work with third party, to get changes upstream.

  17. otyugh

    Oh it should ? I tried calling myself (using two different xmpp account) and : 1) could only initiate a call from dino (that seemed to land instantly ? there is no pick up the phone thing ?) 2) nothing happened from gajim's viewpoint

  18. otyugh

    Oh it should ? I tried calling myself (using two different xmpp account using dino/gajim) and : 1) could only initiate a call from dino (that seemed to land instantly ? there is no pick up the phone thing ?) 2) nothing happened from gajim's viewpoint

  19. otyugh

    Oh it should ? I tried calling myself (using two different xmpp account using dino/gajim) and : 1) could only initiate a call from dino (that seemed to land instantly ? there is no pick up the phone thing ?) 2) nothing happened from gajim's viewpoint also I'm using sid, the versions should be pretty cutting edge ?

  20. meson

    otyugh, A/V calls between Conversations (Android) and Dino should work, Gajim is not compatible currently

  21. Link Mauve

    Gajim and Dino should be compatible I think?

  22. otyugh

    Oh it should ? I tried calling myself (using two different xmpp account using dino/gajim) and : 1) could only initiate a call from dino (that seemed to land instantly ? there is no pick up the phone thing ?) 2) nothing happened from gajim's viewpoint dino 0.4.4-1 and gajim 1.9.5

  23. Link Mauve

    Dino can do both encrypted and unencrypted calls, and Gajim only unencrypted.

  24. otyugh

    > Someone, not necessarily a Gajim maintainer, has to work with third party, to get changes upstream. Which was my initial push to ask "who should we turn to" if say, I wanted to redirect money to make it done (although I have no idea how pricey it'd be).

  25. Link Mauve

    And Conversations and web clients only encrypted.

  26. meson

    Link Mauve, I see, thanks for the update!

  27. lovetox

    otyugh: https://dev.gajim.org/gajim/gajim/-/merge_requests/995

    👁️ 1
  28. lovetox

    You can try and contact the developer

  29. theuae

    It would be cool to have an XMPP client with Mumble integrated

  30. Link Mauve

    meson, this is all documented in biboumi’s documentation, but it might differ per IRC services as all of them have their quirks.

  31. Link Mauve

    theuae, Mumble is a different and incompatible protocol, you can have multi-protocol clients like Pidgin (I don’t know if it has a Mumble plugin though), or even gateways.

  32. Link Mauve

    theuae, Mumble is a different and incompatible protocol, you can have multi-protocol clients like Pidgin (I don’t know if it has a Mumble plugin though), or even gateways though.

  33. cal0pteryx

    > I wonder why some icons such as for the _Chat Details and Settings_ button vanish, when unfocusing Gajim's main window in the gtk4 branch. meson: I'm having a look later

  34. meson

    if you find a solution, I'd be interested to know ;)

  35. meson

    cal0pteryx, it's related to the icon, changing the feather- to `system-users-symbolic` resolves the issue.

  36. meson

    question is why

  37. cal0pteryx

    I see. I'll let you know :)

  38. theuae

    I'm aware that Mumble isn't related to XMPP, Link Mauve, I just like the idea of using one client for both services

  39. Link Mauve

    theuae, check multi-protocol clients or gateways then, a pure XMPP client wouldn’t implement a second unrelated protocol when Jingle already does everything Mumble does and more.

  40. meson

    > I see. I'll let you know :) it doesn't vanish actually, it just gets the wrong color: light gray and light gray ;)

  41. meson

    > I see. I'll let you know :) it doesn't vanish actually, the stroke just gets the wrong color: light gray and light gray ;)

  42. meson

    > I see. I'll let you know :) it doesn't vanish actually, the stroke just gets the wrong color: light gray on light gray ;)

  43. theuae

    I'm generally unfamiliar with XMPP voip solutions so do feel free to correct me if I'm wrong. I don't think that there's any one way of calling on XMPP that works across all clients/platforms. Hence, mumble

  44. theuae

    It seems like every client has their own slightly different implementation

  45. Link Mauve

    theuae, you may have heard of Jitsi Meet or Zoom, both of which use XMPP for voice and video calls.

  46. theuae

    Oh really? That's interesting. I thought Jitsi used its own thing for the chatting, I guess not.

  47. Link Mauve

    It uses the MUC protocol, like we are using here. :)

  48. Link Mauve

    And does the call negociation over MUC as well.

  49. Kris

    Mumble is simple enough that you could make a plugin for Gajim most likely.

  50. meson

    > it doesn't vanish actually, the stroke just gets the wrong color: light gray on light gray ;) In KDE Plasma Settings, the gtk theme is Adwaita. The gtk inspector reports wrongly Breeze on opening in Global/Settings. Changing it to Adwaita in the inspector leaves the UI unchanged therefore. Changing it to Breeze fixes the issue.

  51. cal0pteryx

    meson: so a DE issue

  52. meson

    > meson: so a DE issue I've changed the icon to `feather-user-symbolic` the 1.9.5 gtk3 branch and the bug does not appear there

  53. meson

    > meson: so a DE issue I've changed the icon to `feather-user-symbolic` in the 1.9.5 gtk3 branch and the bug does not appear there

  54. rom1dep

    testing the Gtk4 branch, the ctrl+N action is wayyyyyy slower than before

  55. meson

    > meson: so a DE issue the only thing I can imagine is that it loads the color style for the SVG for the a dark theme variant on un-focus as it becomes white. I'm not sure if it is a DE issue. Aren't you on Tumbleweed with Plasma as well?

  56. meson

    rom1dep, at least for me performance hasn't changed.

  57. cal0pteryx

    meson: it also depends on svg format. I had to convert them to work in both light and dark mode, i.e. as symbolic icons.

  58. cal0pteryx

    rom1dep: hm, that shouldn't be the case. Would be interesting to see a performance profile. The new start chat dialog uses gtk's new listview for ++++performance ;)

  59. rom1dep

    yeah, it used to take, like, 3s, now it's more like 13

  60. cal0pteryx

    rom1dep: for startup, that is?

  61. rom1dep

    nope, to populate the list at ctrl+n

  62. cal0pteryx

    Yes, that's what I meant. And after that it's fluid?

  63. rom1dep

    it used to be very very bad, then lovetox to whom I complained several years ago added some pixmap (IIRC?) cache and it went to "unusable" to "meh"

  64. rom1dep

    after that it's fine

  65. rom1dep

    I'll have to dig up that profiler I used back then

  66. rom1dep

    https://github.com/benfred/py-spy IIRC

  67. cal0pteryx

    rom1dep: it's good to have this early feedback!

  68. cal0pteryx

    Let's wait for lovetox to appear. A profile might help though. I wonder if we already have a test for that

  69. meson

    cal0pteryx: it actually uses the 32px png and _not_ the svg

  70. meson

    and even if I rename the png to *.bak, it won't pick up the svg but shows a missing icon placeholder instead

  71. cal0pteryx

    Maybe the icon hasn't been converted correctly. Gtk offers a special tool to create symbolic png files

  72. cal0pteryx

    > and even if I rename the png to *.bak, it won't pick up the svg but shows a missing icon placeholder instead that might be due to the iconcache

  73. meson

    I've removed the cache in `~/.cache/gajim/*` and now I got no avatars at all and the icon is still missing (with the renamed png) :>

  74. meson

    * only my own avatar

  75. cal0pteryx

    No that's not what I meant. There is a special file in gajim/data/icons

  76. cal0pteryx

    But I'm not on a 🖥️ right now

  77. rom1dep

    > Let's wait for lovetox to appear. A profile might help though. I wonder if we already have a test for that apparently my python is too recent for the latest released py-spy, so I built py-spy from source, only to be met with "Collecting stack traces from native extensions (`--native`) is not supported on your platform."

  78. meson

    > But I'm not on a 🖥️ right now no problem, we can check that later :) not of utmost importance

  79. meson

    rom1dep, you can do `python -m cProfile -o prof.out launch.py` and then use e.g. snakeviz or whatever

  80. rom1dep

    meson: I like about py-spy that I can just fire it up whenever I am hitting a slow path

    👍 2
  81. meson

    Emojis also look a bit weird on my gtk4 branch :)

  82. meson

    https://share.conversations.im/meeson_/xr4EjKh0XRiqe2gm/Screenshot_20241028_185353.png

  83. cal0pteryx

    Emoji rendering is influenced by the gsk backend set on your machine. I had to override this for Windows for example as a temporary measure for a different issue. I think GSK_BACKEND is what it's called

  84. cal0pteryx

    Also depends on your gtk4 version

  85. Eduard T

    Looks like it's some gtk4 issue, Daino is having the same issue for some users

  86. Eduard T

    Looks like it's some gtk4 issue, Dino is having the same issue for some users

  87. meson

    on the same machine I don't have issues with Dino

  88. cal0pteryx

    It definitively is, but maybe it can be fixed by switching to another renderer

  89. meson

    yes, GDK_BACKEND=wayland renders it wrong, GDK_BACKEND=x11 works - on Wayland

  90. cal0pteryx

    Lol

  91. meson

    Gajim then runs as an.XWayland app: not sure where to report it now: to the kwin devs or to the gtk devs?

  92. cal0pteryx

    meson: https://dev.gajim.org/gajim/gajim/-/blob/gtk4/gajim/gtk/application.py#L223

  93. rom1dep

    funny, my emojis look alright, but the reaction bar shown on the screenshot is all over the place with apparently multiple buttons groups overlaping one another

  94. meson

    > meson: https://dev.gajim.org/gajim/gajim/-/blob/gtk4/gajim/gtk/application.py#L223 with GSK_RENDERER=cairo no emojis are rendered for me anymore :)

  95. sayari

    hello

  96. rom1dep

    https://upload.tamytro.org/upload/a3849b367f4dd4cedd5ad6f64afa7645b7d4f834/7bBxJMg3gKrr10pzA4P3AVhXSRtbuvLbY0Rvb7Z9/9e487b7c-4b1a-48f2-92f4-318b537341ca.png

  97. rom1dep

    > funny, my emojis look alright, but the reaction bar shown on the screenshot is all over the place with apparently multiple buttons groups overlaping one another ↑

  98. rom1dep

    oh, apparently I can't embed an image in a reply

  99. meson

    > oh, apparently I can't embed an image in a reply There's an issue for that

    👍 1
  100. meson

    https://dev.gajim.org/gajim/gajim/-/issues/11916

  101. cal0pteryx

    rom1dep, looks like your theme is missing a 'linked' class then ;) which theme do you use?

  102. rom1dep

    breeze, but apparently it renders fine on gtk3

  103. rom1dep

    just used ctrl+shift+i to switch it to adwaita and indeed, it's fine then

  104. meson

    > breeze, but apparently it renders fine on gtk3 can confirm the issue on Breeze and that it works fine with Adwaita

  105. meson

    https://discuss.kde.org/t/gtk4-apps-don-t-follow-breeze-theme/2969/2

  106. meson

    > he Breeze GTK theme does support GTK 4 apps in general, but not the ones using the libadwaita styling. It’s possible that it could in the future, but this hasn’t been done yet because the GNOME folks have made it hard, and libadwaita is yet another moving target we would have to keep on top of. from Jul 2023, but it seems the situation hasn't changed much

  107. meson

    > The Breeze GTK theme does support GTK 4 apps in general, but not the ones using the libadwaita styling. It’s possible that it could in the future, but this hasn’t been done yet because the GNOME folks have made it hard, and libadwaita is yet another moving target we would have to keep on top of. from Jul 2023, but it seems the situation hasn't changed much

  108. meson

    never mind I head "does not" ...

  109. meson

    rom1dep, I think this needs to be reported to the kde devs with a minimal example code

  110. meson

    could be fixed by https://invent.kde.org/plasma/breeze-gtk/-/merge_requests/69 maybe

  111. meson

    .

  112. lovetox

    how is this relevant? we dont use libadwaita or?

  113. meson

    lovetox: I am for too long in front of the screen, I read the sentence as 'it doesnt support gtk4' accidentally, sorry. I will better shut down now

  114. meson

    just a last thing I've noticed: avatars in the group chat participant list are rendered blurry with a scaling of 2x:

  115. meson

    https://share.conversations.im/meeson_/Pbz6wzqNQ3d2vVBA/Screenshot_20241028_210316.png

  116. cal0pteryx

    yes, that's a known issue. if we supply a scale factor, they are scaled, but cut off

  117. cal0pteryx

    treeviews are deprecated, and I think we can live with that until it has been replaced

  118. meson

    Also one could consider moving away from cairo to snapshot texture rendering later

  119. meson

    Yeah in gtk5 all cell renderers will go away

  120. rom1dep

    Gtk5 already? that sounds exhausting

  121. lovetox

    there are no plans for gtk5 to my knowledge

  122. meson

    https://docs.gtk.org/gtk4/migrating-4to5.html

  123. meson

    rom1dep: ^ No idea of any time plan

  124. lovetox

    looks to me just like a list whats deprecated

  125. lovetox

    everything is titles "is going away"

  126. lovetox

    no work has been done to actually make it going away

  127. lovetox

    also the first sentence reads > GTK 5 does not exist yet, so we cannot be entirely sure what will be involved in a migration

    👍 1
  128. meson

    > GTK5 ? > > We need to open a .90 branch to do things that would break the APIs that we have deprecated now (...) > suggestion is to open a 4.90 development branch after 4.12. That would put it towards the end of this year, and 3 years after the 4.0 release, which seems reasonable. Looks like this hasn't happened in 2023 and not in 2024 :P https://blog.gtk.org/2023/02/09/updates-from-inside-gtk/

  129. meson

    > GTK5 ? > > We need to open a .90 branch to do things that would break the APIs that we have deprecated now (...) > suggestion is to open a 4.90 development branch after 4.12. That would put it towards the end of this year, and 3 years after the 4.0 release, which seems reasonable. Looks like this indeed hasn't happened in 2023 and not in 2024 :P https://blog.gtk.org/2023/02/09/updates-from-inside-gtk/

  130. lovetox

    removing things is not a reason to release a new major version

  131. lovetox

    they first need to work on the things for which users want to upgrade

  132. cal0pteryx

    that document is a WIP migration changelog. it will get filled while gtk5 is being developed. it's like we would start a changelog for gajim 3.0

  133. meson

    Sure it's just a collection of ideas in what directions they want to go. > Yeah in gtk5 all cell renderers will go away I should have phrased this better and added a "likely" or "could"