Xpra: Ticket #1811: Changing Scaling before Drawing crashes

Changing the scaling during a shadow crashes with:

Traceback (most recent call last):
  File "./xpra/client/gtk_base/gtk_tray_menu_base.py", line 855, in scaling_activated
  File "./xpra/client/ui_client_base.py", line 1067, in scaleset
  File "./xpra/client/ui_client_base.py", line 1096, in scale_change
TypeError: 'NoneType' object is not iterable

Change is made before showing the screens

Tue, 17 Apr 2018 14:30:18 GMT - stdedos:

during a shadow: during attach of an already-started shadow

Thu, 19 Apr 2018 15:27:15 GMT - Antoine Martin: owner changed

This looks like a harmless stacktrace. r19018 should avoid that, both from the tray menu or key shortcuts. r19019 also grays out the tray menu entries until the server connection is fully established.

If you still have problems, please provide steps to reproduce.

Fri, 27 Apr 2018 11:14:05 GMT - stdedos: owner changed

Not able to reproduce, as you blocked the avenue for doing so :-D. Setting from the command line does not affect.

I'd of course prefer if the option was allowed to be set for the future (i.e. as kind of given through the command line), but I can accept fix as resolution.

Fri, 27 Apr 2018 12:18:25 GMT - Antoine Martin: status, component changed; resolution, milestone set

Sat, 23 Jan 2021 05:34:25 GMT - migration script:

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