Philipp Hörist pushed to branch master at gajim / gajim


Commits:
1a0ac4e3 by Philipp Hörist at 2026-05-07T20:28:37+02:00
fix: Process picture clipboard paste correctly

Stop signal emission if we handle the paste

Fixes #12712

- - - - -


1 changed file:

- gajim/gtk/message_actions_box.py


Changes:

=====================================
gajim/gtk/message_actions_box.py
=====================================
@@ -858,6 +858,7 @@ def _on_paste_clipboard(self, textview: 
MessageInputTextView) -> None:
         if "image/png" in mime_types or "image/bmp" in mime_types:
             self._ui.input_overlay.set_visible(True)
             self._ui.input_overlay_label.set_text(_("Processing image…"))
+            textview.stop_emission_by_name("paste-clipboard")
             clipboard.read_texture_async(None, 
self._on_clipboard_read_texture_finished)
             return
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/1a0ac4e3b6ba1e22566a7956cd40cac3c115581a

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/1a0ac4e3b6ba1e22566a7956cd40cac3c115581a
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to