-
dln949_
Running Gajim 1.9 (flatpak) on Ubuntu 22.04, gnome 42.9, Wayland. Since the latest Gajim update, I have a problem in Gajim: For one contact, messages - sent or received - in Gajim do not wrap correctly - the lines wrap, but I cannot see the end of the lines on the right side. Altering the sizes of the sections in Gajim does not help. But - I see this with only one contact. Sending, receiving the exact same messages involving other contacts wrap perfectly in Gajim. What might be causing this? What can I do?
-
fjklp
line wrapping was disabled recently due to a pango bug
-
fjklp
it's super annoying for me too
-
fjklp
https://dev.gajim.org/gajim/gajim/-/issues/11854
-
fjklp
this is the commit that made the change if you want to revert it https://dev.gajim.org/gajim/gajim/-/commit/571f012784fc898e0e780db2aa1114569e014111
-
fjklp
>But - I see this with only one contact. Sending, receiving the exact same messages involving other contacts wrap perfectly in Gajim. I don't know why this would be the case
-
fjklp
oh, I think I figured it out earlier
-
fjklp
people often post long hyperlinks, which since they have no space in them, do not wrap
-
fjklp
> line wrapping was disabled recently due to a pango bug This isn't the right way to say it. It now wraps only on word boundaries instead of breaking the line at any given character. ↺
-
dln949_
fjklp: thanks the messages I have problems with do not have hyperlinks in them. Question: not a tech guy here, What exactly are the steps I would follow to revert the change? don't know what to do with that url you linked to.
-
fjklp
dln949_: are you on linux?
-
fjklp
running flatpak?
-
dln949_
ubuntu, flatpak
-
fjklp
Be warned, this bug might be dangerous, I don't know. At the least, someone posting certain messages in a chat will cause your gajim to crash and you will not be able to view that chat again unless you update/reinstall/revert the commit/ or remove the message from your gajim database
-
fjklp
be back in a few
-
fjklp
ok
-
fjklp
dln949_: firstly, do you understand the warning? I don't want to get in trouble for steering people wrong here.
-
dln949_
fjklp: Yes. (I don't understand when this seg fault became a problem and thus led to this recent fix)
-
fjklp
someone just mentioned it here in chat and it was fixed because a dev became aware of it
-
dln949_
oh. I never saw the problem myself
-
fjklp
maybe no one actually did, I think this guy discovered it from elsewhere and that it also applies to gajim
-
fjklp
the path to the file you want to edit should be `/var/lib/flatpak/app/org.gajim.Gajim.Devel/current/active/files/lib/python3.11/site-packages/gajim/gtk/conversation/plain_widget.py`
-
fjklp
I could give a patch but I guess we'll do it manually
-
dln949_
So, *IF* I decide to try undoing this fix, so I simply change the line self.set_line_wrap_mode(Pango.WrapMode.WORD) to be self.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)? Also, I see this same file in my home directory as well - would I make the change in both?
-
fjklp
> So, *IF* I decide to try undoing this fix, so I simply change the line self.set_line_wrap_mode(Pango.WrapMode.WORD) to be self.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)? > > Also, I see this same file in my home directory as well - would I make the change in both? yes ↺
-
fjklp
yes to the first question
-
dln949_
yes to both questions?
-
dln949_
oh
-
fjklp
>Also, I see this same file in my home directory as well - would I make the change in both? I don't know what file you are referring to
-
fjklp
plain_widget.py is in your home directory?
-
dln949_
' /home/main1/.local/share/flatpak/app/org.gajim.Gajim/x86_64/stable/d2a3d1ff2dd30d4a5fe8b346321ea31fded9cd9c9ac165203f5af6a125df6f4e/files/lib/python3.11/site-packages/gajim/gtk/conversation/plain_widget.py
-
fjklp
~/.local/share/flatpak exists for me but it does not contain the app directory
-
fjklp
this might be something related to system versus user installs
-
fjklp
I don't think I've done anything custom for that
-
fjklp
try doing it in the file I pointed to and see if it works
-
dln949_
ok, I'm gonna give this some thought, perhaps tomorrow, gotta go now. Thanks very much for your guidance
-
fjklp
ok, just remember you'll have to also apply it after every update too
-
fjklp
have a good one
-
ong
https://files.yowoy.cwnp.cn/upload/58b3317f-8f1e-414d-8adb-80b13096abec/8bdc6379-b5e9-4b82-9f0b-89277df27454.png
-
ong
https://files.yowoy.cwnp.cn/upload/4d2f2cb0-562e-4335-a735-52dd15d3b845/67e0de10-08fa-4e21-9479-315dd6fd530b.png
-
ong
its over
-
fjklp
ong: explain?
-
ong
welll
-
ong
back in ze day
-
ong
the mumble client let you do get requests to routers
-
ong
ppl would reboot each others routers this way lol
-
fjklp
interesting
-
ong
maybe xmpp client needs some way to identify if the file is actually coming from the server their communicating with in the stanza
-
ong
like fileserver disco but for other server per contact
-
fjklp
what is contained in install.jpg? or does the router interpret this get request url as a command alone?
-
ong
ye
-
ong
router just gibs response
-
ong
https://files.yowoy.cwnp.cn/upload/3ec9d6ae-bfb5-4309-a908-b33eb11b50d3/ffc4fcce-4631-4dd0-aa66-2d1916db4fe9.png
-
ong
could resolve upload.gajim.org before downloading the file?
-
ong
if message was from gajim.org
-
ong
on gyatt
-
ann
https://dev.narayana.im/narayana/gajim-otrplugin here we go: experimental OTR plugin for Gajim, now updated for 1.9.
-
ong
nice kek
-
ong
what otr version is dis?
-
ann
OTRv2/3 afaik
-
ong
bussin
-
ann
and that little one that just adds pixel-perfecy for some esthets https://dev.narayana.im/narayana/gajim-avatarshapeplugin
-
ong
beautiful
-
ann
now avatars looks like here
-
ann
https://im.ebala.net:5821/upload/wUisaNURROxNUZpd4f0bn2Gi/076c911d-4ed8-4c04-a26c-a96728f6ca76.png
-
ann
I hope some day we'd be upstreamed, but for now devs are just angry and hardcoded allowed encryption plugins https://dev.gajim.org/gajim/gajim/-/blob/master/gajim/gtk/message_actions_box.py?ref_type=heads#L505
-
ann
:(
-
ann
so we do need to maintain ugly hacks that will allow to set OTR as one of encryption methods, which changes from version to version, instead of implementing Social-Millonaire Protocol and proper key management
-
ong
do you guys sue otr to talk to legacy clients still?
-
ong
or keep existing identities?
-
ann
otr is means literally off the record, so it is a bit different then OMEMO just theat it as a "Secret chat" in Telegram, where multi-device E2E is not supposed to be, as if it be physically compromised. we have some not legacy xmpp clients with otr support - monocles im, conversations classic (our fork, in nearest furture), psi-plus, and some legacy, like mcabber.
-
ann
there are not so legacy clients like monocles(android) and psi(linux/win) with otr support, why not, it also has better way to verify each other using SMP
-
ong
ah so like otr on telegram
-
ong
or otr on irc
-
ong
you want to use it from your xmpp client
-
ong
i can vibe with that
-
ann
it is already possible, in monocles, psi-plus, conversations legacy, and now in gajim 1.9 with this ugly plugin that works, but with limited (not implemented, I'd say) capabilities of key management and fingerprint verification as well as SMP support.
-
ann
and in our plugin, we sending hints not to store in MAM and not to use message carbons, so nothing is disrupted anywhere.
-
ong
gyatt dayum
-
ann
if the developers give us a chance to be another supported encryption method, we'd implement key management and verification processess, as well as SMP, but they won't, end of story </troll> :}
-
ong
wut u guys think about otrv4?
-
ann
it is still draft
-
ann
what we should think
-
ong
it's over
-
ong
i blame cloudflare
-
ann
in bright future we will altogether with matrix and signal use MLS
-
ann
but it seems there is a nuance somewhere
-
ong
hm
-
ong
I don't think they want ppl using non uniform encryption probably because mls allows for flexibility
-
fjklp
in what situation do we expect to see a pink unlocked lock next to the timestamp of each message in a chat?
-
bot
lovetox pushed 1 commits to branch gajim/master fix: Settings: Store account jid in dedicated setting - https://dev.gajim.org/gajim/gajim/-/commit/e26113da31121efc7cf28fc025bb607cf8cef708
-
bodqhrohro
> fjklp: > in what situation do we expect to see a pink unlocked lock next to the timestamp of each message in a chat? Unencrypted messages? ↺
-
lovetox
fjklp, you seem to have a problem with your icon theme
-
fjklp
yes, unencrypted messages
-
fjklp
> fjklp, you seem to have a problem with your icon theme what does this mean? ↺
-
lovetox
i assumed you dont want pink lock icons :D
-
fjklp
what icon theme?
-
fjklp
the point is that these icons show up at random
-
fjklp
something is broken
-
lovetox
show me a screenshot
-
Link Mauve
lovetox, yes I did, I built the gajim-git and python-nbxmpp-git packages from AUR.
-
Link Mauve
I’ll tell the maintainer of python-sqlalchemy then.
-
lovetox
Somebody opened a issue recently
-
lovetox
Many applications depend on 1.4
-
lovetox
They cannot simply upgrade
-
Link Mauve
Ah.
-
rom1dep
lovetox: FYI my gajim dosn't start anymore on e26113da3112 ``` /python-nbxmpp/nbxmpp/protocol.py", line 656, in from_string raise InvalidJid('Unable to parse "%s"' % jid_string) from error nbxmpp.protocol.InvalidJid: Unable to parse "" ```
-
lovetox
Hm check in the config db the account address key
-
lovetox
Seems it did not migrate that for some reason
-
lovetox
Check the user version of the db
-
fjklp
https://upload.gajim.org:5281/upload/O6oWSJo1jtrfj2ue_Q4YLrTe/321ad11d-9ba9-4305-aff4-1db46b01d754.png
-
fjklp
when I loaded that chat, every message had that icon. Then I switch to a different chat. Then switch back to that one and the icons are gone.
-
meson
fjklp: Sweet :P
-
fjklp
it seems to only happen when there are unread messages before viewing the chat
-
lovetox
Is it a group chat?
-
fjklp
yes
-
lovetox
This is shown if encryption is enavled
-
fjklp
encryption is not possible in the chat I got that screenshot from
-
lovetox
As we have default encryption if the chat supports or the setting can change depending on MUC config
-
lovetox
fjklp: currently, but it was maybe back then
-
lovetox
It depends on what the owner configures
-
fjklp
are you saying these random changes are expected?
-
fjklp
this happens in many different chats
-
fjklp
> fjklp: currently, but it was maybe back then I don't know what you mean by "back then" ↺
-
rom1dep
> Check the user version of the db 6 ↺
-
rom1dep
> Seems it did not migrate that for some reason looks like I have "name" and "hostname" keys there but no account address ↺
-
lovetox
Ok set it back to 5
-
lovetox
And restart
-
rom1dep
looks like I'm back :) thanks lovetox
-
lovetox
really weird, seems your db was already on the version and skipped migration because of that
-
bot
lovetox pushed 1 commits to branch gajim/master revert: Windows: Temporarily downgrade gobject-introspection - https://dev.gajim.org/gajim/gajim/-/commit/ae01edfc603836d629ca6e9266467f6d583598e9
-
lovetox
fjklp, in all groupchats? only specific ones? maybe on the same server?
-
lovetox
you need to dig a little, you are the only person until now that reports this behavior
-
lovetox
the icon shows if you enable encryption, then Gajim tells you which messages are unencrypted
-
lovetox
my guess is something triggers that your encryption setting for a particular chat changes
-
lovetox
i dont see any commit in June that could have triggert this
-
lovetox
so my guess is it has to do something with the particular chats you are seeing that
-
etherport
How do I actually answer a VoIP call? I get a notification saying that I'm being called but I don't see a popup anywhere or anything in the app that would let me answer the call
-
lovetox
featue is unmaintained and probably very borken✎ -
lovetox
featue is unmaintained and probably very broken ✏
-
cal0pteryx
> really weird, seems your db was already on the version and skipped migration because of that lovetox: maybe one of my MRs which rom1dep checked out once ↺
-
lovetox
hm so there is the request to not downgrade the encryption setting if a server or MUC owner changes the settings of the MUC so that encryption is not possible
-
lovetox
basically just telling the user that encryption is not possible, but also dont allow to send messages, until i guess the user downgrades encryption themself
-
lovetox
but this also would mean to enable the encryption button again for all chats, currently its disabled with a tooltip
-
rom1dep
> lovetox: maybe one of my MRs which rom1dep checked out once sounds likely :) ↺
-
astanad
Hello guys ! does ejabberd server support SCRAM-SHA256 ?
-
lovetox
you need to ask in the ejabberd support chat
-
astanad
it use scram-plus
-
fjklp
> you need to dig a little, you are the only person until now that reports this behavior I'll study it more. I can say confidently that it's happening on more than one server. I think it also only happens where there are unread messages. Should I be taking note of all the muc settings where it happens? Any other info? ↺
-
fjklp
the annoying this is that it sometimes takes awhile to happen again. Maybe I need to post my own messages to test.
-
fjklp
I accidentally started up gajim from git and I haven't yet merged my main db into flatpak. I killed it after about 1 second. Should I expect that something will be messed up?
-
lovetox
its unclear what your setup is, what merging a db into flatpak means ..
-
lovetox
also which versions you run ..
-
fjklp
my main db is from before the db change. It's in ~/.local/share/gajim. Flatpak is current nightly, so I meant that my main db is still the old version, except that I started a current git version briefly.
-
cal0pteryx
There is a copy of your old database if the migration started
-
fjklp
Looks like it didn't start migration. There is only one logs.db. But I noticed that logs.db got an updated modification time. I guess it should be alright then.