applicataion detect on dual monitor

Bug #865836 reported by VoSi
36
This bug affects 5 people
Affects Status Importance Assigned to Milestone
DockbarX
Fix Committed
Undecided
Unassigned

Bug Description

steps to teproduce
1. put standalone docx on monitor 1
2. launch some app, that hides in tray (ex. Transmission)
3. click on app tray icon to show it
4. move the app to monitor 2
5. continue to click on tray icon - the counter on app launcher in dockx increases

1. launch firefox
2. open some site
3. put firefox to monitor 2 and dockx to monitor 1
4. click "View page source" in FF (window pops up)
5. close source windows
6. repeat 4,5 several times - the counter on app launcher in dockx increases

Revision history for this message
Benjamin Sutton (bensutton174) wrote :

I have possibly the same bug, where closing a window on my second monitor, while standalone dockx is running on the first, won't get rid of the window from the list, and the window stays in the list until I restart dockx (refreshing isn't enough.)

Revision history for this message
Benjamin Sutton (bensutton174) wrote :

Heres the terminal output whenever it fails to remove a window from the list:

    Traceback (most recent call last):
      File "/usr/local/lib/python2.7/dist-packages/dockbarx/dockbar.py", line 475, in __on_window_closed
        dock.remove_window(window)
      File "/usr/bin/dockx", line 930, in remove_window
        del self.border_distances[window]
      File "/usr/lib/python2.7/weakref.py", line 253, in __delitem__
        del self.data[ref(key)]
    KeyError: <weakref at 0x367ecb0; to 'wnck.Window' at 0x39e44b0>

Matias Särs (msevens)
Changed in dockbar:
status: New → Confirmed
Revision history for this message
Matias Särs (msevens) wrote :

Thanks for the bug report. Assuming that the error message is directly connected to the bug (I do think so) and not just to a symptom of it this bug should be fixed now.

Changed in dockbar:
status: Confirmed → Fix Committed
Revision history for this message
Benjamin Sutton (bensutton174) wrote :

I tested it, and it's fixed, thanks~

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.