justTony / pytyle

Automatically exported from code.google.com/p/pytyle
GNU General Public License v3.0
0 stars 0 forks source link

pytyle crashes on omnipresent windows #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make a window omnipresent (visible on every workspace)
2. move it to a workspace where pytyle is active
3. pytyle crashes

What is the expected output? 
I expect openbox to manage the omipresent window someway
What do you see instead?

 Traceback (most recent call last):
  File "/usr/bin/pytyle2", line 59, in <module>
    d = Dispatcher(event_data)
  File "/usr/lib/pymodules/python2.6/pt/dispatcher.py", line 20, in __init__
    getattr(self, self._event_data['event'])()
  File "/usr/lib/pymodules/python2.6/pt/dispatcher.py", line 95, in PropertyNotifyEvent
    win.update_property(a)
  File "/usr/lib/pymodules/python2.6/pt/window.py", line 233, in update_property
    m()
  File "/usr/lib/pymodules/python2.6/pt/window.py", line 249, in update_NET_WM_DESKTOP
    self.update_monitor()
  File "/usr/lib/pymodules/python2.6/pt/window.py", line 223, in update_monitor
    workspace = Workspace.WORKSPACES[self.properties['_NET_WM_DESKTOP']]
KeyError: 'all'

What version of the product are you using? On what operating system?
latest pytyle on Debian squeeze with the squeeze-packaged openbox

Please provide any additional information below.
same thing appen with XFWM4

Original issue reported on code.google.com by biodec.b...@gmail.com on 18 Jul 2011 at 3:56