XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

gajim activity

lovetox closed issue #12870: Copying and pasting a web address opens the file attachment dialogue at gajim / gajim

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…

João Sacramento commented on merge request !1390 at gajim / gajim

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:…

lovetox closed merge request !1391: fix: Send files: Focus the message input after cancelling at gajim / gajim

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.

João Sacramento commented on issue #12625 at gajim / gajim

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…

João Sacramento opened merge request !1391: fix: Send files: Focus the message input after cancelling at gajim / gajim

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.

bugtrapper opened issue #12870: Copying and pasting a web address opens the file attachment dialogue at gajim / gajim

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…

João Sacramento commented on issue #12867 at gajim / gajim

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…

João Sacramento opened merge request !1390: fix: macOS: Fix voice messages and audio previews in the app bundle at gajim / gajim

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…

João Sacramento opened merge request !1389: fix: Voice messages: Record in mono at gajim / gajim

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…

João Sacramento opened merge request !1388: fix: Show the audio player for m4a files on macOS at gajim / gajim

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").…

João Sacramento opened merge request !1387: fix: Set the macOS quarantine attribute on received files at gajim / gajim

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…

shansin alcohol commented on issue #12866 at gajim / gajim

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…