-
Codimp
wow just found a thing that may be an issue in Gajim : if I send a link of a very big file to someone, Gajim try to preview and will load it infinitely, using lot of memory I just try and in 40 minutes Gajim takes more than 11 GB of RAM!
-
Codimp
Maybe a security check to avoid load very big file or very long loading file is needed?
-
bodqhrohro
> Codimp: > wow just found a thing that may be an issue in Gajim : if I send a link of a very big file to someone, Gajim try to preview and will load it infinitely, using lot of memory > I just try and in 40 minutes Gajim takes more than 11 GB of RAM! TelegramDesktop has (had?) a similar issue with "GIFs", hehe (yet not that extreme, but enough for my old overloaded laptop). ↺
-
Codimp
yep, but I will fill an issue so it's known
-
bodqhrohro
Is that expected that long words like sljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkj induce horizontal scrolling in chat view?
-
aereaux
> Is that expected that long words like sljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkjsljdfoiouewijsdlfkj induce horizontal scrolling in chat view? Or that they wrap? I've noticed this too ↺
-
danielstein
Mamming
-
danielstein
Oida karmeliten
-
cal0pteryx
aereaux, bodqhrohro: it's a gtk issue https://dev.gajim.org/gajim/gajim/-/issues/11854#note_214881✎ -
cal0pteryx
aereaux, bodqhrohro: it's a gtk issue https://dev.gajim.org/gajim/gajim/-/issues/11854 ✏
-
rom1dep
Gtk never ceases to amaze..
-
fjklp
does it necessarily make more sense to fix the pango crash thing with wrap on word boundary instead of just keeping a list of known dangerous strings and never rendering them?
-
fjklp
I don't know how many strings like that there are
-
Link Mauve
cal0pteryx, hmm, I can’t reproduce with GTK 3.24.42 and Pango 1.52.2, when I press kill it just displays the string.
-
Link Mauve
Even if I resize the window to induce wrapping, it continues to work.
-
meson
Codimp: do you have a sample file, more details about file size, server, Gajim Version ...?
-
meson
^ should have looked into the issue tracker first: https://dev.gajim.org/gajim/gajim/-/issues/11855
-
Ichtyx
meson: https://lists.freedesktop.org/archives/wayland-devel/2024-May/043636.html should fix the lost connection with wayland buffer
-
Ichtyx
I will test asap
-
meson
Ichtyx: isn't that something compositors need to make use of first and I'm not sure if it doesn't also need client side adaptions still
-
debacle
When starting gajim: ``` 2024-06-08T12:50:16 (W) gajim.p.manager Error while loading module: cannot import name 'EncryptionData' from 'gajim.common.const' (/usr/lib/python3/dist-packages/gajim/common/const.py) 2024-06-08T12:50:16 (W) gajim.p.manager Error while loading module: cannot import name 'GcMessageReceived' from 'gajim.common.events' (/usr/lib/python3/dist-packages/gajim/common/events.py) ``` Relevant?
-
fjklp
> When starting gajim: > ``` > 2024-06-08T12:50:16 (W) gajim.p.manager Error while loading module: cannot import name 'EncryptionData' from 'gajim.common.const' (/usr/lib/python3/dist-packages/gajim/common/const.py) > 2024-06-08T12:50:16 (W) gajim.p.manager Error while loading module: cannot import name 'GcMessageReceived' from 'gajim.common.events' (/usr/lib/python3/dist-packages/gajim/common/events.py) > ``` > Relevant? as a long line was posted earlier, I can't read the whole line of the code snippet section because it goes offscreen✎ ↺ -
fjklp
> When starting gajim: > ``` > 2024-06-08T12:50:16 (W) gajim.p.manager Error while loading module: cannot import name 'EncryptionData' from 'gajim.common.const' (/usr/lib/python3/dist-packages/gajim/common/const.py) > 2024-06-08T12:50:16 (W) gajim.p.manager Error while loading module: cannot import name 'GcMessageReceived' from 'gajim.common.events' (/usr/lib/python3/dist-packages/gajim/common/events.py) > ``` > Relevant? due to long line was posted earlier, I can't read the whole line of the code snippet section because it goes offscreen ✏ ↺
-
lovetox
you can delete the message
-
lovetox
or simply scroll
-
lovetox
debacle, you need to update the plugins yeah
-
debacle
lovetox I guess it is about the old pgp (XEP-0027) plugin?
-
fjklp
I deleted the line now but I think there was no scrollbar
-
lovetox
ah i think id did not yet adapt this one
-
lovetox
fjklp, scrolling is always possible, also with no scrollbar
-
lovetox
though, its probably not easy if you are not on a touchpad
-
fjklp
I don't know how :)
-
meson
Mouse wheel left/right works
-
fjklp
there is probably some key shortcuts
-
fjklp
ok, looks like holding shift makes the scroll wheel scroll horizontally, at least when there is a horizontal scrollbar present
-
fjklp
this bug is going to force me to learn how to use computers, lol
-
fjklp
ah, it also works for unwrapped lines when there is no scrollbar
-
debacle
TIL: horizontal scrolling works on my touch pad with two fingers
-
fjklp
> you can delete the message thanks for reminding me, I actually didn't think of it ↺
-
debacle
Strange: The triggers plugin is not visible under Plugins. master is installed. I don't see an import error or similar. Any idea?
-
debacle
cal0pteryx You did the latest changes on the trigger plugin, right? Does it work for you?
-
cal0pteryx
It did at the point where I fixed it
-
cal0pteryx
The fix should be the one fixing your traceback ;)
-
debacle
Now it's gone. Strange. I wonder, if there is something wrong in my setup.
-
debacle
cal0pteryx I wonder, why I don't even see a failed import or something. The plugin is just gone from Gajim, but it is installed on my system. I also checked, if I have something in my $HOME, but it doesn't look like it.
-
cal0pteryx
Hm, I added some debug info recently: https://dev.gajim.org/gajim/gajim/-/commit/7a7075c7da52bef586f2b5df0d902825f329bca8
-
cal0pteryx
Link Mauve: I actually haven't tried myself, just referring to this issue :) but it looks like it's reproducible, from the example linked from the issue
-
cal0pteryx
This one https://gitlab.gnome.org/GNOME/pango/-/issues/798
-
debacle
cal0pteryx With the sufficient loglevel, I found the cause: `Skipped plugin with not suitable requirements: triggers [<Requirement('gajim>=1.9.0')>]`
-
debacle
Easy ;-)