Xpra: Ticket #1151: gsprint.exe popup while printing with win32 clients

Using a r12205 Win8.l trunk client against a Fedora 23 trunk r12220:

I'll attach a screenshot of the popup (for anyone who sees this and doesn't know what I'm talking about).



Fri, 25 Mar 2016 18:33:25 GMT - J. Max Mena: attachment set

The popup


Fri, 25 Mar 2016 18:35:22 GMT - J. Max Mena:

Of note, I set the global environment variable (right click on This PC>Properties>Advanced System Settings>Environment Variables) XPRA_WIN32_PRINTER_FLAGS=LOCAL,NETWORK+SHARED+CONNECTIONS before launching the client.


Sat, 26 Mar 2016 04:32:07 GMT - Antoine Martin: owner changed

Should be fixed in r12221 (suitable for backports).


Of note, I set the global environment variable..


That's is the default in 0.17.x. I thought network printers were enabled by default in 0.16.x too since that's what ticket:1048#comment:15 claims, r12222 fixes that.


Tue, 29 Mar 2016 07:32:05 GMT - Antoine Martin: priority changed

Raising, will block the 0.16.4 which should include this fix - applied there in r12273.


Tue, 29 Mar 2016 15:55:38 GMT - J. Max Mena: owner changed


If you post a 16.X build, I can verify it there as well


Tue, 29 Mar 2016 16:00:24 GMT - J. Max Mena: owner changed

I spoke too soon.

(Forgot to disable SELinux)


Tue, 29 Mar 2016 16:08:13 GMT - J. Max Mena: owner changed

I honestly have no idea what just happened.

And then my session kicked me and promptly keeled over, as an xpra list showed an old session that needed to be cleaned up, and a further xpra list showed no sessions. Weird. After restarting my session and printing the same picture, I don't see the same error.

I've tried this a few times now, and I don't see it again. I guess it was a one time thing.


Tue, 29 Mar 2016 16:46:23 GMT - Antoine Martin: owner changed

@maxmylyn: done, latest 0.16.4RC and 0.17 beta builds uploaded.


Tue, 29 Mar 2016 17:04:11 GMT - J. Max Mena: owner changed

2016-03-29 10:01:14,511  client request
2016-03-29 10:01:14,650 downloaded 4598121 bytes to application/pdf file for printing:
2016-03-29 10:01:14,650  C:\Users\Max\Downloads\da39a3ee5e6b4b0d3255bfef95601890afd80709-2.pdf
2016-03-29 10:01:49,184 Unhandled error while processing a 'send-file' packet from peer using <bound method XpraClient._process_send_file of gtk2.client>
2016-03-29 10:01:49,186   File "xpra\client\client_base.pyc", line 833, in process_packet
2016-03-29 10:01:49,186   File "xpra\net\file_transfer.pyc", line 145, in _process_send_file
2016-03-29 10:01:49,186   File "xpra\net\file_transfer.pyc", line 166, in _print_file
2016-03-29 10:01:49,187   File "xpra\platform\win32\printing.pyc", line 149, in print_files

And also places a garbage .pdf in my (Local Windows) Downloads folder.

But, when I re-built my server with the 16 tagged source, printing works fine. The client prints fine without the pop-up, just not against a trunk server.


Mon, 04 Apr 2016 07:41:07 GMT - Antoine Martin: owner changed

But, when I re-built my server with the 16 tagged source, printing works fine.


That's very unlikely, the bug in comment:8 is very real and should be fixed in r12312.


Tue, 12 Apr 2016 20:33:58 GMT - J. Max Mena: owner changed

Upped server to r12379 and client to r12356 both trunk, same OSs:

Passing back to you (probably for closure)


Wed, 13 Apr 2016 03:41:41 GMT - Antoine Martin: status changed; resolution set


Sat, 23 Jan 2021 05:16:23 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1151