Ticket #472 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

clicking on the tray icon and virtual desktops

Reported by: Lucas Owned by: nk
Priority: low Milestone: 0.9
Component: roster Version:
Severity: trivial Keywords:
Cc: gjc@… OS:

Description

I'm often using multiple desktops, and the way clicking on the icon works isn't very intuitive. Clicking should always change the state (visible/not visible) of the window on the current desktop. this doesn't work if : - on desktop 1, you make it visible - your switch to desktop 2 - you click on the icon (actually, when you first clic, the window is

made invisible on desktop 1, so I have to click again to make it visible on desktop 2)

(Gossip has this problem too, and I think it might be hard to fix ;)

Attachments

Change History

Changed 3 years ago by nk

  • owner changed from asterix to nk

http://standards.freedesktop.org/wm-spec/1.3/ar01s03.html#id2522044 http://standards.freedesktop.org/wm-spec/1.3/ar01s05.html#id2522829

some code:

# Note: interning atoms avoids X server roundtrips
_NET_CURRENT_DESKTOP = gtk.gdk.atom_intern("_NET_CURRENT_DESKTOP")
_NET_WORKAREA = gtk.gdk.atom_intern("_NET_WORKAREA")
def get_current_workarea():
    root = gtk.gdk.screen_get_default().get_root_window()
    prop = root.property_get(_NET_CURRENT_DESKTOP)
    if prop is None: return None
    propname, proptype, propvalue = prop
    current = propvalue[0]
    prop = root.property_get(_NET_WORKAREA)
    if prop is None: return None
    propname, proptype, propvalue = prop
    return propvalue[current*4 : (current + 1)*4]

Changed 3 years ago by nk

  • summary changed from behaviour when clicking on the tray icon to clicking on the tray icon and virtual desktops
  • milestone set to 0.9

Changed 3 years ago by anonymous

  • cc gjc@… added

Changed 3 years ago by nk

  • status changed from new to closed
  • resolution set to fixed

Add/Change #472 (clicking on the tray icon and virtual desktops)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.