-
resoli
> That would be great! š > Just in case, it's issue number 11767 š ↺
-
resoli
> That would be great! š > Just in case, it's issue number 11767 Juan M: saw your comment š ↺
ā¤ļø 1 -
Polarity
> How do I send a message with a spoiler tag ? > example > this is a message with a spoiler: āāāāāā Simple, you do not. ↺
-
Polarity
I personally consider this formatting feature to be useless and unnecessary, but it may be added in the future to Gajim and other clients.
-
Polarity
If you want to, you can create an "issue" on Gitlab to request this feature.✎ -
Polarity
If you want to, you can create an "issue" on Gajim's Gitlab to request this feature. ✏
-
cal0pteryx
Thisnis standardized and there is a proof of concept plugin for gajim. But I've never had a look at it
-
ivan
Pasting an image from the clipboard in order to send it doesn't work for me. Version 2.3.3 on Windows. Was it removed or it's a bug?
-
scompo
> Pasting an image from the clipboard in order to send it doesn't work for me. Version 2.3.3 on Windows. Was it removed or it's a bug? works for me with the 2.3.3 portable version ↺
-
debacle
Problem: I'm in a non-anonymous MUC and one of the users appears as "X" to me, while their real nickname is "Y". When I type "X", they don't get a mention notification, because I would have to write "Y". But I can't really know about that. (Well, they told me.) Any idea, what's going wrong in my Gajim 2.3.3?
-
gimmi
Hello, is there a way to export OMEMO trust decisions from one Gajim installation to another?
-
debacle
> Hello, is there a way to export OMEMO trust decisions from one Gajim installation to another? There is a XEP (standard) for that, but TTBOMK only Kaidan does support it, no other client. ↺
-
debacle
> Problem: I'm in a non-anonymous MUC and one of the users appears as "X" to me, while their real nickname is "Y". When I type "X", they don't get a mention notification, because I would have to write "Y". But I can't really know about that. (Well, they told me.) Any idea, what's going wrong in my Gajim 2.3.3? Oh, now I read, that they also see themselve as "X". Will check the details before making more noise here. ↺
-
lovetox
gimmi: only if you migrate the installation to a new device. If the device is an additional one then no
-
lovetox
scompo: some apps don't work we added a fix for the next version. With what app so do you have the problem?
-
lovetox
Sorry I meant ivan
-
ivan
> With what app so do you have the problem? I found the problem with Irfanview. I've also tested with Libreoffice-Writer and it works correctly in this case.
-
debacle
> Oh, now I read, that they also see themselve as "X". Will check the details before making more noise here. Just for the record: Problem solved by X leaving and re-joining the MUC. Different nickname was maybe introduced by other client (maybe Prose). ↺
š 1 -
ivan
FWIW I'm also using the portable version
-
lovetox
ivan: thanks will check if the fix also works for irfanview
š 1 -
cal0pteryx
Gtk inspector offers insights to clipboard contents (global tab, I think). There we can see available mime types for images contained in the current clipboard. image/png and image/bmp are supported in the next gajim version
-
Link Mauve
You might want to add support for image/jpeg, image/gif, image/webp, image/avif, image/svg+xml, and possibly for video and audio formats as well.
-
lovetox
Very unlikely that something puts this raw in a clipboard
-
pup xmpp earth
> You might want to add support for image/jpeg, image/gif, image/webp, image/avif, image/svg+xml, and possibly for video and audio formats as well. You might want to understand what those technically are, the backend and the privacy and security implementations and risk assi✎ ↺ -
pup xmpp earth
> You might want to add support for image/jpeg, image/gif, image/webp, image/avif, image/svg+xml, and possibly for video and audio formats as well. You might want to understand what those technically are, the backend and the privacy and security implementations and risk an ✏ ↺
-
lovetox
But it's not clear to me why we have any limitation on mimetype
-
pup xmpp earth
> You might want to add support for image/jpeg, image/gif, image/webp, image/avif, image/svg+xml, and possibly for video and audio formats as well. You might want to understand what those technically are, the backend and the privacy and security implementations and to the user they might be only a picture or video but there a lot more ✏ ↺
-
lovetox
It's just for uploading we should just pass mime type and bytes on to the server
-
pup xmpp earth
> Gtk inspector offers insights to clipboard contents (global tab, I think). There we can see available mime types for images contained in the current clipboard. image/png and image/bmp are supported in the next gajim version S ↺
-
pup xmpp earth
> Gtk inspector offers insights to clipboard contents (global tab, I think). There we can see available mime types for images contained in the current clipboard. image/png and image/bmp are supported in the next gajim version So its spying on what you doing locally on your device then ↺
-
Link Mauve
lovetox, why would it be unlikely? I routinely copy or dnd AVIF images between programs, itās the image format I mainly use nowadays.
-
Link Mauve
Although on Linux I donāt think I have any such issue.
-
lovetox
You copy a file then the file link is put into the clipboard not the content
-
Link Mauve
It depends I think, from Firefox when you right click > Copy Image instead of Copy Image Link, you end up with the raw file.
-
lovetox
Yeah maybe, as said I don't know why we have any restriction
-
Link Mauve
I just tested, when I select Copy Image in Firefox, in Wayland I see this whole list of MIME types being offered: [4042804.526] {Default Queue} wl_data_offer#4278190080.offer("audio/x-riff") [4042804.534] {Default Queue} wl_data_offer#4278190080.offer("image/webp") [4042804.541] {Default Queue} wl_data_offer#4278190080.offer("image/jxl") [4042804.547] {Default Queue} wl_data_offer#4278190080.offer("image/avif") [4042804.554] {Default Queue} wl_data_offer#4278190080.offer("image/tiff") [4042804.561] {Default Queue} wl_data_offer#4278190080.offer("image/jpeg") [4042804.568] {Default Queue} wl_data_offer#4278190080.offer("text/ico") [4042804.574] {Default Queue} wl_data_offer#4278190080.offer("image/icon") [4042804.581] {Default Queue} wl_data_offer#4278190080.offer("image/ico") [4042804.587] {Default Queue} wl_data_offer#4278190080.offer("application/ico") [4042804.594] {Default Queue} wl_data_offer#4278190080.offer("image/vnd.microsoft.icon") [4042804.604] {Default Queue} wl_data_offer#4278190080.offer("image/x-win-bitmap") [4042804.614] {Default Queue} wl_data_offer#4278190080.offer("image/x-ico") [4042804.623] {Default Queue} wl_data_offer#4278190080.offer("image/x-icon") [4042804.632] {Default Queue} wl_data_offer#4278190080.offer("image/x-MS-bmp") [4042804.641] {Default Queue} wl_data_offer#4278190080.offer("image/x-bmp") [4042804.650] {Default Queue} wl_data_offer#4278190080.offer("image/bmp") [4042804.659] {Default Queue} wl_data_offer#4278190080.offer("image/png") [4042804.668] {Default Queue} wl_data_offer#4278190080.offer("text/_moz_htmlcontext") [4042804.676] {Default Queue} wl_data_offer#4278190080.offer("text/_moz_htmlinfo") [4042804.685] {Default Queue} wl_data_offer#4278190080.offer("text/html")
-
Link Mauve
I donāt think all of them will work though, like wtf is audio/x-riff doing here?
-
cal0pteryx
That's the point! We only allow to process mime types known to work with gtk's internal "get data from clipboard" function. This is not related to file upload mime types. Most programms provide image/png anyway, so be use that. Now some only provide image/bmp, so I added that
-
cal0pteryx
I would _not_ pass all mime types through, because that may very well fail later in the chain
-
Link Mauve
cal0pteryx, but that will cause the AVIF file to be converted to PNG, possibly losing all HDR, animation, etc. information, and make the file much bigger.
-
Link Mauve
And also waste CPU time decoding the AV1 and encoding the PNG, whereas you could just send the bytes as is.
-
lovetox
Link Mauve: we don't convert anything
-
Link Mauve
The sender does, thatās how those MIME lists work.
-
lovetox
?
-
Link Mauve
When the user selects Copy Image, Firefox already knows which formats itās capable of converting to, so it advertises them all to the compositor. Then Gajim gets that list from the compositor, and picks the format it wants Firefox to convert to.
-
Link Mauve
And then when the user asks for the paste, Firefox and Gajim get two ends of a pipe, and Firefox starts converting the format and streams the bytes in the pipe, which Gajim receives.
-
lovetox
I'm not interested in any conversion, but I don't see a way in the gtk api to request data without conversion
-
Polarity
> cal0pteryx, but that will cause the AVIF file to be converted to PNG, possibly losing all HDR, animation, etc. information, and make the file much bigger. I forgot that the superior AVIF existed.✎ ↺ -
Polarity
> cal0pteryx, but that will cause the AVIF file to be converted to PNG, possibly losing all HDR, animation, etc. information, and make the file much bigger. I forgot that the superior AVIF existed, Discord made me forget about it, lol. ✏ ↺
-
lovetox
Seems we just have to pass every mime type known to man
-
Link Mauve
lovetox, Iām talking about it in #wayland, apparently the list should be ordered rather than unordered (here it clearly isnāt), and there is no notion of priority currently.
-
gimmi
> gimmi: only if you migrate the installation to a new device. If the device is an additional one then no How can I migrate an installation? I just move ~/.config/gajim and ~/.local/share/gajim? ↺
-
gimmi
Tbh, this made me want to try to implement the XEP, but I know I will never have enough time to do it š¢
-
lovetox
gimmi: yes that's it
-
cal0pteryx
lovetox: the providing application converts it afaik. But still, gtk needs to support processing the format supplied. So I opted for a strict list of known to be working mime types
-
lovetox
I do t think that's the case, I dont see why gtk needs to understand the format
-
lovetox
From where do you get that impression?
-
Link Mauve
lovetox, if you want to display it in addition to sending it to the recipient I guess.
-
lovetox
No, then Gajim would need to understand it, not gtk
-
lovetox
Afterwards gajim can think about what it does with the data, pass it to Gtk for a preview or display a placeholder icon
-
lovetox
But this happens all after we get data from the clipboard
-
lovetox
Would be a pretty stupid clipboard api if it would be limited to stuff Gtk understands
-
lovetox
I think it's because we use the get_image apo✎ -
lovetox
I think it's because we use the get_image api ✏
-
lovetox
Which returns a pixbuf, which probably depends on pixbuf loaders understanding the format
-
lovetox
But we should simply use get_content, we don't need a pixbuf
-
pup xmpp earth
X11 uses offite servers to do the backend procesing of graphics using ssh a✎ -
pup xmpp earth
X11 uses offite servers to do the backend procesing of graphics using ssh , and somehow people think this is not a problem, lol ✏
-
moparisthebest
That's an (optional) feature
-
pup xmpp earth
X11 uses offsitd servers to do the backend procesing of graphics using ssh , and somehow people think this is not a problem, lol ✏
-
pup xmpp earth
X11 uses offsite servers to do the backend procesing of graphics using ssh , and somehow people think this is not a problem, lol ✏
-
Link Mauve
pup xmpp earth, you can use waypipe to achieve the same as ssh -X on Wayland.
-
pup xmpp earth
> That's an (optional) feature When anything is a option thats hidden behind the scene thats not disclosed and does something as privacy damaging as sharing your scean✎ ↺ -
pup xmpp earth
> That's an (optional) feature When anything is a option thats hidden behind the scene thats not disclosed and does something as privacy damaging as sharing your screan ✏ ↺
-
pup xmpp earth
> That's an (optional) feature When anything is a option thats hidden behind the scene thats not disclose thats its does something as privacy damaging as sharing your screen , thats a issue ✏ ↺
-
pup xmpp earth
> That's an (optional) feature When anything is a option thats hidden behind the scene thats not disclose thats its does something as privacy damaging as sharing your screen , thats a serious issue. ✏ ↺
-
pup xmpp earth
> That's an (optional) feature When anything is a option thats hidden behind the scene thats not disclose thats its does something as privacy damaging as sharing your screen , thats a serious issue. ✏ ↺
-
luca
Is this about X11 forwarding? The option that is off by default? https://man.openbsd.org/sshd_config#X11Forwarding
-
jonasā
mesonium, an alternative explanation would be (to continue the discussion) that Cheogram expects a different ID for subsequent edits
-
jonasā
editing the original message vs. editing the edit
-
jonasā
I faintly recall a debate about this
-
mesonium
Maybe this should be better discussed in the Cheogram Dev Room or XFS Room or Modern XMPP room as it's more generic and touches all clients
-
jonasā
mesonium, I'm not in cheogram and didn't find you in the others :)
-
jonasā
(because I didn't think of them, honestly)
-
jonasā
(I tried a bunch of others, though)
-
moparisthebest
>> That's an (optional) feature > When anything is a option thats hidden behind the scene thats not disclosed and does something as privacy damaging as sharing your screan that's not how any of that works though, there's nothing privacy damaging with how X works or running X over ssh ↺
-
mesonium
jonasā: I'm not joined all chats all the time :) can't invest time into reading everything, but let me know where to discuss it and I join the channel. Just joined the cheogram dev channel
-
jonasā
mesonium, I opened the discussion in jdev@muc.xmpp.org now, but I'll step away from the keyboard for a while now.
-
lovetox
ok this clipboard api is weird, it does not tell you what the mime type of the data is in the clipboard, it just offers you a bunch of conversions
-
lovetox
ah read_async
-
lovetox
> The clipboard will choose the most suitable mime type from the given list to fulfill the request, preferring the ones listed first.
-
lovetox
and then it tells you the mime type it chose
-
lovetox
but i still need to tell it mime types, so it seems impossible to tell it to return the original mime type
-
pup xmpp earth
>> The clipboard will choose the most suitable mime type from the given list to fulfill the request, preferring the ones listed first. So your clipboard is being saved, scanned, and stats if the usage is being shared and logs will be made something that's not required for the clipboard to work ↺
-
pup xmpp earth
> Also water is wet, thanks for your valuable input Only simple minded people think things are black & white and simple. There is a glass of water for people like that. Start drinking 'water' H30 heavy 'water' and see how long someone would live, there both water
-
moparisthebest
Oh so this is a spammer from another room with a different nick, makes sense now
-
pup xmpp earth
I did not spam anything you lie about everyone✎ -
moparisthebest
Only a spammer would quote/reply to a message from another room elsewhere where it was equally offtopic, this'll be my last message about this
-
lovetox
ok i checked with gtk folks, and it seems wayland does not have that feature
-
lovetox
you cannot ask the provider of the original data of what type the data is
-
pup xmpp earth
I did not spam anything you lie about things you dont know anything about, ya that makes sense, your the cause of the problem why i cant post in the other room not me ✏
-
lovetox
you can just create somekind of best to worst list, and pass it, and hope the data is not in some kind of format where you have a losey conversion
-
moparisthebest
yikes, yet another huge blocker to Wayland becoming usable
-
lovetox
funny what the content providers offer
-
lovetox
for example copying a webp image, i can convert it to
-
lovetox
'audio/x-riff', 'image/webp', 'image/tiff', 'text/ico', 'image/icon', 'image/ico', 'application/ico', 'image/vnd.microsoft.icon', 'image/x-win-bitmap', 'image/x-ico', 'image/x-icon', 'image/x-MS-bmp', 'image/x-bmp', 'image/bmp', 'image/jpeg', 'image/png', 'text/_moz_htmlcontext', 'text/_moz_htmlinfo', 'text/html']
-
lovetox
the clipboard is like a super converter
š 1 -
lovetox
you want just the audio stream from a webp? no problem
š 1 -
moparisthebest
pick the worst possible format always, what would that be there? tiff ?
-
moparisthebest
also didn't realize icon was text/ico yowza
-
lovetox
worst possible format for a picture is probably audio :D
-
mesonium
You either get RGB music or an AI generated image description✎ -
mesonium
You either get RGB 8-bit music or an AI generated image description ✏
-
moparisthebest
I'm thinking text/_moz_htmlinfo could possibly be worse but I've literally never heard of it
-
lovetox
ok seems svg is not offered at all if you copy a svg image
-
lovetox
at least in firefox
-
moparisthebest
that seems crazy, I'm very curious if this is a gnome or gtk or Wayland thing
-
lovetox
its a firefox thing as i understand it
-
moparisthebest
or maybe Firefox
-
lovetox
i just tested with chrome
-
lovetox
it offers
-
lovetox
['text/x-moz-url', 'chromium/x-source-url', 'chromium/x-internal-source-rfh-token', 'image/png', 'text/html', 'MULTIPLE', 'SAVE_TARGETS', 'TARGETS', 'TIMESTAMP']
-
lovetox
also no svg :D
-
moparisthebest
did you try copying an svg from chromium or a file picker or something?
-
lovetox
no you need to copy it from a website
-
moparisthebest
dolphin in KDE for example
-
lovetox
of course if i copy a file on my harddisk it will only send the path to the file on disk
-
lovetox
this is no problem
-
lovetox
but people copy data from other applications
-
lovetox
most of the time websites
-
mesonium
Hu speaking of Firefox .. https://www.collabora.com/news-and-blog/blog/2025/07/03/pipewire-workshop-2025-updates-video-transport-rust-bluetooth/ > next step is to improve the format negotiation. Unfortunately, this is easier said than done, because some applications (like Firefox) seem to have very strange format requirements and expectations.
-
lovetox
hm maybe we should simply ask the user :D
-
mesonium
wouldn't get less complex and weird :D
-
lovetox
it seems the problem with window is simply it does not offer conversion to png, which i think we have to do ourself✎ -
lovetox
it seems the problem with windows is simply it does not offer conversion to png, which i think we have to do ourself ✏
-
lovetox
it just passes a bitmap
-
lovetox
i mean it seems the conversion thing is a kind of feature, we could offer a context menu that says "Paste as ..."
-
lovetox
and then open a dialog where the user can choose some of the popular mimetypes
-
lovetox
and for standard paste, we just convert everything to png
-
lovetox
firefox sadly seems to offer the same mime types independent of what you copy
-
lovetox
it says it can convert everything to audio, even if you just copy a png file
-
mesonium
What happens if you choose audio for a PNG?
-
lovetox
hm, i have problem getting any data currently seems to segfault the whole time
-
alex_
Gajim 2.2.0 when you disable an account and re-enable it, it clears all your PMs and only the mucs appear... has this been fixed in the current version?
-
cal0pteryx
lovetox: but what's the problem right now? I guess most apps offer png/bmp and the rest is converted. Good enough for me if it means Works Evertimeā¢✎ -
cal0pteryx
lovetox: but what's the problem right now? I guess most apps offer png/bmp and the rest is converted. Good enough for me if it means Works Everytime⢠✏
-
lovetox
alex_: no because it's not a bug. Don't disable your account.
-
lovetox
cal0pteryx, after finding out how crazy clipboard stuff is, i think what we are doing now is fine
-
lovetox
read_async, segfaults the whole time or yields and empty byte string
-
lovetox
so even if we wanted we could do not much else
-
cal0pteryx
I vaguely remember that I went that path as well once. But only now by reading this :D
-
ironcastor
i can't quote/reply to messages in a muc in gajim 2.3.3, is this a bug or removed feature?
-
lissine
Is MAM disabled in that room?
-
lovetox
no
-
lissine
I meant in the room ironcastor is talking about
-
ironcastor
what's MAM?
-
lissine
Message archive management. Itās an XMPP extension that lets you receive message history after you were offline
-
ironcastor
yes it's disabled
-
lissine
Thatās probably the reason replies and reactions wonāt work in that room
-
lovetox
yes replies need MAm
-
lovetox
reactions need a feature called occupant-id
-
lovetox
you need to ask with your server support how you can enable both
-
lovetox
or if its not your server, you can ask the admin
-
ironcastor
so i need to ask the server owner to enable MAM and occupant-id?
-
ironcastor
for the whole muc
-
lovetox
is it a MUC on the same server you have registered an account?
-
ironcastor
No
-
lovetox
ok ... and this muc is important to you why? You can create a groupchat on your own server
-
lovetox
i mean of course you can ask the admin of a different server to enable features .. maybe they do it
-
lovetox
if not, and these features are very important to you, i suggest moving the groupchat to a server which does support these features
-
ironcastor
i put ">" before a message and it quotes
-
lovetox
yes thats a quote not a reply
-
lovetox
you can also paste copied text as quote via context menu
-
ironcastor
oh i see
-
Neustradamus
lovetox: I have found a problem on website: https://gajim.org/ -> News -> https://gajim.org/posts/ but there is https://gajim.org/post/ and more: https://gajim.org/post/page/2/ etc
-
lovetox
yes thanks its known
-
lovetox
we need to delete those
-
ironcastor
lovetox, it was a bit confusing because i couldn't see the "quote" option in the 3 dots list of a message
-
Neustradamus
You need to redirect: - https://gajim.org/post/ to https://gajim.org/posts/ - https://gajim.org/post/page/2/ etc to https://gajim.org/posts/page/2/ etc
-
alex_
> alex_: no because it's not a bug. Don't disable your account. oh... ↺
-
alex_
I usually disable accounts when I only want to connect to one at one time :/
-
lovetox
alex_, click the account avatar, set the status of the account to offline
-
alex_
oh... that is how you do it.
-
alex_
What is the purpose of disabling accounts then?
-
lovetox
yeah i asked myself the same question a few days ago
-
lovetox
something in between going simply offline and removing all data of an account forever
-
lovetox
its probably more a developer thing, but not 100% sure