Gajim - 2024-11-21


  1. Lucas

    hello! I have an issue with Gajim 1.9.5. I'm not sure if it was present on 1.9.4 or not. If gstreamer-plugins-base is missing, then Gajim never manages to show a window. The traceback I get is https://clbin.com/eZ7Pm .

  2. meson

    Lucas: thanks, I will look into it. It should have been fully optional.

    👍 1
  3. CuriousPanda84

    Would anybody know why on Ubuntu 24.04 with Gajim 1.9.5 running from flatpak, enabling dark theme does nothing?

  4. CuriousPanda84

    It just keeps the white theme

  5. cal0pteryx

    CuriousPanda84: probably a theme set which does not support dark mode

  6. CuriousPanda84

    gajim is on GTK right? so would I have to install some packages for a dark mode theme set or?

  7. CuriousPanda84

    because I do have normal dark themes for ubuntu in the WM theme settings

  8. cal0pteryx

    Yes, you can try something like adwaita-dark

  9. CuriousPanda84

    I set the default gnome theme to adwaita-dark

  10. CuriousPanda84

    other applications changed, but even after restart Gajim stays white

  11. Link Mauve

    CuriousPanda84, Adwaita-dark should be a dark-only theme, whereas Adwaita should support both a light and a dark variant.

  12. Link Mauve

    The button likely wouldn’t do anything with the former, only with the latter.

  13. meson

    Lucas: have you installed gst temporarily now to make Gajim start?

  14. CuriousPanda84

    > CuriousPanda84, Adwaita-dark should be a dark-only theme, whereas Adwaita should support both a light and a dark variant. this did it lol, thank you.

  15. CuriousPanda84

    I would have expected the dark-only theme to be... dark

  16. Link Mauve

    Me too actually, no idea why it didn’t for you.

  17. CuriousPanda84

    another question, any idea troubleshooting profile pics not showing up for another user? I can see his pfp, he can't see mine. He is also on gajim 1.9.5. The server does show pfp image as uploaded.

  18. CuriousPanda84

    Can't tell if its a gajim issue or a server issue, I imagine its Gajim.

  19. CuriousPanda84

    And no, it's not on this account I know this account doesn't have a pfp :)

  20. cal0pteryx

    CuriousPanda84: that highly depends on your server's avatar conversion modules

  21. Lucas

    meson, yes, I did that

  22. Lucas

    I can uninstall and try out stuff at will. Trying out patches might take some time tho.

  23. meson

    Lucas: I will open a MR now

  24. salmaanahmeedsaad

    ?OTRv23? user*@xmpp.jp/ has requested an Off-the-Record private conversation <https://otr.cypherpunks.ca/>. However, you do not have a plugin to support that. If you are using Pidgin in Debian or Ubuntu,install the pidgin-otr package. See https://otr.cypherpunks.ca/ for more information. Hi how to resolve in gaijim?

  25. Lucas

    thanks a lot, meson. I'll give the MR a shot.

  26. cal0pteryx

    salmaanahmeedsaad: ask your contact to stop using OTR

  27. salmaanahmeedsaad

    > salmaanahmeedsaad: ask your contact to stop using OTR thx

  28. meson

    Lucas: #1103

  29. Lucas

    ty

  30. nexus

    hi, is it possible to save my xmpp account on gajim on tails? so i dont have to login everytime that i boot my tails os?

  31. voker57

    that's kinda defeating the purpose of tails but rather a question for Tails, anyway

  32. nexus

    ik. but every time i re-loging all the messages i recieved using omemo cannot be decypted.

  33. kurion

    Hi people.

  34. kurion

    I sent a file to a contact using HTTP file upload using Gajim

  35. kurion

    it was quite some time ago

  36. kurion

    I noticed today that the file is still available at that URL

  37. cal0pteryx

    kurion: that's your server's policy

  38. kurion

    If Archiving preference is set to 'never' for my account and also on the contact's end does it affect how long the files are kept available?

  39. kurion

    If Archiving preference is set to 'never' for my account and also on the contact's end does it affect how long the files are kept available for?

  40. kurion

    thanks cal0pteryx for the info

  41. cal0pteryx

    kurion: setting it to "never" comes with many undesirable side effects. Please don't do that

  42. kurion

    I see

  43. kurion

    but does it influence the save period of files?

  44. kurion

    or is it just for plain messages?

  45. cal0pteryx

    It does not influence how long your server provider stores that file, no

  46. cal0pteryx

    The provider's archive may remove that link, but the file may persist

  47. pechka

    Hello everyone, can anyone help me with the problem? I want to create a python bot for Gajim that will log in under my account and receive new messages sent to me. These messages are then sent to the telegram bot and I can view them on my phone. But here's the problem, after I pass xmpp to the authorization request, the error "Failed to connect" appears (the library I use is slixmpp). Maybe I'm not sending all the data to the server? p.s. If I check the connection with the server via cmd, the packets are successfully transmitted

  48. lovetox

    Join the slixmpp support chat and ask them

  49. lovetox

    Why do you think that is related to gajim

  50. pechka

    Ok, thanks. After all, Gajim is also written in python, maybe the same errors have already occurred during development...

  51. cal0pteryx

    pechka: different xmpp libraries

  52. Link Mauve

    pechka, why don’t you just use an XMPP client directly on your phone?

  53. pechka

    > pechka, why don’t you just use an XMPP client directly on your phone? Because the xmpp app is not free on Google Play

  54. chud

    pechka: it's free on fdroid

  55. voker57

    what? plenty of free xmpp clients on both GPlay and F-Droid

  56. voker57

    much freer than telegram in both senses lol

  57. pechka

    > pechka: it's free on fdroid Really? I saw only one free application, it seemed to be called yaxim... But it is old, so it is not supported by my phone(

    😁 1
  58. voker57

    https://conversations.im is the most popular one

  59. Kris

    Yes really, they are all free on f-droid.org

  60. Kris

    https://joinjabber.org/docs/apps/android/

  61. Louis2

    Kris: is it your website?

  62. Kris

    I am a contributor to it, yes.

  63. Louis2

    👌

  64. Link Mauve

    pechka, even in Google Play, you have a bunch of Conversations forks for free, such as Snikket.

  65. meson

    >> Though old gtk4 version not tested with that > well, it looks like I'll wait till I update debian to next stable before I can test gajim-gtk4 :) >> Gajim needs gtk4 >= 4.14.0 (found 4.8.3) to run. Quitting... You could test and develop it in some container, e.g. with Distrobox @ nicoco

  66. meson

    >> Though old gtk4 version not tested with that > well, it looks like I'll wait till I update debian to next stable before I can test gajim-gtk4 :) >> Gajim needs gtk4 >= 4.14.0 (found 4.8.3) to run. Quitting... You could test and develop it with the help of some container, e.g. with Distrobox @ nicoco

  67. lovetox

    Simply build the flatpak

  68. meson

    True, so many possibilities :)

  69. Lucas

    meson, I got around to test it. First of all, for context, I'm running into this by trying out an 1.9.5 update in OpenBSD. As such, I'm interested in 1.9.5 working, so I did some modifications to your patch (mostly changing `"` to `'`, but the widget required a bit more of work). https://dev.gajim.org/gajim/gajim/-/blob/master/gajim/gtk/voice_message_recorder.py?ref_type=heads#L259 seems to need the same treatment as I used in my patch. You can check my diff at https://clbin.com/2Tbn3 .

  70. Lucas

    I'm currently running Gajim without any gstreamer installed in my machine after that patch

    👍 1
  71. meson

    Lucas: " and ' are treated the same in Python, it's just a matter of style

  72. meson

    About the other method, thanks, have overlooked it

  73. meson

    About the other property, thanks, have overlooked it

  74. Lucas

    I mean, it seems that the change from `'` to `"` ocurred in the codebase after 1.9.5. That's why I had to adjust the patch.

  75. meson

    Yeah, sorry

  76. nicoco

    > >> Though old gtk4 version not tested with that > > well, it looks like I'll wait till I update debian to next stable before I can test gajim-gtk4 :) > >> Gajim needs gtk4 >= 4.14.0 (found 4.8.3) to run. Quitting... > You could test and develop it with the help of some container, e.g. with Distrobox @ nicoco thanks for the suggestion, I had a go a distrobox which looked interesting. unfortunately I can't run gajim because of an obscure: ``` (launch.py:239105): GStreamer-CRITICAL **: 16:10:13.832: gst_element_factory_make_valist: assertion 'gst_is_initialized ()' failed [...] File "/home/nicoco/src/perso/xmpp/gajim/gajim/gtk/voice_message_recorder.py", line 77, in __init__ self._pipeline = Gst.Pipeline.new("pipeline") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: constructor returned NULL ``` maybe I'll look into the flatpak thing for my next try ;)

  77. nicoco

    > >> Though old gtk4 version not tested with that > > well, it looks like I'll wait till I update debian to next stable before I can test gajim-gtk4 :) > >> Gajim needs gtk4 >= 4.14.0 (found 4.8.3) to run. Quitting... > You could test and develop it with the help of some container, e.g. with Distrobox @ nicoco thanks for the suggestion, I had a go at distrobox which looked interesting. unfortunately I can't run gajim because of an obscure: ``` (launch.py:239105): GStreamer-CRITICAL **: 16:10:13.832: gst_element_factory_make_valist: assertion 'gst_is_initialized ()' failed [...] File "/home/nicoco/src/perso/xmpp/gajim/gajim/gtk/voice_message_recorder.py", line 77, in __init__ self._pipeline = Gst.Pipeline.new("pipeline") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: constructor returned NULL ``` maybe I'll look into the flatpak thing for my next try ;)

  78. nicoco

    before that I had to manually apply https://github.com/g7/distrobox/commit/fe73a87596cd6350d7ef24eb5e67da3361e65c9f because it didn't reach debian stable yet 🤣

  79. meson

    nicoco: because gstreamer isn't installed, see the chat history directly above :)

  80. nicoco

    libgstreamer1.0-0 is installed though

  81. meson

    With plugins-base?

  82. nicoco

    > gstreamer1.0-plugins-base/unstable,now 1.24.9-1 amd64 [installed,automatic] indeed! I should try another distro than debian sid I guess

  83. meson

    I tried it with Archlinux

  84. bot

    wurstsalat pushed 4 commits to branch gajim/master revert: Revert "change: Windows: Disable file system virtualization for MS Store app" - https://dev.gajim.org/gajim/gajim/-/commit/56bebd9059639a169114871822d3bf9653a4a92f refactor: Exception: Remove Windows debugging workaround - https://dev.gajim.org/gajim/gajim/-/commit/d6d2d070db35a720e8fd03b0aa2b3261e95d4168 refactor: AppPage: Sort widgets correctly in update notification rows - https://dev.gajim.org/gajim/gajim/-/commit/3ae77c916be7e42c422a770028c23f33532ca362 refactor: FileTransferRow: Disable expanding horizontally - https://dev.gajim.org/gajim/gajim/-/commit/2790cbf265d2de122d9125c8544aee5eee9a4c61

  85. terro

    Allo, thanks you for the work on Gajim. Is possible to change order of account display on left UI?

  86. lissine

    If you disable an account and re-enable it (from Accounts -> Manage Accounts...) it'll be on the bottom of the list

  87. terro

    Yes sir I am hopeful to avoid this but maybe the only way? I will lose this local history which not save on XMPP server yes?

  88. lissine

    > I will lose this local history which not save on XMPP server yes? No

  89. lissine

    Disabling an account and re-enabling it doesn't result in chat history deletion

  90. lissine

    Though you may need to reopen the chats manually via the + button -> start chat, to browse their history

  91. terro

    Oh yes I see your approach, just disabling not delete. I will try this thank you @lissine :)

  92. terro

    Probably not persist well for restarting?

  93. lissine

    > Probably not persist well for restarting? what do you mean?

  94. terro

    When Gajim restart maybe the order change to show by seq connnecting

  95. lissine

    I'm not sure

  96. lissine

    But I guess it stays the same, as I didn't notice the order changing between Gajim restarts

  97. terro

    I will try it. thank you again lissine

    🙏 1
  98. lissine

    To the Gajim maintainers: this is a minor thing, but is it on purpose that when you disable an account and re-enable it, only the group chats will appear in the chats list? (i.e. 1-to-1 chats will need to be opened manually, or the contact needs to send a message, for them to appear in the chats list)

  99. cal0pteryx

    lissine, it's not "on purpose" but "not accounted for" ;) I've done a MR a while ago to store these settings: https://dev.gajim.org/gajim/gajim/-/merge_requests/913

    👍 2❤ 1
  100. cal0pteryx

    and up until the GTK4 port it worked flawlessly :) I'll rebase it when we're starting to work on new features again

  101. bot

    wurstsalat pushed 1 commits to branch gajim/master refactor: Flatpak: Remove GTK4 TODOs - https://dev.gajim.org/gajim/gajim/-/commit/bc3b02baa1b3253bc247f68209afc96783cc5fdb