Gajim - 2024-11-18


  1. Benson

    A copr with latest Gajim https://copr.fedorainfracloud.org/coprs/fed500/gajim

  2. Benson

    Main problem preventing updates is older version of python-protobuf in main repositories

  3. moparisthebest

    > but did you change anything recently? you are using it for a long time and now this suddenly started? actually I'm back after not using it for awhile (:

  4. William

    > when you click the chat details button in the top, and go to the settings page, does it look like that The top looks like that but the other doesnt have a check mark

  5. William

    > what the error means you are seeing is, that either you contact has not published any keys or you have no access Well his works with others its just me and how do i publish? or get access i apologize if its a dumb question

  6. lovetox

    It needs a checkmark you need to tell your contact they need to share the status with you

  7. lovetox

    I wonder, what client is your contact using?

  8. nicoco

    Hey! Congrats on merging in the gtk4 branch. :) I was wondering if it was easy to test in debian stable or if I should avoid pulling in the latest changes because it might need some non-python dependencies that aren't available in debian stable?

  9. lovetox

    Debian stable should be fine

  10. lovetox

    Though old gtk4 version not tested with that

    👌 1
  11. Squeaky Latex Folf

    Hey all. Does anyone know if there's a script that extracts logs from logs.db SQLite database into a textual format?

  12. deport

    You can export chat logs within gajim

  13. deport

    I'm not aware of any scripts.

  14. Squeaky Latex Folf

    > You can export chat logs within gajim Where can I do that?

  15. Squeaky Latex Folf

    I don't see the option

  16. lovetox

    Accounts dialog, not sure in which tab

  17. Squeaky Latex Folf

    Also does logs.db contain encrypted messages and their decrypted message as well?

  18. Squeaky Latex Folf

    I can't find the option so I'll just try to make an SQL command to do it until someone tells me otherwise

  19. lovetox

    That will take days, I would recommend searching the option

  20. lovetox

    The database contains only unencrypted messages

  21. Squeaky Latex Folf

    Where are encrypted messages stored?

  22. Squeaky Latex Folf

    I already made an SQL script that extracts messages from a specific user

  23. Squeaky Latex Folf

    I already made an SQL script that extracts messages from a specific user (or as referred to by Gajim's internals, a "remote")

  24. Squeaky Latex Folf

    I already made an SQL script that extracts messages from a specific user (or as referred to by Gajim's sche,a, a "remote")

  25. Squeaky Latex Folf

    I already made an SQL script that extracts messages from a specific user (or as referred to by Gajim's schema, a "remote")

  26. Squeaky Latex Folf

    Or does Gajim decrypt on-the-fly?

  27. lovetox

    We don't store encrypted messages

  28. lovetox

    They are decrypted when we receive them

  29. Squeaky Latex Folf

    Annoying

  30. Squeaky Latex Folf

    That makes it pretty annoying for me to script a way to export logs

  31. Squeaky Latex Folf

    Also here's the script I have made. It exports a complete chatlog with a specific remote/user. ATTACH DATABASE 'logs.db' AS logs; ATTACH DATABASE 'export.db' AS export; CREATE TABLE export.account AS SELECT * FROM logs.account; CREATE TABLE export.remote AS SELECT * FROM logs.remote WHERE jid = 'jid@example.com'; CREATE TABLE export.message AS SELECT * FROM logs.message WHERE fk_remote_pk IN (SELECT pk FROM export.remote);

  32. Squeaky Latex Folf

    But I just found out that Export Chat History is in the Privacy settings

  33. Squeaky Latex Folf

    So I will try using that instead

  34. Sally

    Does the latest release use GTK Version: 3.24.43?

  35. Sally

    I use Flatpak

  36. ffofeao

    Is there a general chat about XMPP\Jabber?

  37. hannibal

    Sally: the about window should show which gtk version is used

  38. Sally

    hannibal: Yes, when I go to about, it shows this version. But I thought it should be gtk4

  39. cal0pteryx

    Sally: a gtk4 version of gajim has not been released yet

  40. cal0pteryx

    ffofeao: you can search via Gajim > Start chat > globe button

  41. Sally

    cal0pteryx: Okay, my mistake then

  42. Sally

    Thank you so much cal0pteryx

  43. mrdoctorwho

    opening the "start / join chat" window takes a LOT of time, is that known?

  44. mrdoctorwho

    a couple seconds longer than it was in gtk3 version of gajim

  45. lovetox

    for me its near instant

  46. lovetox

    maybe run with debug output, maybe there is a slow database query?

  47. lovetox

    we add just the roster contacts and your groupchats

  48. lovetox

    would you say you have many of them?

  49. lovetox

    or maybe many accounts?

  50. mrdoctorwho

    lovetox, also there's an issue with file d&d

  51. mrdoctorwho

    if the d&d failed, the text "drop your files here" persists until gajim restarted

  52. mrdoctorwho

    even after a succeeded attempt

  53. mrdoctorwho

    to reporduce, try dropping some files which gajim does not have access to

  54. mrdoctorwho

    > or maybe many accounts? 1 account, not so many contacts

  55. mrdoctorwho

    it was slow on gtk3, but on gtk4 it's really bad

  56. mrdoctorwho

    2024-11-18T23:23:18 (D) gajim.gtk.widgets Load Window: StartChatDialog https://conference.gajim.org:5281/pastebin/b78d080c-16fe-4085-8542-da11367e4758

  57. mrdoctorwho

    sorry it turned out a bit too long, I expected the server to make a paste of it

  58. lovetox

    the server did

  59. lovetox

    you just dont see it

  60. mrdoctorwho

    ok

  61. mrdoctorwho

    also the @ sign action makes it really hard to use the @ symbol it anything but what gajim uses it for

  62. mrdoctorwho

    and the sorting is off

  63. lovetox

    what do you want to use the @ for?

  64. lovetox

    if you write a email or jid it does not trigger the dialog

  65. mrdoctorwho

    I tried to insert a nickname in the middle of the message

  66. lovetox

    yeah thats what the @ is for? how was it hard?

  67. mrdoctorwho

    there might be reasons where @ should be added, for example when writing code snippets directly in the chat

  68. cal0pteryx

    mrdoctorwho, you can always press "right arrow" to close the popover

  69. mrdoctorwho

    I think the previous method when the nick was added/completed with the tab button is something the people around xmpp are used for

  70. mrdoctorwho

    cal0pteryx, this is inconvenient, I have to do additonal button press

  71. mrdoctorwho

    speaking of sorting being off

  72. mrdoctorwho

    https://drop.helldev.net/a3c26db8-cf32-4d19-9f64-3d367568404d/72083bda-9551-40fd-9f59-678b53e4a829.png

  73. mrdoctorwho

    it suggests another user even though I've been writing cal0pteryx, I didn't press the down button

  74. cal0pteryx

    mrdoctorwho, works for me

  75. mrdoctorwho

    it's not always present

  76. lovetox

    the logic checks for substring

  77. cal0pteryx

    point is: when do you use @ in a sentence other than typing an address or @-mentioning somebody? you can use right arrow or just continue typing

  78. mrdoctorwho

    @ is not the way to mention somebody in xmpp

  79. mrdoctorwho

    now instead of pressing tab to answer the previous user I have to press @ and write the nickname

  80. cal0pteryx

    please compage "in xmpp" to "in chat"

  81. lovetox

    this discussion goes into the wrong direction

  82. cal0pteryx

    please compare "in xmpp" to "in chat"

  83. lovetox

    mrdoctorwho, please show an example where typing @ hinders you to do whatever you want to type

  84. lovetox

    i dont see how any of your examples create a problem

  85. mrdoctorwho

    lovetox, it creates a problem when writing code snippets, for example that use decorators in python or annotations in java, there might be other reasons to use that symbol in the chat I can't think of right now, but the new functionality makes me avoid it, I believe I won't be the only one complaining

  86. lovetox

    this is still not an example? are you saying you cant use the @ symbol?

  87. lovetox

    @decorator

  88. mrdoctorwho

    I'll have to press an additional button to close the nick choosnig popup, it's inconvenient

  89. lovetox

    i dont have to press a button

  90. cal0pteryx

    no you don't, just continue typing

  91. lovetox

    the only exception that i can think of is, that you want to send a string @something that by accident also matches the nickname of someone

  92. lovetox

    thats the only case where you would need to "escape" your input, and close the popup

  93. lovetox

    what i will think about, if we should make the completion popup only trigger after at least 1 or 2 chars

  94. lovetox

    this will reduce it poping up more

  95. lovetox

    about the slow start chat problem, im at a loss it seems to take 3 seconds just to get to the muc loading part

  96. lovetox

    i will add more debug logging, maybe this will help

  97. mrdoctorwho

    copying "link address" of a conference results in "about:ambiguous-address?conference-address"

  98. mrdoctorwho

    text box is not always focused after choosing a chat in the workspace

  99. mrdoctorwho

    text input box is not always focused after choosing a chat in the workspace

  100. cal0pteryx

    > copying "link address" of a conference results in "about:ambiguous-address?conference-address" where exaclty do you copy?

  101. mrdoctorwho

    somebody sent a conference address, e.g. gajim@conference.gajim.org

  102. cal0pteryx

    > text input box is not always focused after choosing a chat in the workspace yes, that's not fixed yet. in the meantime, pressing space will focus the input

  103. cal0pteryx

    ah thanks, can reproduce it

  104. mrdoctorwho

    I press rmb on it, then "copy link address" and it results in the above text copied into the clipboard

  105. cal0pteryx

    strange

  106. cal0pteryx

    ah, that's actually coming from Gajim's URI parsing code. I'm not familiar with that

  107. deport

    I don't know if gajim is interested in potential grants but this exists https://www.futo.org/grants/

  108. bot

    lovetox pushed 1 commits to branch gajim/master new: StartChat: Improve loading time and add debug logging - https://dev.gajim.org/gajim/gajim/-/commit/3e2331acb01ad0a23547fc174f408cb35ba24d9a

  109. lovetox

    ^ mrdoctorwho, try with this commit, it should load now faster and show more debug output

  110. mrdoctorwho

    ok

  111. mrdoctorwho

    I wouldn't say it became any faster

  112. mrdoctorwho

    t 2024-11-19T00:40:57 (D) gajim.gtk.widgets Load Window: StartChatDialog 2024-11-19T00:40:57 (D) gajim.gtk Load ui file: start_chat_dialog.ui 2024-11-19T00:40:57 (D) gajim.gtk Load ui file: groupchat_nick_chooser.ui 2024-11-19T00:41:01 (D) gajim.gtk Load ui file: groupchat_info_scrolled.ui 2024-11-19T00:41:01 (I) gajim.c.m.task_manager 57 tasks queued 2024-11-19T00:41:01 (I) gajim.c.m.task_manager Execute task VCardAvatars (conversations@conference.siacs.eu/agatha 9f8702f870ca87b6fc98f51b5e1f3676e7d50b7b) 2024-11-19T00:41:01 (I) nbxmpp.m.vcardtemp (helldev.net) request_vcard(jid=conversations@conference.siacs.eu/agatha) 2024-11-19T00:41:01 (I) nbxmpp.connection (helldev.net) ::::: DATA SENT ::::

  113. mrdoctorwho

    the log doesn't show that though

  114. lovetox

    thats not the right code you are running

  115. mrdoctorwho

    oh wait

  116. mrdoctorwho

    I forgot pip install

  117. mrdoctorwho

    2024-11-19T00:47:22 (D) gajim.gtk.widgets Load Window: StartChatDialog 2024-11-19T00:47:22 (D) gajim.gtk Load ui file: start_chat_dialog.ui 2024-11-19T00:47:22 (D) gajim.gtk Load ui file: groupchat_nick_chooser.ui 2024-11-19T00:47:22 (D) gajim.gtk.start_chat Loading contacts 2024-11-19T00:47:22 (D) gajim.gtk.start_chat Loading contacts finished, model count 185 2024-11-19T00:47:22 (D) gajim.gtk.start_chat Loading groupchats 2024-11-19T00:47:22 (D) gajim.gtk.start_chat Loading groupchats finished, model count 234 2024-11-19T00:47:22 (D) gajim.gtk Load ui file: groupchat_info_scrolled.ui 2024-11-19T00:47:22 (D) gajim.gtk.start_chat Loading dialog finished 2024-11-19T00:47:23 (D) gajim.gtk.main Window state changed: <flags 0 of type Gdk.ToplevelState> (gajim:73233): Gtk-WARNING **: 00:47:23.126: GtkGizmo 0x5578b422de60 (slider) reported min width -2, but sizes must be >= 0

  118. mrdoctorwho

    now it's much faster indeed

  119. mrdoctorwho

    thanks lovetox

  120. lovetox

    hm this copy link adress menu entry is actually not our menu, its some new gtk menu entry

  121. lovetox

    some weird parsing issue, when a jid is in the middle of a message, it has different menu entries

  122. lovetox

    seems to be a gtk bug