Gajim - 2023-10-17


  1. opal

    what horseshit are you huffing today, j4

  2. opal

    pass some to me

  3. opal

    i need the flavour of the month

  4. umu

    who is j4

  5. umu

    what ru talking ab

  6. agh

    maybe opal is already well into the huffing, pass that good shit here compa opal! I want a turn too.

  7. opal passes it to agh

  8. agh takes in a big lung full

  9. opal

    i havent died yet

  10. agh

    /exhales and escapes with happiness and joy

  11. opal

    uncancelable by law

  12. PMR

    i would comment on this exchange but i might get booted

  13. opal

    oh im not naming names, this is all good fun pmr

  14. agh

    PMR, good point, thanks.

  15. PMR

    then in good fun i say this is some silly chatting for a dev channel

  16. opal

    :D

  17. PMR

    then again i'm not going to say this is discord where some power tripping lard can come down and tell people to quit it

  18. PMR

    hopefully

  19. opal

    ah nah we know our place where it matters

  20. agh

    PMR, right you are.

  21. PMR

    speaking of, does gajim have a roadmap?

  22. opal

    https://dev.gajim.org/gajim/gajim/-/milestones

  23. PMR

    releases are called milestones?

  24. opal

    milestones for the releases in question

  25. PMR

    wait who was using AVIF i've never even heard of that file type

  26. PMR

    do people really use anything beyond jpeg png and even gif commonly?

  27. opal

    webp is all the rage somehow

  28. opal afk~

  29. PMR

    webp always breaks for me and you can just rename it to png and it usually works

  30. umu

    its over

  31. Polixgen

    > do people really use anything beyond jpeg png and even gif commonly? @PMR yes i use webp, webm and avif

  32. PMR

    webm isn't really what i'd consider an "image" format

  33. PMR

    although i didn't say that but i thought it was assumed

  34. PMR

    still besides that, why webp or avif

  35. Polixgen

    its better

  36. Polixgen

    saves up storage

  37. Polixgen

    newer technology

  38. Lightning Bjornsson (they, he, xe/hir)

    suspicious

  39. Polixgen

    amogus

  40. opal

    >you can just rename it to png and it usually works thats your filetype associations doing that

  41. opal

    set the same viewer for .webp filetype

  42. opal

    and update libwebp, there was a recent vuln

  43. PMR

    Does storage matter for images less then a megabyte usually? or are you saving huge images

  44. opal

    webp is just a flexible format with a simple api, thats the pro of it

  45. opal

    the con is it isnt mature

  46. PMR

    he was talking about avif i think in regards to better storage and newer technology

  47. PMR

    not that something being newer is inherently better.

  48. PMR

    then again maybe it's different in regards to people who actually make images using it, instead of just saving others stuff

  49. opal

    ah i kinda dont think about avif, never really come across it

  50. opal

    yeah theres a difference between portable graphics and intermediate-format graphics

  51. opal

    if a digital camera saves only jpegs its probably shit

  52. PMR

    i dont remember which but i think it may be jpeg that lots of colors bloats the file size

  53. PMR

    whereas with png it'll be a fraction

  54. opal

    the inverse

  55. opal

    png's good for screenshots with lots of solid and reused colours

  56. Lightning Bjornsson (they, he, xe/hir) +block

  57. opal

    thanks for publicly announcing shit nobody cares about

  58. PMR

    yeah i remember some images being horribly bloated in file size on one of them

  59. PMR

    each has their use i guess

  60. PMR

    does gajim have a file size limit for avatars or support animated ones?

  61. agh

    > thanks for publicly announcing shit nobody cares about 🤣️😂️👌️

  62. agh

    PMR, when I convert a photo from .jpg to .png, the filesize often increases. There maybe configuration that can reduce it.

  63. PMR

    yeah but there's less blurryness on pngs

  64. opal

    >does gajim have a file size limit for avatars or support animated ones? xmpp itself will have those limits

  65. opal

    unless stuff has changed drastically

  66. PMR

    i mean im sure there's ways to have a good phot in each with fiddling , maybe

  67. opal

    svg avatars have the benefit of inline embedding... hm

  68. opal

    cool

  69. agh

    > yeah but there's less blurryness on pngs Yeah true.

  70. PMR

    then again you could use a gif for a static image, but im not sure the benefits

  71. PMR

    > >does gajim have a file size limit for avatars or support animated ones? > xmpp itself will have those limits sometimes you forget gajim is just an interface for xmpp

  72. PMR

    onramp? not sure the word

  73. Izaya

    re: does size matter for small images, for home-hosting it does; for a gigabit pipe 500k vs 1M is little practical difference until you're dealing with thousands of people, but on 20Mbps it's quite significant

  74. PMR

    megabits versus megabytes is one of the greatest scams isps commit

  75. PMR

    i didn't even know that until recently

  76. opal

    >sometimes you forget gajim is just an interface for xmpp i cant forget because i see bugs that should never ever ever happen even in buggy software

  77. PMR

    speaking of, gajim doesn't have automatic gif playback, that's intended right?

  78. opal

    click it and it xdg-opens

  79. PMR

    yeah i noticed, just wondering if that would be possible

  80. opal

    possible yes

  81. opal

    we already have message redactions for mods who cant take heat :3

  82. PMR

    are you talking about spoilered text?

  83. opal

    deleted messages

  84. opal

    wiht a tombstone replacement should your client support it, and gajim does

  85. PMR

    huh, i don't think i've ever seen that

  86. PMR

    i see italic and bold but no spoilered text, though

  87. opal

    i just saw it inflicted upon myself earlier :)

  88. PMR

    is that just not in there? or is it somewhere else

  89. PMR

    ~test~

  90. opal

    you can't delete other people's messages because you aren't a moderator

  91. PMR

    No no not that

  92. PMR

    i mean spoilered text

  93. opal

    i didnt mean spoilered text

  94. PMR

    i'm wondering if that's in gajim or not

  95. opal

    xmpp used to have basic htnml formatting

  96. opal

    html*

  97. opal

    everyone decided that was too much of a hassle

  98. opal

    xmpp has a long fruitful past

  99. PMR

    i guess not, that kind of sucks

  100. PMR

    you would think spoilered text would be a basic function

  101. opal

    you would think discord expats would be basic people

  102. PMR

    any features you specifically would like in gajim that's not there yet?

  103. opal

    if i have any then i can submit patches just like every other dev

  104. opal

    thats why im here

  105. PMR

    is it a group consensus on what gets in?

  106. opal

    it's whoever writes the code and cares to maintain it

  107. opal

    that's how foss succeeds

  108. opal

    many of its users give back

  109. PMR

    wouldn't something poorly coded get rejected if it doesn't fit the programs scope?

  110. opal

    and some of us have a perverted sense of humour and like doing a little trolling anyway

  111. PMR

    or would it just get forked into a different version

  112. opal

    if it's poor code you'll probably get comments on how to fix it

  113. opal

    i always test stuff myself to see if it works

  114. PMR

    so you would accept community contributions? or is it only among the mods

  115. opal

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

  116. opal

    create an account and go ham

  117. opal

    if you really want to figure it out

  118. PMR

    Just wondering, but that's good to know that user submissions are accepted

  119. opal

    welcome to foss

  120. PMR

    Is gajim under GPL 3.0 or whatever? or does that not apply to this type of program

  121. opal

    in this particular case youre right

  122. PMR

    To it not applying? or it being GPL

  123. PMR

    I may be over asking questions, in which case i aplogize.

  124. umu

    gajim doesn't work when sending 5gb files btw

  125. umu

    it's over

  126. agh

    Like using Python?

  127. concerto

    PMR: https://dev.gajim.org/gajim/gajim/-/blob/master/COPYING?ref_type=heads

  128. Cyrille

    hello, I’m with gajim 1.8.1 on Linux. Is it possible to connect using BOSH, or Websocket ? If so, how ?

  129. Cyrille

    Hello

  130. Kris

    Cyrille: no, but I guess you need that because of some firewall problem?

  131. Kris

    You can configure a server to use port 443 for xmmps

  132. Kris

    You can configure a server to use port 443 for xmpps

  133. lovetox

    Cyrille: websocket is possible but you have to configure your server correctly so it can be discovered

  134. Cyrille

    yes that’s the reason

  135. Cyrille

    I use jabber.fr, there is ws.jabberfr.org that uses websocket

  136. Cyrille

    how can I tell gajim to try websocket first ? (I suppose the jabber.fr server is correctly configured)

  137. Cyrille

    when I’m at certain workplace, my xmpp connection is refused (port blocked)

  138. Cyrille

    $ curl -L https://jabber.fr/.well-known/host-meta <?xml version='1.0' encoding='utf-8'?> <XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'> <Link rel='urn:xmpp:alt-connections:xbosh' href='https://bosh.jabberfr.org/'/> <!--<Link rel='urn:xmpp:alt-connections:websocket' href='wss://ws.jabberfr.org/'/>--> </XRD> --- Found info in XEP-156. It’s commented, so it seems it’s not enabled…

  139. Cyrille

    I’ve found info here : https://wiki.jabberfr.org/JabberFR but maybe that’s not the case anymore…

  140. lovetox

    Account connection - hostname

  141. Cyrille

    yes… and I put what there ? ws.jabberfr.org ?

  142. Cyrille

    or wss://ws.jabberfr.org/ url ?

  143. lovetox

    The second

  144. Cyrille

    ok I try right now

  145. lovetox

    And direct tls

  146. Cyrille

    ok

  147. Cyrille

    which port ?

  148. Cyrille

    silly question sorry

  149. lovetox

    443 I guess

  150. Cyrille

    yes websocket is improved http

  151. Cyrille

    slow but working !!

  152. Cyrille

    thank you, I wouldn’t have find the right thing to put to connect via websocket

  153. PMR

    👍️

  154. Cyrille

    so now I can still be connected at work, thanks a lot

  155. Cyrille

    maybe some UI improvement could be done in that popup

  156. lovetox

    Cyrille: gajim chose websocket automatically when no other connection method works

  157. lovetox

    But I'm unsure if jabber.fr has discovery configured correctly

  158. Cyrille

    yes misconfigured, they list bosh (not supported by gajim) and … not websocket. I mean, it’s there, but within xml comments, so for gajim it’s not there

  159. Link Mauve

    We had an issue with Converse which failed to connect with WebSocket.

  160. Link Mauve

    That’s why it’s currently disabled.

  161. Link Mauve

    Could you check if the latest version of Converse works?

  162. Link Mauve

    It’s the web client we host on our website.

  163. Cyrille

    yes I can check that

  164. Kris

    conversejs uses the .well-known discovery method only. I guess Gajim can also do the DNS version?

  165. Kris

    the DNS version is easier to add, so the jabber.fr admins might do it if you ask nicely

  166. bot

    Daniel BrĂśtzmann pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *3f24fd56* < https://dev.gajim.org/gajim/gajim/-/commit/3f24fd563cc2a0098944a743d36bc0462b5171a6 > fix: NotificationManager: Update actions if online state changes Fixes #11642

  167. Cyrille

    Kris : https://xmpp.org/extensions/xep-0156.html you can find in §4:  Entities that use these connection methods MUST only fetch host-meta over Transport Layer Security (TLS), and MUST only use 'https' or 'wss' URLs that are protected using TLS. A previous version of this XEP defined a DNS method to look up this info using a TXT _xmppconnect record, this was insecure and has been removed. 

  168. Kris

    ah, right. I remember now

  169. Kris

    sorry for the mis-info

  170. Cyrille

    no problem, it made me read the whole rfc/xep

  171. Cyrille

    about conversejs, I, then, cannot test it with the server I used, because its well-known host-meta file only list bosh method (even if websocket is working too)

  172. Cyrille

    if conversejs allows me to override host-meta info then, yes I can check

  173. Kris

    you can manually configure it, but them it doesn't use XEP-0156

  174. Kris

    you can manually configure it, but then it doesn't use XEP-0156

  175. Cyrille

    yes, but I can test if websocket with jabber.fr works, so that LinkMauve can uncomment websocket part in host-meta file of jabber.fr

  176. cal0pteryx

    Is there some online web tool which checks if xmpp websocket is available and working?

  177. Cyrille

    Link Mauve ça semble très bien fonctionner

  178. Cyrille

    Link Mauve je suis connectĂŠ via conversjs lĂ 

  179. Cyrille

    Link Mauve en websocket

  180. Link Mauve

    Ok, je laisse ça comme ça alors. :)

  181. Cyrille

    Link Mauve blabla

  182. fjklp

    what determines the fact that fasfasdfasf

  183. fjklp

    what determines the fact that left-clicking text and raising it above the current line does not select the whole line in gajim?

  184. fjklp

    what determines the fact that left-clicking text and raising the cursor above the current line does not select the whole line in gajim?

  185. fjklp

    it's more complex than that, but it works differently from most applications

  186. fjklp

    for example, attempting this on a single-line post in the chat view will not work

  187. fjklp

    I guess it's because the location of the cursor has to be a text input area, maybe this is actually normal

  188. lovetox

    because there is only one line

  189. lovetox

    i would guess

  190. lovetox

    not sure what you mean exactly

  191. lovetox

    i have a text editor here, and raising the mouse above the line would only select everything if the cursor jumps to the next line and select everything

  192. fjklp

    It varies by application. With the Featherpad editor, you can type text on the first line and it works.

  193. fjklp

    It varies by application. With the Featherpad editor, you can type text on the first line and it works to click, raise the cursor, and select all text to the left.

  194. fjklp

    It also works in firefox for the first line

  195. fjklp

    It also works in firefox for the first line with a text file

  196. lovetox

    yes true, i can reproduce this with firefox

  197. lovetox

    its simply not a feature with GTK input boxes as it seems

  198. bot

    Philipp HĂśrist pushed 1 commit to branch _refs/heads/master_ of _gajim_ < https://dev.gajim.org/gajim/gajim >: *e126f7ba* < https://dev.gajim.org/gajim/gajim/-/commit/e126f7ba4fc328f3388963fc8c0bb3a9fd2350a4 > fix: Chatstates: Remove timeout id on remote timeout

  199. fjklp

    Opening the 'Modify Accounts' menu is slow for me. It seems like it's doing something more than generating the list of accounts. Is this right?

  200. fjklp

    anyway, it seems like it might make more sense to just make the list of accounts, then load additional account menu settings when that account is selected, for performance

  201. cal0pteryx

    fjklp: start by debugging what takes long to load for you. It loads instantly for me

  202. fjklp

    I have a fair number of accounts

  203. fjklp

    but I know it shouldn't take long to load 20 account names or whatever

  204. fjklp

    it takes over 2 seconds to load the menu

  205. fjklp

    it takes over 2 seconds to load the menu. I would expect that only loading account names would be instant even if there are 100 accounts.

  206. Veronica

    python moment

  207. lovetox

    yes all the widgets are generated when the window is opened

  208. lovetox

    so the more accounts the slower it goes

  209. lovetox

    but on the other hand, is having 20 acconts added to gajim really necessary

  210. lovetox

    so yes of course we could optimize this, but much work for very little people

  211. lovetox

    and the only benefit would be to load the window 1 second faster

  212. fjklp

    i see no upside to the current way

  213. Kris

    it exists?

  214. fjklp

    that yes

  215. lovetox

    but thats it, it exists and works, to change something we have to invest time

  216. lovetox

    and this time is weight against the benefit

  217. fjklp

    I understand

  218. fjklp

    it looks like new chats are not searchable until after gajim is restarted. Is this a bug or a design decision?

  219. lovetox

    new chats?

  220. lovetox

    a groupchat?

  221. fjklp

    I tested with a groupchat

  222. lovetox

    sounds like a bug

  223. umu

    gajim crashes when u send files that r really big

  224. umu

    4 GB

  225. umu

    or so

  226. umu

    its over

  227. cal0pteryx

    umu, jingle file transfers don't work reliably in gajim, regardless of file size

  228. umu

    i mean

  229. umu

    http

  230. umu

    upload downlaod file preview thingo

  231. umu

    it crashes even if u hab file previews disabled

  232. umu

    not crashes but

  233. umu

    gives error and makes it so ur gajim gets really slow!!!

  234. umu

    im trying to send training data to my friend of the project we're working on and its like NOPE

  235. umu

    even with file previews disabled 2 its the wierdest thing

  236. cal0pteryx

    umu, I doubt you're using http upload, since your provider would have to support files that big (only very few do)

  237. cal0pteryx

    gajim uses jingle file transfers automatically, if the server doesn't support files of that size

  238. cal0pteryx

    jingle is used as a fallback here. you can easily check that http upload limit by looking at your server info window -> features tab -> (XEP-0363)

  239. cal0pteryx

    you would probably have to send these large files by other means, i.e. another platform

  240. cal0pteryx

    or try Dino, see if it works for 5 GB files ;)

  241. fjklp

    > jingle is used as a fallback here. you can easily check that http upload limit by looking at your server info window -> features tab -> (XEP-0363) I didn't know that it's shown there. Also you can hover your pointer over the Send File button to show a tooltip with the limit for your currently used account

  242. fjklp

    you might be able to use split to get around limits if you want to bother

  243. snow

    I am having trouble sending a "note to myself" between Gajim and Monal. Messages from Monal appear in Gajim, but messages from Gajim do not appear in Monal.

  244. snow

    Any ideas on how to fix this? I don't know if it's an issue with Gajim, Monal, or the server.

  245. snow

    It's a Snikket server.

  246. fjklp

    do you get a warning icon next to messages posted in gajim?

  247. fjklp

    I just got that for one of my accounts in the Note to Self, but I don't know why

  248. fjklp

    I just got that for one of my accounts in the Note to Self, but I don't know why. It has the info "service-unavailable", but another account on the same server allows to send these notes.

  249. snow

    No, I don't get a warning. And Gajim <-> Dino works, so I guess it's an issue with Monal.

  250. snow

    No, I don't get a warning. And Gajim <-> Dino works, so I guess my issue is with Monal.

  251. fjklp

    Am I right to conclude that messages related to a deleted account are retained, but are not searchable within gajim?

  252. fjklp

    it looks like you can only export chat from currently-existing chats too, unless done with external tools

  253. Linuxhelptipsxmpp

    i was wondering how can i find other chats/severs in gejim? do i look them up or?

  254. fjklp

    at the top left portion of the screen there is a + button, press that, then 'Start Chat', then enter text you want to search, then press the globe icon to the right of the text

  255. fjklp

    at the top left portion of the screen there is a + button, press that, then 'Start Chat', then enter text you want to search, then press the globe icon to the right of the text input

  256. fjklp

    I believe that box uses search.jabber.network, but there are other websites that index known group chats

  257. fjklp

    I believe that search uses search.jabber.network, but there are other websites that index known group chats

  258. fjklp

    Linuxhelptipsxmpp: I'm assuming you were looking for chats to join and not a server to setup an account

  259. Linuxhelptipsxmpp

    yes

  260. Linuxhelptipsxmpp

    and thanks

  261. Linuxhelptipsxmpp

    i found some alright.

  262. fjklp

    I wonder if 'Join / Create Chat' or 'Join or Create Chat' might be a better label than 'Start Chat', since a user might be thinking that 'Start Chat' is not what they want to do

  263. fjklp

    Is anyone here knowledgeable about GTK 3 ? The Tip/Hint text at the top of the Start Chat dialog is not readable in Adwaita Dark theme and in some other dark themes because they change the text to white, but most dark themes do not change the text. I'm not sure whether to consider this a bug with Adwaita Dark or gajim, but I think it would be good to fix it.