Gajim - 2025-07-18


  1. resoli

    > That would be great! šŸ™‚ > Just in case, it's issue number 11767 šŸ‘

  2. resoli

    > That would be great! šŸ™‚ > Just in case, it's issue number 11767 Juan M: saw your comment šŸ™

    ā¤ļø 1
  3. Polarity

    > How do I send a message with a spoiler tag ? > example > this is a message with a spoiler: ā–’ā–’ā–’ā–’ā–’ā–’ Simple, you do not.

  4. Polarity

    I personally consider this formatting feature to be useless and unnecessary, but it may be added in the future to Gajim and other clients.

  5. Polarity

    If you want to, you can create an "issue" on Gitlab to request this feature.

  6. Polarity

    If you want to, you can create an "issue" on Gajim's Gitlab to request this feature.

  7. cal0pteryx

    Thisnis standardized and there is a proof of concept plugin for gajim. But I've never had a look at it

  8. ivan

    Pasting an image from the clipboard in order to send it doesn't work for me. Version 2.3.3 on Windows. Was it removed or it's a bug?

  9. scompo

    > Pasting an image from the clipboard in order to send it doesn't work for me. Version 2.3.3 on Windows. Was it removed or it's a bug? works for me with the 2.3.3 portable version

  10. debacle

    Problem: I'm in a non-anonymous MUC and one of the users appears as "X" to me, while their real nickname is "Y". When I type "X", they don't get a mention notification, because I would have to write "Y". But I can't really know about that. (Well, they told me.) Any idea, what's going wrong in my Gajim 2.3.3?

  11. gimmi

    Hello, is there a way to export OMEMO trust decisions from one Gajim installation to another?

  12. debacle

    > Hello, is there a way to export OMEMO trust decisions from one Gajim installation to another? There is a XEP (standard) for that, but TTBOMK only Kaidan does support it, no other client.

  13. debacle

    > Problem: I'm in a non-anonymous MUC and one of the users appears as "X" to me, while their real nickname is "Y". When I type "X", they don't get a mention notification, because I would have to write "Y". But I can't really know about that. (Well, they told me.) Any idea, what's going wrong in my Gajim 2.3.3? Oh, now I read, that they also see themselve as "X". Will check the details before making more noise here.

  14. lovetox

    gimmi: only if you migrate the installation to a new device. If the device is an additional one then no

  15. lovetox

    scompo: some apps don't work we added a fix for the next version. With what app so do you have the problem?

  16. lovetox

    Sorry I meant ivan

  17. ivan

    > With what app so do you have the problem? I found the problem with Irfanview. I've also tested with Libreoffice-Writer and it works correctly in this case.

  18. debacle

    > Oh, now I read, that they also see themselve as "X". Will check the details before making more noise here. Just for the record: Problem solved by X leaving and re-joining the MUC. Different nickname was maybe introduced by other client (maybe Prose).

    šŸ‘ 1
  19. ivan

    FWIW I'm also using the portable version

  20. lovetox

    ivan: thanks will check if the fix also works for irfanview

    šŸ‘ 1
  21. cal0pteryx

    Gtk inspector offers insights to clipboard contents (global tab, I think). There we can see available mime types for images contained in the current clipboard. image/png and image/bmp are supported in the next gajim version

  22. Link Mauve

    You might want to add support for image/jpeg, image/gif, image/webp, image/avif, image/svg+xml, and possibly for video and audio formats as well.

  23. lovetox

    Very unlikely that something puts this raw in a clipboard

  24. pup xmpp earth

    > You might want to add support for image/jpeg, image/gif, image/webp, image/avif, image/svg+xml, and possibly for video and audio formats as well. You might want to understand what those technically are, the backend and the privacy and security implementations and risk assi

  25. pup xmpp earth

    > You might want to add support for image/jpeg, image/gif, image/webp, image/avif, image/svg+xml, and possibly for video and audio formats as well. You might want to understand what those technically are, the backend and the privacy and security implementations and risk an

  26. lovetox

    But it's not clear to me why we have any limitation on mimetype

  27. pup xmpp earth

    > You might want to add support for image/jpeg, image/gif, image/webp, image/avif, image/svg+xml, and possibly for video and audio formats as well. You might want to understand what those technically are, the backend and the privacy and security implementations and to the user they might be only a picture or video but there a lot more

  28. lovetox

    It's just for uploading we should just pass mime type and bytes on to the server

  29. pup xmpp earth

    > Gtk inspector offers insights to clipboard contents (global tab, I think). There we can see available mime types for images contained in the current clipboard. image/png and image/bmp are supported in the next gajim version S

  30. pup xmpp earth

    > Gtk inspector offers insights to clipboard contents (global tab, I think). There we can see available mime types for images contained in the current clipboard. image/png and image/bmp are supported in the next gajim version So its spying on what you doing locally on your device then

  31. Link Mauve

    lovetox, why would it be unlikely? I routinely copy or dnd AVIF images between programs, it’s the image format I mainly use nowadays.

  32. Link Mauve

    Although on Linux I don’t think I have any such issue.

  33. lovetox

    You copy a file then the file link is put into the clipboard not the content

  34. Link Mauve

    It depends I think, from Firefox when you right click > Copy Image instead of Copy Image Link, you end up with the raw file.

  35. lovetox

    Yeah maybe, as said I don't know why we have any restriction

  36. Link Mauve

    I just tested, when I select Copy Image in Firefox, in Wayland I see this whole list of MIME types being offered: [4042804.526] {Default Queue} wl_data_offer#4278190080.offer("audio/x-riff") [4042804.534] {Default Queue} wl_data_offer#4278190080.offer("image/webp") [4042804.541] {Default Queue} wl_data_offer#4278190080.offer("image/jxl") [4042804.547] {Default Queue} wl_data_offer#4278190080.offer("image/avif") [4042804.554] {Default Queue} wl_data_offer#4278190080.offer("image/tiff") [4042804.561] {Default Queue} wl_data_offer#4278190080.offer("image/jpeg") [4042804.568] {Default Queue} wl_data_offer#4278190080.offer("text/ico") [4042804.574] {Default Queue} wl_data_offer#4278190080.offer("image/icon") [4042804.581] {Default Queue} wl_data_offer#4278190080.offer("image/ico") [4042804.587] {Default Queue} wl_data_offer#4278190080.offer("application/ico") [4042804.594] {Default Queue} wl_data_offer#4278190080.offer("image/vnd.microsoft.icon") [4042804.604] {Default Queue} wl_data_offer#4278190080.offer("image/x-win-bitmap") [4042804.614] {Default Queue} wl_data_offer#4278190080.offer("image/x-ico") [4042804.623] {Default Queue} wl_data_offer#4278190080.offer("image/x-icon") [4042804.632] {Default Queue} wl_data_offer#4278190080.offer("image/x-MS-bmp") [4042804.641] {Default Queue} wl_data_offer#4278190080.offer("image/x-bmp") [4042804.650] {Default Queue} wl_data_offer#4278190080.offer("image/bmp") [4042804.659] {Default Queue} wl_data_offer#4278190080.offer("image/png") [4042804.668] {Default Queue} wl_data_offer#4278190080.offer("text/_moz_htmlcontext") [4042804.676] {Default Queue} wl_data_offer#4278190080.offer("text/_moz_htmlinfo") [4042804.685] {Default Queue} wl_data_offer#4278190080.offer("text/html")

  37. Link Mauve

    I don’t think all of them will work though, like wtf is audio/x-riff doing here?

  38. cal0pteryx

    That's the point! We only allow to process mime types known to work with gtk's internal "get data from clipboard" function. This is not related to file upload mime types. Most programms provide image/png anyway, so be use that. Now some only provide image/bmp, so I added that

  39. cal0pteryx

    I would _not_ pass all mime types through, because that may very well fail later in the chain

  40. Link Mauve

    cal0pteryx, but that will cause the AVIF file to be converted to PNG, possibly losing all HDR, animation, etc. information, and make the file much bigger.

  41. Link Mauve

    And also waste CPU time decoding the AV1 and encoding the PNG, whereas you could just send the bytes as is.

  42. lovetox

    Link Mauve: we don't convert anything

  43. Link Mauve

    The sender does, that’s how those MIME lists work.

  44. lovetox

    ?

  45. Link Mauve

    When the user selects Copy Image, Firefox already knows which formats it’s capable of converting to, so it advertises them all to the compositor. Then Gajim gets that list from the compositor, and picks the format it wants Firefox to convert to.

  46. Link Mauve

    And then when the user asks for the paste, Firefox and Gajim get two ends of a pipe, and Firefox starts converting the format and streams the bytes in the pipe, which Gajim receives.

  47. lovetox

    I'm not interested in any conversion, but I don't see a way in the gtk api to request data without conversion

  48. Polarity

    > cal0pteryx, but that will cause the AVIF file to be converted to PNG, possibly losing all HDR, animation, etc. information, and make the file much bigger. I forgot that the superior AVIF existed.

  49. Polarity

    > cal0pteryx, but that will cause the AVIF file to be converted to PNG, possibly losing all HDR, animation, etc. information, and make the file much bigger. I forgot that the superior AVIF existed, Discord made me forget about it, lol.

  50. lovetox

    Seems we just have to pass every mime type known to man

  51. Link Mauve

    lovetox, I’m talking about it in #wayland, apparently the list should be ordered rather than unordered (here it clearly isn’t), and there is no notion of priority currently.

  52. gimmi

    > gimmi: only if you migrate the installation to a new device. If the device is an additional one then no How can I migrate an installation? I just move ~/.config/gajim and ~/.local/share/gajim?

  53. gimmi

    Tbh, this made me want to try to implement the XEP, but I know I will never have enough time to do it 😢

  54. lovetox

    gimmi: yes that's it

  55. cal0pteryx

    lovetox: the providing application converts it afaik. But still, gtk needs to support processing the format supplied. So I opted for a strict list of known to be working mime types

  56. lovetox

    I do t think that's the case, I dont see why gtk needs to understand the format

  57. lovetox

    From where do you get that impression?

  58. Link Mauve

    lovetox, if you want to display it in addition to sending it to the recipient I guess.

  59. lovetox

    No, then Gajim would need to understand it, not gtk

  60. lovetox

    Afterwards gajim can think about what it does with the data, pass it to Gtk for a preview or display a placeholder icon

  61. lovetox

    But this happens all after we get data from the clipboard

  62. lovetox

    Would be a pretty stupid clipboard api if it would be limited to stuff Gtk understands

  63. lovetox

    I think it's because we use the get_image apo

  64. lovetox

    I think it's because we use the get_image api

  65. lovetox

    Which returns a pixbuf, which probably depends on pixbuf loaders understanding the format

  66. lovetox

    But we should simply use get_content, we don't need a pixbuf

  67. pup xmpp earth

    X11 uses offite servers to do the backend procesing of graphics using ssh a

  68. pup xmpp earth

    X11 uses offite servers to do the backend procesing of graphics using ssh , and somehow people think this is not a problem, lol

  69. moparisthebest

    That's an (optional) feature

  70. pup xmpp earth

    X11 uses offsitd servers to do the backend procesing of graphics using ssh , and somehow people think this is not a problem, lol

  71. pup xmpp earth

    X11 uses offsite servers to do the backend procesing of graphics using ssh , and somehow people think this is not a problem, lol

  72. Link Mauve

    pup xmpp earth, you can use waypipe to achieve the same as ssh -X on Wayland.

  73. pup xmpp earth

    > That's an (optional) feature When anything is a option thats hidden behind the scene thats not disclosed and does something as privacy damaging as sharing your scean

  74. pup xmpp earth

    > That's an (optional) feature When anything is a option thats hidden behind the scene thats not disclosed and does something as privacy damaging as sharing your screan

  75. pup xmpp earth

    > That's an (optional) feature When anything is a option thats hidden behind the scene thats not disclose thats its does something as privacy damaging as sharing your screen , thats a issue

  76. pup xmpp earth

    > That's an (optional) feature When anything is a option thats hidden behind the scene thats not disclose thats its does something as privacy damaging as sharing your screen , thats a serious issue.

  77. pup xmpp earth

    > That's an (optional) feature When anything is a option thats hidden behind the scene thats not disclose thats its does something as privacy damaging as sharing your screen , thats a serious issue.

  78. luca

    Is this about X11 forwarding? The option that is off by default? https://man.openbsd.org/sshd_config#X11Forwarding

  79. jonas’

    mesonium, an alternative explanation would be (to continue the discussion) that Cheogram expects a different ID for subsequent edits

  80. jonas’

    editing the original message vs. editing the edit

  81. jonas’

    I faintly recall a debate about this

  82. mesonium

    Maybe this should be better discussed in the Cheogram Dev Room or XFS Room or Modern XMPP room as it's more generic and touches all clients

  83. jonas’

    mesonium, I'm not in cheogram and didn't find you in the others :)

  84. jonas’

    (because I didn't think of them, honestly)

  85. jonas’

    (I tried a bunch of others, though)

  86. moparisthebest

    >> That's an (optional) feature > When anything is a option thats hidden behind the scene thats not disclosed and does something as privacy damaging as sharing your screan that's not how any of that works though, there's nothing privacy damaging with how X works or running X over ssh

  87. mesonium

    jonas’: I'm not joined all chats all the time :) can't invest time into reading everything, but let me know where to discuss it and I join the channel. Just joined the cheogram dev channel

  88. jonas’

    mesonium, I opened the discussion in jdev@muc.xmpp.org now, but I'll step away from the keyboard for a while now.

  89. lovetox

    ok this clipboard api is weird, it does not tell you what the mime type of the data is in the clipboard, it just offers you a bunch of conversions

  90. lovetox

    ah read_async

  91. lovetox

    > The clipboard will choose the most suitable mime type from the given list to fulfill the request, preferring the ones listed first.

  92. lovetox

    and then it tells you the mime type it chose

  93. lovetox

    but i still need to tell it mime types, so it seems impossible to tell it to return the original mime type

  94. pup xmpp earth

    >> The clipboard will choose the most suitable mime type from the given list to fulfill the request, preferring the ones listed first. So your clipboard is being saved, scanned, and stats if the usage is being shared and logs will be made something that's not required for the clipboard to work

  95. pup xmpp earth

    > Also water is wet, thanks for your valuable input Only simple minded people think things are black & white and simple. There is a glass of water for people like that. Start drinking 'water' H30 heavy 'water' and see how long someone would live, there both water

  96. moparisthebest

    Oh so this is a spammer from another room with a different nick, makes sense now

  97. pup xmpp earth

    I did not spam anything you lie about everyone

  98. moparisthebest

    Only a spammer would quote/reply to a message from another room elsewhere where it was equally offtopic, this'll be my last message about this

  99. lovetox

    ok i checked with gtk folks, and it seems wayland does not have that feature

  100. lovetox

    you cannot ask the provider of the original data of what type the data is

  101. pup xmpp earth

    I did not spam anything you lie about things you dont know anything about, ya that makes sense, your the cause of the problem why i cant post in the other room not me

  102. lovetox

    you can just create somekind of best to worst list, and pass it, and hope the data is not in some kind of format where you have a losey conversion

  103. moparisthebest

    yikes, yet another huge blocker to Wayland becoming usable

  104. lovetox

    funny what the content providers offer

  105. lovetox

    for example copying a webp image, i can convert it to

  106. lovetox

    'audio/x-riff', 'image/webp', 'image/tiff', 'text/ico', 'image/icon', 'image/ico', 'application/ico', 'image/vnd.microsoft.icon', 'image/x-win-bitmap', 'image/x-ico', 'image/x-icon', 'image/x-MS-bmp', 'image/x-bmp', 'image/bmp', 'image/jpeg', 'image/png', 'text/_moz_htmlcontext', 'text/_moz_htmlinfo', 'text/html']

  107. lovetox

    the clipboard is like a super converter

    šŸ˜‚ 1
  108. lovetox

    you want just the audio stream from a webp? no problem

    šŸ˜‚ 1
  109. moparisthebest

    pick the worst possible format always, what would that be there? tiff ?

  110. moparisthebest

    also didn't realize icon was text/ico yowza

  111. lovetox

    worst possible format for a picture is probably audio :D

  112. mesonium

    You either get RGB music or an AI generated image description

  113. mesonium

    You either get RGB 8-bit music or an AI generated image description

  114. moparisthebest

    I'm thinking text/_moz_htmlinfo could possibly be worse but I've literally never heard of it

  115. lovetox

    ok seems svg is not offered at all if you copy a svg image

  116. lovetox

    at least in firefox

  117. moparisthebest

    that seems crazy, I'm very curious if this is a gnome or gtk or Wayland thing

  118. lovetox

    its a firefox thing as i understand it

  119. moparisthebest

    or maybe Firefox

  120. lovetox

    i just tested with chrome

  121. lovetox

    it offers

  122. lovetox

    ['text/x-moz-url', 'chromium/x-source-url', 'chromium/x-internal-source-rfh-token', 'image/png', 'text/html', 'MULTIPLE', 'SAVE_TARGETS', 'TARGETS', 'TIMESTAMP']

  123. lovetox

    also no svg :D

  124. moparisthebest

    did you try copying an svg from chromium or a file picker or something?

  125. lovetox

    no you need to copy it from a website

  126. moparisthebest

    dolphin in KDE for example

  127. lovetox

    of course if i copy a file on my harddisk it will only send the path to the file on disk

  128. lovetox

    this is no problem

  129. lovetox

    but people copy data from other applications

  130. lovetox

    most of the time websites

  131. mesonium

    Hu speaking of Firefox .. https://www.collabora.com/news-and-blog/blog/2025/07/03/pipewire-workshop-2025-updates-video-transport-rust-bluetooth/ > next step is to improve the format negotiation. Unfortunately, this is easier said than done, because some applications (like Firefox) seem to have very strange format requirements and expectations.

  132. lovetox

    hm maybe we should simply ask the user :D

  133. mesonium

    wouldn't get less complex and weird :D

  134. lovetox

    it seems the problem with window is simply it does not offer conversion to png, which i think we have to do ourself

  135. lovetox

    it seems the problem with windows is simply it does not offer conversion to png, which i think we have to do ourself

  136. lovetox

    it just passes a bitmap

  137. lovetox

    i mean it seems the conversion thing is a kind of feature, we could offer a context menu that says "Paste as ..."

  138. lovetox

    and then open a dialog where the user can choose some of the popular mimetypes

  139. lovetox

    and for standard paste, we just convert everything to png

  140. lovetox

    firefox sadly seems to offer the same mime types independent of what you copy

  141. lovetox

    it says it can convert everything to audio, even if you just copy a png file

  142. mesonium

    What happens if you choose audio for a PNG?

  143. lovetox

    hm, i have problem getting any data currently seems to segfault the whole time

  144. alex_

    Gajim 2.2.0 when you disable an account and re-enable it, it clears all your PMs and only the mucs appear... has this been fixed in the current version?

  145. cal0pteryx

    lovetox: but what's the problem right now? I guess most apps offer png/bmp and the rest is converted. Good enough for me if it means Works Evertimeā„¢

  146. cal0pteryx

    lovetox: but what's the problem right now? I guess most apps offer png/bmp and the rest is converted. Good enough for me if it means Works Everytimeā„¢

  147. lovetox

    alex_: no because it's not a bug. Don't disable your account.

  148. lovetox

    cal0pteryx, after finding out how crazy clipboard stuff is, i think what we are doing now is fine

  149. lovetox

    read_async, segfaults the whole time or yields and empty byte string

  150. lovetox

    so even if we wanted we could do not much else

  151. cal0pteryx

    I vaguely remember that I went that path as well once. But only now by reading this :D

  152. ironcastor

    i can't quote/reply to messages in a muc in gajim 2.3.3, is this a bug or removed feature?

  153. lissine

    Is MAM disabled in that room?

  154. lovetox

    no

  155. lissine

    I meant in the room ironcastor is talking about

  156. ironcastor

    what's MAM?

  157. lissine

    Message archive management. It’s an XMPP extension that lets you receive message history after you were offline

  158. ironcastor

    yes it's disabled

  159. lissine

    That’s probably the reason replies and reactions won’t work in that room

  160. lovetox

    yes replies need MAm

  161. lovetox

    reactions need a feature called occupant-id

  162. lovetox

    you need to ask with your server support how you can enable both

  163. lovetox

    or if its not your server, you can ask the admin

  164. ironcastor

    so i need to ask the server owner to enable MAM and occupant-id?

  165. ironcastor

    for the whole muc

  166. lovetox

    is it a MUC on the same server you have registered an account?

  167. ironcastor

    No

  168. lovetox

    ok ... and this muc is important to you why? You can create a groupchat on your own server

  169. lovetox

    i mean of course you can ask the admin of a different server to enable features .. maybe they do it

  170. lovetox

    if not, and these features are very important to you, i suggest moving the groupchat to a server which does support these features

  171. ironcastor

    i put ">" before a message and it quotes

  172. lovetox

    yes thats a quote not a reply

  173. lovetox

    you can also paste copied text as quote via context menu

  174. ironcastor

    oh i see

  175. Neustradamus

    lovetox: I have found a problem on website: https://gajim.org/ -> News -> https://gajim.org/posts/ but there is https://gajim.org/post/ and more: https://gajim.org/post/page/2/ etc

  176. lovetox

    yes thanks its known

  177. lovetox

    we need to delete those

  178. ironcastor

    lovetox, it was a bit confusing because i couldn't see the "quote" option in the 3 dots list of a message

  179. Neustradamus

    You need to redirect: - https://gajim.org/post/ to https://gajim.org/posts/ - https://gajim.org/post/page/2/ etc to https://gajim.org/posts/page/2/ etc

  180. alex_

    > alex_: no because it's not a bug. Don't disable your account. oh...

  181. alex_

    I usually disable accounts when I only want to connect to one at one time :/

  182. lovetox

    alex_, click the account avatar, set the status of the account to offline

  183. alex_

    oh... that is how you do it.

  184. alex_

    What is the purpose of disabling accounts then?

  185. lovetox

    yeah i asked myself the same question a few days ago

  186. lovetox

    something in between going simply offline and removing all data of an account forever

  187. lovetox

    its probably more a developer thing, but not 100% sure