-
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.
-
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> ```
-
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
-
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.
-
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
-
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> ```
-
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
-
pep.
The one at 07:19:55 (UTC?)
-
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?
-
marmistrz
I can obviously hardcode an exception in the setting getter, but it's ugly
-
marmistrz
I thought about creating another class like `HAS_ACCOUNT_DEFAULT` but for aliases.
-
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?
-
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.
-
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.
-
lovetox
ch, if you hover the message there is a button on the right, click select messages there
-
lovetox
regarding status icon, it depends if you are using wayland or not
-
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
-
lovetox
about your cpu problem, it helps if you close the groupchat roster
-
fjklp
pep.: I'm not seeing anything wrong
-
fjklp
pep.: I'm guessing you are talking about the ansi art or whatever, I don't have a problem with the user list
-
fjklp
I don't know which package would affect that
-
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
-
lovetox
pep., can you make a screenshot
-
lovetox
if i join the channel no messages can be retrieved
-
lovetox
hm now i get address not reachable
-
lovetox
ah i see it now
-
lovetox
yeah seems like a bug with font rendering
-
pep.
https://share.bouah.net/Bb37pD2H8xtPPIoNnH7gXAct/20240206_18h10m09s_grim.png
-
pep.
Maybe it's just because it's the last message? But I don't think so, the thing stuck a bit iirc
-
fjklp
I wonder if it's gtk theme related
-
fjklp
for me, those characters do span across multiple adjacent lines, but it's rendered in the chat message area, not the chat list
-
lovetox
as said, probably a font rendering bug
-
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.)
-
lovetox
ch, we redesigned the chat view, and this was one of the compromises we had to make
-
lovetox
previously the chat view was one big textbox, so it behaved like a text editor
-
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
-
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?
-
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?)
-
lovetox
or simply a shortcut that enables it?
-
ch
(Or hold control while click-dragging)
-
ch
Short-cut could work, too
-
ch
I personally am more the person who experiments with multi-click and modifier keys before seeing a sandwhich menu. But that's me.
-
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
-
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.
-
ch
I can't find the issue tracker :). https://gajim.org/support/ has just a title and no page body.
-
ch
Found https://dev.gajim.org/gajim/gajim/issues/new on the develoipment page
-
lovetox
marmistrz, i pushed a commit, which should implement the fallback better
-
lovetox
i think your MR is now obsolete though
- cal0pteryx misses the bot announcing commits
-
ch
lovetox, https://dev.gajim.org/gajim/gajim/-/issues/11752
-
fjklp
commit messages were nice