xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 4 years ago

Closed 4 years ago

Last modified 16 months ago

#1821 closed defect (fixed)

scroll paint error when disabling opengl with python3 client

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: blocker Milestone: 2.3
Component: client Version: 2.2.x
Keywords: Cc:


Scroll paint is enabled since opengl supports it, but when we turn opengl off we revert back to the cairo backing and get this:

2018-04-26 22:06:03,153 error processing draw packet
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/xpra/client/mixins/window_manager.py", line 1188, in _draw_thread_loop
  File "/usr/lib64/python3.6/site-packages/xpra/client/mixins/window_manager.py", line 1249, in _do_draw
    window.draw_region(x, y, width, height, coding, data, rowstride, packet_sequence, options, [record_decode_time])
  File "/usr/lib64/python3.6/site-packages/xpra/client/client_window_base.py", line 604, in draw_region
    backing.draw_region(x, y, width, height, coding, img_data, rowstride, options, callbacks)
  File "/usr/lib64/python3.6/site-packages/xpra/client/window_backing_base.py", line 590, in draw_region
    self.paint_scroll(img_data, options, callbacks)
  File "/usr/lib64/python3.6/site-packages/xpra/client/window_backing_base.py", line 545, in paint_scroll
    raise NotImplementedError("no paint scroll on %s" % type(self))
NotImplementedError: no paint scroll on <class 'xpra.client.gtk3.cairo_backing.CairoBacking'>
2018-04-26 22:06:05,985 Error drawing on window 1

Change History (2)

comment:1 Changed 4 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

Done in r19085.

Found the magic formulae in this cairo mailing list post from 2005: Scrolling/Copying.

comment:2 Changed 16 months ago by migration script

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

Note: See TracTickets for help on using tickets.