Gajim - 2024-10-16


  1. based

    lissine: which part of linux for example would you suppose it should be implemented into and why would they comply

  2. based

    that is a massive piece of software that usually is its own application, if not, then implemented in i18n code or similar, i dont see why an operating system would provide such an api...

  3. debacle

    That's probably something for freedesktop: Create a dbus API for a translation service. How this is implement, if it is local or remote, etc. were up to the specific implementation. Gajim etc. could use this API, maybe as a plugin, because such an API would not be available on Windows?

  4. debacle

    But it seems to me, that freedesktop is a little bit ... undermaintained?

  5. deport

    Not that it's ideal but any translation project could sidestep freedesktop if necessary and make their own translation dbus spec. The fact that client side translation exists in Firefox makes me feel like this shouldn't be too hard.

  6. bob

    > bob: check the status indicatir It is green. I guess I have to turn on debug logging.

  7. debacle

    Sure. Any project could step in, and if they are the first, they will probably the "standard" on all Linux systems. But I guess, that Gajim will *not* be that project 😀️

  8. debacle

    Sure. Any project could step in, and if they are the first, they will probably become the "standard" on all Linux systems. But I guess, that Gajim will *not* be that project 😀️

  9. chud

    why would it have to be a dbus? just exec this https://github.com/soimort/translate-shell

  10. concerto

    Hi, Gajim is crashing on launch. Debian Testing, gajim-nightly v20241003-1 (1.9.5) ``` Traceback (most recent call last): File "/usr/lib/python3/dist-packages/gajim/gtk/application.py", line 382, in _handle_local_options self._startup() File "/usr/lib/python3/dist-packages/gajim/gtk/application.py", line 263, in _startup MainWindow() File "/usr/lib/python3/dist-packages/gajim/gtk/main.py", line 149, in __init__ self._load_chats() File "/usr/lib/python3/dist-packages/gajim/gtk/main.py", line 1359, in _load_chats self._chat_page.load_workspace_chats(workspace_id) File "/usr/lib/python3/dist-packages/gajim/gtk/chat_page.py", line 291, in load_workspace_chats self.add_chat_for_workspace(workspace_id, File "/usr/lib/python3/dist-packages/gajim/gtk/chat_page.py", line 263, in add_chat_for_workspace client.get_module('Contacts').add_private_contact(jid) File "/usr/lib/python3/dist-packages/gajim/common/modules/contacts.py", line 173, in add_private_contact raise ValueError(f'Trying to add GroupchatParticipant {jid}, ' ValueError: Trying to add GroupchatParticipant tinkering@conference.macaw.me/oceane, to BareContact tinkering@conference.macaw.me (jabjab.de) ```

  11. concerto

    Hi, my Gajim just started crashing on launch. Debian Testing, gajim-nightly v20241003-1 (1.9.5). ``` Traceback (most recent call last): File "/usr/lib/python3/dist-packages/gajim/gtk/application.py", line 382, in _handle_local_options self._startup() File "/usr/lib/python3/dist-packages/gajim/gtk/application.py", line 263, in _startup MainWindow() File "/usr/lib/python3/dist-packages/gajim/gtk/main.py", line 149, in __init__ self._load_chats() File "/usr/lib/python3/dist-packages/gajim/gtk/main.py", line 1359, in _load_chats self._chat_page.load_workspace_chats(workspace_id) File "/usr/lib/python3/dist-packages/gajim/gtk/chat_page.py", line 291, in load_workspace_chats self.add_chat_for_workspace(workspace_id, File "/usr/lib/python3/dist-packages/gajim/gtk/chat_page.py", line 263, in add_chat_for_workspace client.get_module('Contacts').add_private_contact(jid) File "/usr/lib/python3/dist-packages/gajim/common/modules/contacts.py", line 173, in add_private_contact raise ValueError(f'Trying to add GroupchatParticipant {jid}, ' ValueError: Trying to add GroupchatParticipant tinkering@conference.macaw.me/oceane, to BareContact tinkering@conference.macaw.me (jabjab.de) ```

  12. meson

    > it would be great if the OS would provide some API to locally translate stuff Indeed!

  13. meson

    Just learned, Dino and Conversations do not offer reactions in MUC PMs, so Gajim should probably disable them for consistency there too

  14. lovetox

    ? Why not

  15. meson

    Dino, dunno C, Daniel refuses and argues no one would use MUC pms, therefore no interest

  16. meson

    Was just shortly discussed in the C MUC

  17. Kris

    muc PMs are just very poorly implemented in Conversations, sp no wonder no one uses them

  18. Kris

    muc PMs are just very poorly implemented in Conversations, so no wonder no one uses them

  19. Kris

    half the time people get confused and leak PMs in replies because it is all in line

  20. Kris

    terrible UX

  21. concerto

    > Hi, my Gajim just started crashing on launch. Debian Testing, gajim-nightly v20241003-1 (1.9.5). > > ``` > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/gajim/gtk/application.py", line 382, in _handle_local_options > self._startup() > File "/usr/lib/python3/dist-packages/gajim/gtk/application.py", line 263, in _startup > MainWindow() > File "/usr/lib/python3/dist-packages/gajim/gtk/main.py", line 149, in __init__ > self._load_chats() > File "/usr/lib/python3/dist-packages/gajim/gtk/main.py", line 1359, in _load_chats > self._chat_page.load_workspace_chats(workspace_id) > File "/usr/lib/python3/dist-packages/gajim/gtk/chat_page.py", line 291, in load_workspace_chats > self.add_chat_for_workspace(workspace_id, > File "/usr/lib/python3/dist-packages/gajim/gtk/chat_page.py", line 263, in add_chat_for_workspace > client.get_module('Contacts').add_private_contact(jid) > File "/usr/lib/python3/dist-packages/gajim/common/modules/contacts.py", line 173, in add_private_contact > raise ValueError(f'Trying to add GroupchatParticipant {jid}, ' > ValueError: Trying to add GroupchatParticipant tinkering@conference.macaw.me/oceane, to BareContact tinkering@conference.macaw.me (jabjab.de) > ``` What can I do to get it working again?

  22. lovetox

    Delete the contact from your roster with another client

  23. meson

    lovetox: > ? Why not @dino > I don't really recall the reason anymore, but might have been along the lines of "would have required additional effort and muc pms aren't as important as direct chats and mucs"

  24. meson

    From fiaxh

  25. kali [she/they]

    > half the time people get confused and leak PMs in replies because it is all in line did this yesterday lmao

  26. kali [she/they]

    > half the time people get confused and leak PMs in replies because it is all in line i did this yesterday lmao

  27. concerto

    lovetox: I don't have that person in my roster 🤔

  28. lovetox

    Hm

  29. lovetox

    Seems bad I think we need to fiddle in the database then

  30. lovetox

    Are you sure

  31. lovetox

    Not the person the groupchat

  32. concerto

    Oh, the group chat. Okay, I'll try that.

  33. concerto

    lovetox: deleted the MUC bookmark, started Gajim, same error. 👀

  34. lovetox

    Hm no idea I can look into it later

  35. donnerwetter

    I have a question: Is this MUC in English, because it deals almost exclusively with technical issues? That's my guess and I don't know whether I'm right or wrong.

  36. cal0pteryx

    donnerwetter: it is in english, because english is a common language most people can work with. Giving support in multiple languages would multiply the work

  37. donnerwetter

    cal0pteryx: Thank you for your feedback. I can understand that multilingualism would also mean more work for the developers.

  38. julian

    With a name like Donnerwetter, I assume German. So if need be and translation tools like deepL fail. I can help translate

  39. roughnecks

    is there any reasonable way to move my data from Windows installer to Windows store app?

  40. concerto

    Could someone help me out with the crash on launch issue? 🥲

  41. concerto

    Could someone help me out with the crash-on-launch issue? 🥲

  42. concerto

    It's kind of a crappy situation, not having a working desktop client...

  43. cal0pteryx

    concerto: you've been promised help, but you have to be patient :)

  44. concerto

    Yeah 😭

  45. lovetox

    In a few minutes

  46. lovetox

    concerto try to delete cache.db

  47. lovetox

    ~/.cache/gajim

  48. concerto

    lovetox: thanks, but same error 🙁

  49. lovetox

    ok lets have a look in ~/.config/gajim/settings.db

  50. lovetox

    there is a table settings

  51. lovetox

    and there is a row : workspaces

  52. concerto

    lovetox: it's called settings.sqlite here for some reason

  53. lovetox

    yeah

  54. lovetox

    look if you find the jid in that workspace row json

  55. lovetox

    or send me the full content of the settings column from the workspace row

  56. concerto

    oof, big ball of JSON

  57. lovetox

    yeah look if you find the jid

  58. lovetox

    tinkering@conference.macaw.me

  59. concerto

    lovetox: yeah, I see it...one for the room and one for the MUC PM. Should I remove them?

  60. lovetox

    can you post them here

  61. concerto

    PM'd the JSON

  62. bot

    lovetox pushed 1 commits to branch gajim/master chore: Update translations - https://dev.gajim.org/gajim/gajim/-/commit/2dcd56fcb552be5c7cb5132e3c04c23565f689e3

  63. concerto

    Seems to be fixed, thanks for the help lovetox 😃

    👍 1
  64. roughnecks

    > is there any reasonable way to move my data from Windows installer to Windows store app? I guess "no".

  65. lovetox

    yes

  66. lovetox

    you dont need to move it at all

  67. lovetox

    windows version will just pick up your data

  68. lovetox

    except you used a portable install

  69. lovetox

    roughnecks, ^

  70. lovetox

    but ms store version is not the most current version, we currently have problems updating it

  71. roughnecks

    oh, okay, thanks lovetox

  72. roughnecks

    lovetox: one last thought. Will it also use the same OMEMO key?

  73. lovetox

    yes it just picks up the same config dir

  74. lovetox

    but dont use both versions side by side, this will fuck up your data

  75. lovetox

    as both write to the same location

  76. roughnecks

    great, I'll try and see if the slowness I'm experiencing goes away "magically".. I just quit gajim from setup.exe so it shouldn't be a problem

  77. lovetox

    there is no reason to believe the store version is faster

  78. roughnecks

    with deltachat it is

  79. roughnecks

    not the same thing, but..

  80. lovetox

    its the same executeable just in a different location

  81. roughnecks

    ah

  82. lovetox

    the difference is not in the software, the difference is the distribution

  83. roughnecks

    if I do erase all of my chats history, would that help with this generic slowness of the whole interface? switching mucs/workspaces, scrolling chat and even typing sometimes has hiccups

  84. meson

    You could try and rename logs.db, a new log.db will be created or you could start Gajim with `--profile=profilename` to test with a new profile

  85. roughnecks

    but a new profile means no accounts. I don't want to se everything up again from scratch

  86. roughnecks

    but a new profile means no accounts. I don't want to set everything up again from scratch

  87. lovetox

    if you want to test something, download the portable version

  88. lovetox

    if you are on a laptop check your power settings

  89. lovetox

    maybe it runs in some kind of power saving mode

  90. roughnecks

    no, it's a desktop and I believe when you say it's only the distribution which changes, but I just uninstalled the store app, it was even slower

  91. lovetox

    maybe enable debug logging it prints how long database calls take, maybe thats a hint

  92. lovetox

    its hard to talk about slowness, it might be slow for you, and totally acceptable for someone else

  93. roughnecks

    pushed the red button and now every room is blank and it feels a bit better.. why didn't it pull latest history from MAM though?

  94. lovetox

    because it makes not sense?

  95. lovetox

    you push a button to delete messages, and Gajim should load it from the server instantly again?

  96. Hugo

    The pop-up with a QR code for OMEMO keys is cropped:

  97. Hugo

    https://upload.whynothugo.nl:5281/file_share/pgEAZKzGzQ7OVZzqzcGvuIMU/7c184bb6-938a-41f8-be79-416f25ea15b7.png

  98. lovetox

    hm yes you can work around that by making the window bigger

  99. Hugo

    Nope. I made the window fullscreen.

  100. Hugo

    The QR code is always on top.

  101. Hugo

    If the window is taller, I just gain empty space underneath this list.

  102. Hugo

    https://upload.whynothugo.nl:5281/file_share/pADsTaBCR5SjtyCikoLeCKDQ/5fe179c0-4f00-4075-abce-44035741fbd8.png

  103. roughnecks

    > you push a button to delete messages, and Gajim should load it from the server instantly again? well, it's not like my history was from a week ago, more like years.. so

  104. Hugo

    Note that the QR code is not a real "pop-up", in the sense that it does not extend out of the parent window; it is cropped to not overflow the parent window.

  105. lovetox

    Hugo, what OS?

  106. Hugo

    Alpine Linux. Using sway version 1.10-dev-2686afb9

  107. lovetox

    thats a limitation of the window manager i guess, it seems to not allow gtk to draw outside of the parent window

  108. donnerwetter

    I would like to have a marker that shows the point up to which I have already read a discussion. Does this already exist or can it be programmed?

  109. Hugo

    https://upload.whynothugo.nl:5281/file_share/zyGAEksr1Wc_VxzZtL3uJX6X/c82160ae-c320-40a7-8280-a4714cbdf567.png

  110. Hugo

    Works fine for Firefox.

  111. Hugo

    I think the issue is that the QR is not rendered as a separate (pop-up) surface; it's being rendered as part of the same surface, so obviously gets cropped.

  112. lovetox

    no it works fine here on ubuntu

  113. lovetox

    but there is a constrain setting we could try, also we could make it pop down, then the bigger window works

  114. anontor

    looks like brett baier just massacred kamala harris. 🤣️

  115. anontor

    wow brett came with his A game. she was not expecting that.

  116. hyol

    anontor: Who the fuck is Brett Bayer and why is he relevant to Gajim?

  117. anontor

    sorry wrong room

  118. hyol

    No prob

  119. anontor

    why does gajim flip the rooms.

  120. anontor

    lol

  121. hyol

    I haven't noticed that. Then again, I have been using an old version.

  122. anontor

    you can think one room is the top chatting away and that rooms has changed. 🤣️

  123. anontor

    the room list changes based on latest comments.

  124. hyol

    Can't you tell based on the messages inside it?

  125. anontor

    I was paying attention like that. I was watching kamala harris get massacred by brett baier.

  126. anontor

    I wasn't paying attention like that. I was watching kamala harris get massacred by brett baier.

  127. based

    i picked quite the unfortunate username lol

  128. anontor

    sorry. 🤣️

  129. anontor

    yes you did. 🤣️