public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Antonio Trande <sagitter@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/xpra] main: Fix rhbz#2496082
Date: Wed, 01 Jul 2026 20:38:15 GMT	[thread overview]
Message-ID: <178293829543.1.8524006689549675569.rpms-xpra-11cfad714133@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/xpra
Branch : main
Commit : 11cfad714133a0cd1a84585de49cf1371fb13c99
Author : Antonio Trande <sagitter@fedoraproject.org>
Date   : 2026-07-01T22:37:58+02:00
Stats  : +32/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/xpra/c/11cfad714133a0cd1a84585de49cf1371fb13c99?branch=main

Log:
Fix rhbz#2496082

---
diff --git a/xpra-6.5-rhbz2496082.patch b/xpra-6.5-rhbz2496082.patch
new file mode 100644
index 0000000..4e75635
--- /dev/null
+++ b/xpra-6.5-rhbz2496082.patch
@@ -0,0 +1,27 @@
+From da3fa8745e7e67845e63cf6d80ed31c768f97138 Mon Sep 17 00:00:00 2001
+From: Antoine Martin <antoine@xpra.org>
+Date: Thu, 25 Jun 2026 00:36:32 +0700
+Subject: [PATCH] #4938 always start the protocol, even with remote starts
+
+---
+ xpra/scripts/main.py | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/xpra/scripts/main.py b/xpra/scripts/main.py
+index ba06004fac..5f17508af4 100755
+--- a/xpra/scripts/main.py
++++ b/xpra/scripts/main.py
+@@ -2075,7 +2075,12 @@ def handshake_complete(*_args) -> None:
+         while True:
+             try:
+                 conn = connect_or_fail(params, opts)
+-                app.make_protocol(conn)
++                protocol = app.make_protocol(conn)
++                if opts.attach is not False:
++                    # the command clients (attach=False) start the protocol from their own `run()` method,
++                    # but the regular client relies on the caller to start it
++                    # (just like `do_setup_connection` does for the normal attach path):
++                    protocol.start()
+                 may_show_progress(app, 80, "connecting to server")
+                 break
+             except InitExit as e:

diff --git a/xpra.spec b/xpra.spec
index d01942d..68d9ebd 100644
--- a/xpra.spec
+++ b/xpra.spec
@@ -39,6 +39,9 @@ Source1:        %{name}.appdata.xml
 # https://bodhi.fedoraproject.org/updates/FEDORA-2025-0882918c25#comment-4407961
 Patch0:         %{name}-fix_audio.patch
 
+# https://bugzilla.redhat.com/show_bug.cgi?id=2496082
+Patch1:         %{name}-6.5-rhbz2496082.patch
+
 BuildRequires:  python3-devel
 BuildRequires:  gtk3-devel
 BuildRequires:  libXtst-devel
@@ -161,6 +164,8 @@ Use Decode As → Xpra to force it on a different port.
 %patch -P 0 -p1 -b .backup
 %endif
 
+%patch -P 1 -p1 -b .backup
+
 rm -rf *.egg-info
 
 # cc1: error: unrecognized compiler option ‘-mfpmath=387’

                 reply	other threads:[~2026-07-01 20:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178293829543.1.8524006689549675569.rpms-xpra-11cfad714133@fedoraproject.org \
    --to=sagitter@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox