Gajim - 2024-02-06


  1. sch

    > but Gajim can only send adhoc commands to bare jids If so, then it would be nice to have it handle the other case.

  2. sch

    I have sent a request to get command from the bot to its JID and this is the result: ``` <iq id="3e04e55e848c43a39848286cb6da67ee" from="slixfeed@canchat.org/yW8G793UMy3V" xml:lang="en" type="result" to="slixfeed@canchat.org/yW8G793UMy3V"><query xmlns="http://jabber.org/protocol/disco#items" node="http://jabber.org/protocol/commands"><item jid="slixfeed@canchat.org/yW8G793UMy3V" node="settings" name="Settings" /><item jid="slixfeed@canchat.org/yW8G793UMy3V" node="subscriptions" name="Subscriptions" /></query></iq> ```

  3. sch

    I believe that this sample bot should be good for this check https://codeberg.org/poezio/slixmpp/src/branch/master/examples/adhoc_provider.py

  4. sch

    > > but Gajim can only send adhoc commands to bare jids > If so, then it would be nice to have it handle the other case. If so, then it would be nice to have it handle the other case too.

  5. sch

    This is the command I used to get the result: `await self["xep_0050"].get_commands(self.boundjid.full)` https://slixmpp.readthedocs.io/en/latest/api/plugins/xep_0050.html#slixmpp.plugins.xep_0050.XEP_0050.get_commands

  6. sch

    And `await self["xep_0115"].get_caps(self.boundjid.full)` ``` <query xmlns="http://jabber.org/protocol/disco#info"><identity category="client" type="bot" /><feature var="http://jabber.org/protocol/disco#info" /><feature var="jabber:x:data" /><feature var="http://jabber.org/protocol/muc" /><feature var="http://jabber.org/protocol/caps" /><feature var="http://jabber.org/protocol/shim" /><feature var="http://jabber.org/protocol/shim#SubID" /><feature var="http://jabber.org/protocol/commands" /><feature var="vcard-temp" /><feature var="jabber:iq:oob" /><feature var="jabber:x:oob" /><feature var="http://jabber.org/protocol/xhtml-im" /><feature var="urn:xmpp:avatar:metadata+notify" /><feature var="urn:xmpp:avatar:metadata" /><feature var="urn:xmpp:ping" /><feature var="jabber:x:conference" /><feature var="urn:xmpp:http:upload:0" /><feature var="urn:xmpp:reactions:0" /></query> ```

  7. pep.

    Not entirely sure how to fix that, but there's a message in xmpp:disroot@chat.disroot.org?join from lady piscimisty which "breaks" gajim. Stuff displaying on top of the groupchat list

  8. pep.

    The one at 07:19:55 (UTC?)

  9. marmistrz

    > You can test this draft: https://dev.gajim.org/gajim/gajim/-/merge_requests/1005 > (we can't just hardcode the default to OMEMO, though) lovetox, any ideas how to handle these defaults, so that we don't have separate switches in the settings from the gc and non-gc case?

  10. marmistrz

    I can obviously hardcode an exception in the setting getter, but it's ugly

  11. marmistrz

    I thought about creating another class like `HAS_ACCOUNT_DEFAULT` but for aliases.

  12. ch

    Hello. I've started using Gajim 1.7.3 (from Debian stable), previously used Gajim from Debian oldstable. In the newer version, I can't select multiple messages including who sent what any more--I can only select a single message at a time. Is there a way around that limitation?

  13. ch

    Also, when left-clicking the icon in the notification/task area, it shows a menu, the same as if i had right-clicked. The expected behaviour (and what in fact happened with the older version) is that it toggles showing the Gajim window / brings it to the foreground immediately on click.

  14. ch

    Oh and also, toggle showing or not showing Gajim takes ~1-2 seconds for it to react and it eats 100% CPU for a few seconds. Also when I click into the text entry area it takes 1-2 seconds until I can type. When this group chat is open; maybe due to the length of the history.

  15. lovetox

    ch, if you hover the message there is a button on the right, click select messages there

  16. lovetox

    regarding status icon, it depends if you are using wayland or not

  17. lovetox

    if you use wayland, then yeah thats now how it is, if you dont use wayland you can change the setting in ACE use_libindicator to false

  18. lovetox

    about your cpu problem, it helps if you close the groupchat roster

  19. fjklp

    pep.: I'm not seeing anything wrong

  20. fjklp

    pep.: I'm guessing you are talking about the ansi art or whatever, I don't have a problem with the user list

  21. fjklp

    I don't know which package would affect that

  22. fjklp

    for me: GTK Version: 3.24.38 GLib Version: 2.78.0 Pango Version: 1.51.0 PyGObject Version: 3.46.0 cairo Version: 1.18.0 pycairo Version: 1.24.0 python-nbxmpp Version: 4.5.3 libsoup Version: 3.4.2

  23. lovetox

    pep., can you make a screenshot

  24. lovetox

    if i join the channel no messages can be retrieved

  25. lovetox

    hm now i get address not reachable

  26. lovetox

    ah i see it now

  27. lovetox

    yeah seems like a bug with font rendering

  28. pep.

    https://share.bouah.net/Bb37pD2H8xtPPIoNnH7gXAct/20240206_18h10m09s_grim.png

  29. pep.

    Maybe it's just because it's the last message? But I don't think so, the thing stuck a bit iirc

  30. fjklp

    I wonder if it's gtk theme related

  31. fjklp

    for me, those characters do span across multiple adjacent lines, but it's rendered in the chat message area, not the chat list

  32. lovetox

    as said, probably a font rendering bug

  33. ch

    lovetox, thanks, I'm on X11 and that setting works. Selecting and copying messages works, too, and having it copy time stamp and user is nice, but I need to see how well I get used to that workflow, I copy-pasted messages a lot for context in notes files and such. If I could I would probably still revert to the old behaviour. (For backing up conversations, I use the export chat history feature.)

  34. lovetox

    ch, we redesigned the chat view, and this was one of the compromises we had to make

  35. lovetox

    previously the chat view was one big textbox, so it behaved like a text editor

  36. lovetox

    now its not anymore, we can draw pretty pictures, have buttons etc, but at the expense of not beeing able to select everything anymore

  37. ch

    I was thinking that something along this was the reason. Would it be possible though to automatically turn a local text selection in a single cell into multi-cell selection mode?

  38. ch

    (I realize that it would change the beginning of the selection; it would be more like triple-click then drag. Maybe only do the multi-cell selection mode if doing triple-click?)

  39. lovetox

    or simply a shortcut that enables it?

  40. ch

    (Or hold control while click-dragging)

  41. ch

    Short-cut could work, too

  42. ch

    I personally am more the person who experiments with multi-click and modifier keys before seeing a sandwhich menu. But that's me.

  43. lovetox

    i would be open to add a shortcut for it, please open a issue on our tracker so when someone finds the time its not lost

  44. ch

    PS. "to automatically turn a local text selection in a single cell into multi-cell selection mode"--if dragging the mouse pointer into other cells, is what I meant. I'll make an issue.

  45. ch

    I can't find the issue tracker :). https://gajim.org/support/ has just a title and no page body.

  46. ch

    Found https://dev.gajim.org/gajim/gajim/issues/new on the develoipment page

  47. lovetox

    marmistrz, i pushed a commit, which should implement the fallback better

  48. lovetox

    i think your MR is now obsolete though

  49. cal0pteryx misses the bot announcing commits

  50. ch

    lovetox, https://dev.gajim.org/gajim/gajim/-/issues/11752

  51. fjklp

    commit messages were nice