lovetox commented on issue #12870 at gajim / gajim
Yes its already fixed, will be in the next release
Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.
Yes its already fixed, will be in the next release
Versions OS: macOS Golden Gate 27 Gajim: 2.7.0 (macOS) GTK: 4.24.1 python-nbxmpp: 7.5.0 Steps to reproduce the problem Copy a web address from Safari (either from the address bar or via "copy link"), Apple Notes, Apple Mail, Bear (e.g. https://gajim.org) Paste the link into the text box of a chat in Gajim Expected behavior Gajim should paste the address into the text box and format it as a link, optionally creating a preview. Actual behavior The file attachment dialogue opens. Notes Pasting the…
GST_PLUGIN_PATH: Overriding it in launch.py would probably work as well, since launch.py also runs in each worker before freeze_support(). I used GST_PLUGIN_PATH_1_0/GST_REGISTRY_1_0 because GStreamer always prefers them over the unversioned variables, so the fix doesn't depend on whether PyInstaller's runtime hook runs before or after our code. Happy to switch to the plain variables if you prefer. Why only in the worker: the macOS crash report of the 2.7.0 worker shows where it dies:…
Problem After cancelling the "Send Files" page, the keyboard focus doesn't return to the message input but moves to the next focusable widget (the avatar button in the chat banner), so typing goes nowhere until the input is clicked. Fix Focus the message input when the page is cancelled, as already done when the files are sent. Testing Pasted a file, clicked Cancel, and typed without clicking: the text goes into the message input. Sending files still focuses the input as before.
lovetox (205c7f54) at 17 Nov 18:46 fix: ChatStack: Focus input after function page is finished
Hi thanks for tracking this down. Why are we not overriding GST_PLUGIN_PATH? Why does it only crash in the worker process, i would assume the same scan happens in the main process? Should we report this upstream?
The issue does not occur with the nightly from 2026-11-17 on the same machine.
Update on video: the crash behind #12625 is the one fixed in !1390, and with it video previews work on macOS again. The re-enabling is now part of !1390. Clicking a video opens it in the default player, as on the other platforms.
I think I found the cause. PyInstaller's GStreamer runtime hook sets GST_PLUGIN_PATH to the whole Contents/Frameworks directory, so when GStreamer is initialised in a multiprocessing worker (video thumbnails, audio properties) the registry scan dlopen()s every bundled library, and loading PyObjC's _objc that way crashes the worker (objc: entsize_list_tt overflow). That's why it only happens in the app bundle and not when running from source, and why it breaks the process pool afterwards. !1390…
Problem After cancelling the "Send Files" page, the keyboard focus doesn't return to the message input but moves to the next focusable widget (the avatar button in the chat banner), so typing goes nowhere until the input is clicked. Fix Focus the message input when the page is cancelled, as already done when the files are sent. Testing Pasted a file, clicked Cancel, and typed without clicking: the text goes into the message input. Sending files still focuses the input as before.
Versions OS: macOS Golden Gate 27 Gajim: 2.7.0 (macOS) GTK: 4.24.1 python-nbxmpp: 7.5.0 Steps to reproduce the problem Copy a web address from Safari (either from the address bar or via "copy link"), Apple Notes, Apple Mail, Bear (e.g. https://gajim.org) Paste the link into the text box of a chat in Gajim Expected behavior Gajim should paste the address into the text box and format it as a link, optionally creating a preview. Actual behavior The file attachment dialogue opens. Notes Pasting the…
Could you please split these issues into three distinct ones? Having several issues merged makes it harder to track.
I could reproduce all three points with Gajim 2.7.0 on macOS 27 (Apple Silicon). Status: 1. Microphone: fix in !1390. The app bundle doesn't declare NSMicrophoneUsageDescription, so macOS refuses microphone access without asking (and Gajim never appears under Privacy & Security → Microphone). With the key added, macOS asks for permission and recording works. 2. Audio/video messages shown as m4a files: fixes for audio in !1388, !1389 and !1390, video not yet. .m4a is detected as audio/mp4a-latm…
Related: #12867 Problem Three packaging problems in the macOS app (2.7.0): Info.plist has no NSMicrophoneUsageDescription. macOS refuses microphone access without asking (TCC log: "Refusing authorization request for service kTCCServiceMicrophone … without NSMicrophoneUsageDescription key"), Gajim doesn't appear under Privacy & Security → Microphone, and voice messages are silent. The typefindfunctions GStreamer plugin isn't bundled. Without it GStreamer can't detect any stream type, so audio…
Related: #12867 Problem The recorder doesn't fix the channel count. On macOS, the built-in microphone is delivered as two channels with the signal on the first one only, so voice messages are stereo with a silent right channel: they play on the left ear only, and the waveform shows only one half. Fix Add channels=1 to the capsfilter. Voice messages are now mono on all platforms, which also halves the file size. Testing macOS (dev): recorded voice messages now have a symmetric waveform, play on…
Related: #12867 Problem On macOS, Python's mimetypes also reads /etc/apache2/mime.types, which lists m4a under both audio/mp4 and audio/mp4a-latm; the later entry wins, so guess_mime_type() returns audio/mp4a-latm. That type isn't in AUDIO_MIME_TYPES, so m4a files (including voice messages) are shown as a plain file instead of the audio player. Files uploaded from macOS also carry this content type, so other Gajim clients refuse to preview them ("Not an allowed content type: audio/mp4a-latm").…
Problem On macOS, apps that download files (browsers, Mail, Messages) set the com.apple.quarantine extended attribute, and Finder keeps it when extracting archives. Gatekeeper evaluates it when such a file is launched as an app or script (signature and notarization check, first-launch prompt). Files received through Gajim don't get the attribute, so an app or script received in a chat opens without these checks. Tested on 2.7.0: an unsigned test app in a ZIP received via Gajim runs after…
All these things are on the same machine, the key, the checksum file, and the installer. I dont see how that can raise trust. Further for who would we do this? I would argue that certainly the vast majority of users will not download a pgp key, verify a signature file and then compare a sha.
Will report back tomorrow due to difficulties with the internet...
lovetox (45222ff4) at 12 Nov 22:01 cfix: Update flatpak deps
We already generate a thumbnail if its possible with your installed libs. Maybe check debug logging if there is something useful. mkv is not really the problem here, its what is in it.
I don't think the concern about turning Gajim into a video player really applies here. All I asked is that .mkv files receive the same attachment preview treatment as other video formats. Generating a thumbnail and presenting a video attachment in a conversation doesn't mean Gajim has to become a video player, it's already handled by an external player (e.g. mpv). I also don't think the argument that .mkv (and other formats) aren't commonly used on GIF/sticker sites is sufficient justification…
lovetox (3b3321ef) at 12 Nov 21:44 cfix: Fix docker file
lovetox (20da61ab) at 12 Nov 21:14 change: Remove emoji dependency
Use the gtk emoji data as source Refactor emoji data into own module
lovetox (4b2910fe) at 12 Nov 21:08 change: Remove emoji dependency
This is intended. The other mentioned formats are common formats on GIF/Sticker sites which are common to share in messengers. mkv to my knowledge is not, and we dont intend Gajim to become a video player.
Gajim version: 2.7.0 .mkv videos are not previewed, while .webm/.mp4/etc videos are. I haven't looked at the issue specifically, but note that video/x-matroska is already in VIDEO_MIME_TYPES (src/gajim/common/util/media.py), so this doesn't look like a missing allowlist entry. Not really sure.