[Parti-discuss] xpra misbehaves with xterm menus

Jeremy Fitzhardinge jeremy at goop.org
Tue Sep 9 14:23:27 EDT 2008


Nathaniel Smith wrote:
> On Mon, Sep 8, 2008 at 4:27 PM, Nathaniel Smith <njs at pobox.com> wrote:
>   
>> On Mon, Sep 8, 2008 at 4:14 PM, Jeremy Fitzhardinge <jeremy at goop.org> wrote:
>>     
>>> Nathaniel Smith wrote:
>>>       
>>>> On Mon, Sep 8, 2008 at 12:23 PM, Jeremy Fitzhardinge <jeremy at goop.org> wrote:
>>>>
>>>>         
>>>>> If I run xterm via xpra and pop one of its menus, the menu appears as a
>>>>> junk bitmap window.  The menu items only appear when I individually
>>>>> select them.
>>>>>
>>>>>           
>>>> Ah, yeah, I've noticed this one before:
>>>>   http://partiwm.org/ticket/22
>>>> Are you using xterm for real, or were you just testing things?
>>>>         
>>> Using it for real.  It does vt100 emulation is better than
>>> gnome-terminal, and I'm using it for displaying a serial console.
>>>       
>> 'kay, I'll bump up the priority on that.  Might be able to get to it
>> tomorrow, unless someone gets ambitious and beats me to it :-).
>>     
>
> I lied -- I finished my paper earlier than expected, and this was a
> nice way to clear my head :-).
>
> Fixed in mainline.
>   

Yep, that works.

Another bug:  If I accidentally hit one of the "media keys" on my
keyboard when an xpra window has focus, the client dies with:

Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/xpra/protocol.py", line 77, in _socket_writeable
    self._flush_one_packet_into_buffer()
  File "/usr/lib64/python2.5/site-packages/xpra/protocol.py", line 59, in _flush_one_packet_into_buffer
    data = bencode(packet)
  File "/usr/lib64/python2.5/site-packages/xpra/bencode.py", line 99, in bencode
    encode_func[type(x)](x, r)
  File "/usr/lib64/python2.5/site-packages/xpra/bencode.py", line 76, in encode_list
    encode_func[type(i)](i, r)
KeyError: <type 'NoneType'>

I can simply restart the client and everything pops back.

    J



More information about the Parti-discuss mailing list