add python handler for click event

Bug #510651 reported by Stefan Bethge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DockManager
New
Wishlist
Unassigned
Docky
Won't Fix
Wishlist
Jason Smith

Bug Description

In order to extend instant messenger handlers, like the pidgin or gajim one, I'd like to be able to handle a simple left click on the icon whenever a badge with new messages is displayed. A click would then simply open the new messages instead of the roster/application window. It would save a few clicks and generally improve workflow I guess. If that is ok with the design plans for docky, it would be nice to have a handler similar to menu_pressed that helpers could use.

Revision history for this message
Robert Dyer (psybers) wrote :

I'm not sure I agree with that. The left click functionality on an icon is fairly well defined. Overriding may confuse people.

Changed in docky:
importance: Undecided → Wishlist
assignee: nobody → Jason Smith (jassmith)
Revision history for this message
Stefan Bethge (kjyv) wrote :

Thats why I asked. But I think it's important to think about what it is that is fairly well defined. Is it that everybody thinks "left click is opening the main window" or is it "I want to use this application now, so I left click it" - so I think the most probable thing to do is to open the new message that the user was just notified about. At least for an instant messenger, in what cases would you want to do something else than reading the message? The notification area icon has that behaviour for gajim btw. It might also be worth considering to do both, unminimize the roster and display the new message. I'll also check what messengers on os x do.

Revision history for this message
Robert Dyer (psybers) wrote :

This would need support both in the scripts and the docks. Thus it affects multiple projects.

Robert Dyer (psybers)
Changed in docky:
status: New → Won't Fix
Revision history for this message
Stefan Bethge (kjyv) wrote :

While design issues sometimes have to be decided in a despotic way, I'd still like to know why you decided not to do this.
Thanks :)

Revision history for this message
Robert Dyer (psybers) wrote :

We didnt. Notice it is still marked 'New' just in a different project.

Robert Dyer (psybers)
Changed in dockmanager:
importance: Undecided → Wishlist
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.