Activity log for bug #812933

Date Who What changed Old value New value Message
2011-07-19 14:42:58 Marco Trevisan (Treviño) bug added bug
2011-07-19 14:54:50 Marco Trevisan (Treviño) branch linked lp:~3v1n0/unity-2d/secondary-activate-support
2011-07-19 14:55:03 Marco Trevisan (Treviño) branch linked lp:~3v1n0/unity/secondary-activate-support
2011-07-19 14:55:14 Marco Trevisan (Treviño) branch linked lp:~3v1n0/indicator-application/secondary-activate-support
2011-07-19 14:55:26 Marco Trevisan (Treviño) branch linked lp:~3v1n0/libindicator/secondary-activate-support
2011-07-19 14:55:40 Marco Trevisan (Treviño) branch linked lp:~3v1n0/libappindicator/secondary-activate-support
2011-07-19 14:56:10 Marco Trevisan (Treviño) bug task added libindicator
2011-07-19 14:56:17 Marco Trevisan (Treviño) libindicator: status New Fix Committed
2011-07-19 14:56:19 Marco Trevisan (Treviño) libindicator: assignee Treviño (Marco Trevisan) (3v1n0)
2011-07-19 14:56:21 Marco Trevisan (Treviño) unity: assignee Treviño (Marco Trevisan) (3v1n0)
2011-07-19 14:56:23 Marco Trevisan (Treviño) unity: status New Fix Committed
2011-07-19 14:56:33 Marco Trevisan (Treviño) bug task added libappindicator
2011-07-19 14:56:43 Marco Trevisan (Treviño) libappindicator: assignee Treviño (Marco Trevisan) (3v1n0)
2011-07-19 14:56:48 Marco Trevisan (Treviño) libappindicator: status New Fix Committed
2011-07-19 14:57:19 Marco Trevisan (Treviño) bug task added unity-2d
2011-07-19 14:57:26 Marco Trevisan (Treviño) unity-2d: status New Fix Committed
2011-07-19 14:57:29 Marco Trevisan (Treviño) unity-2d: assignee Treviño (Marco Trevisan) (3v1n0)
2011-07-19 14:57:46 Marco Trevisan (Treviño) bug task added indicator-application
2011-07-19 14:57:57 Marco Trevisan (Treviño) indicator-application: status New Fix Committed
2011-07-19 14:58:02 Marco Trevisan (Treviño) indicator-application: assignee Treviño (Marco Trevisan) (3v1n0)
2011-07-19 15:18:16 Marco Trevisan (Treviño) bug task added unity (Ubuntu)
2011-07-19 15:18:26 Marco Trevisan (Treviño) unity (Ubuntu): status New Fix Committed
2011-07-19 15:18:28 Marco Trevisan (Treviño) unity (Ubuntu): assignee Treviño (Marco Trevisan) (3v1n0)
2011-07-19 15:49:02 Marco Trevisan (Treviño) bug added subscriber Matthew Paul Thomas
2011-07-20 01:41:51 Marco Trevisan (Treviño) description As partly discussed in the UDS-O Blueprint "Desktop DX Indicators Review", as defined by the StatusNotifierItem specifications [1], and as requested by indicator-sound bug #609860 indicators need to support a secondary_activate signal, that can be fired by middle-click to perform advanced operations. So, I've made some branches for the affected projects to get this implemented both in unity and unity-2d: * libindicator: added the "secondary-activate" signal support. * unity (unityshell and unity-panel-service): catches a middle-click release over an indicator, and emits the secondary-activate signal (via the panel service) * unity-2d (unity-2d-panel): like unity. Now, these changes are just needed for "standard" indicators, which directly uses libindicator. For the userland indicators, there are more things to consider... In fact as already discussed in ayatana list, we should avoid that developers would use the secondary-activate event to perform actions that can't be done otherwise using standard menu items (as not all the platforms can do middle-click and not all users would use it anyway). The problem is that for libappindicator could be quite complicated to check if the event associated to the secondary-activate signal can be done via another menuitem, especially when using complex menu-items (like the one based on ido); so I guess that we can only fallback to the developers responsibilities. The only thing I've done to limit then is to provide a documentation for the AppIndicator::secondary-activate, stating how developers should safely use it. From the other side, an advanced way to quickly control some operations is often needed by advanced users (that I guess are the most part of the ubuntu userland) and, as already said, is also required by the StatusNotifierItem specifications [1]. Of course, while in the official ubuntu indicators we must always guarantee that a secondary-activate is used only to perform operations that can be also done via menu items, we can't control how this API will be used by all the external developers. By the way in my opinion, not to implement features because someone could use them in a bad way is not the right decision, since it will limit too much who wants to use it in the right way. Plus, some ideas about possible implementations of this feature for third-party indicators where provided by comunity also on this etherpad [3]. However, the code to get the secondary-event support in libappindicator-based indicators is available in my branches too: * indicator-application: redirects the libindicator secondary-activate event to the called indicator via the standard "SecondaryActivate". * libappindicator: emits a "secondary-activate" signal to the application using this event. Speaking of the affected indicators, I've already done the work for indicator-sound in bug #609860, and for indicator-messaging in lp:~3v1n0/indicator-messages/clear-notifications-on-secondary-activate (also if this maybe would need more work, and support by libindicate to be discussed in a separated bug). [1] http://www.notmart.org/misc/statusnotifieritem/statusnotifieritem.html#SecondaryActivate [2] https://lists.launchpad.net/ayatana/msg01230.html [3] http://piratepad.net/WepMYIaQbx As partly discussed in the UDS-O Blueprint "Desktop DX Indicators Review", as defined by the StatusNotifierItem specifications [1], and as requested by indicator-sound bug #609860 indicators need to support a secondary_activate signal, that can be fired by middle-click to perform advanced operations. So, I've made some branches for the affected projects to get this implemented both in unity and unity-2d:  * libindicator: added the "secondary-activate" signal support.  * unity (unityshell and unity-panel-service): catches a middle-click release over an           indicator, and emits the secondary-activate signal (via the panel service)  * unity-2d (unity-2d-panel): like unity. /* OLD DESCRIPTION */ Now, these changes are just needed for "standard" indicators, which directly uses libindicator. For the userland indicators, there are more things to consider... In fact as already discussed in ayatana list, we should avoid that developers would use the secondary-activate event to perform actions that can't be done otherwise using standard menu items (as not all the platforms can do middle-click and not all users would use it anyway). The problem is that for libappindicator could be quite complicated to check if the event associated to the secondary-activate signal can be done via another menuitem, especially when using complex menu-items (like the one based on ido); so I guess that we can only fallback to the developers responsibilities. The only thing I've done to limit then is to provide a documentation for the AppIndicator::secondary-activate, stating how developers should safely use it. From the other side, an advanced way to quickly control some operations is often needed by advanced users (that I guess are the most part of the ubuntu userland) and, as already said, is also required by the StatusNotifierItem specifications [1]. Of course, while in the official ubuntu indicators we must always guarantee that a secondary-activate is used only to perform operations that can be also done via menu items, we can't control how this API will be used by all the external developers. By the way in my opinion, not to implement features because someone could use them in a bad way is not the right decision, since it will limit too much who wants to use it in the right way. Plus, some ideas about possible implementations of this feature for third-party indicators where provided by comunity also on this etherpad [3]. However, the code to get the secondary-event support in libappindicator-based indicators is available in my branches too:  * indicator-application: redirects the libindicator secondary-activate event to the                           called indicator via the standard "SecondaryActivate".  * libappindicator: emits a "secondary-activate" signal to the application using this                     event. /* NEW DESCRIPTION */ The libappindicator code now contains a new API: * app_indicator_set_secondary_activate_target With it, an appindicator writer can simply define a new GtkWidget that will be activated when a secondary activation will occur. The GtkWidget must be a sensitive and visible inner child of the appindicator MenuItem. When a middle-click is done over the appindicator, if the linked menu-item is visible and sensitive then it's directly activated. Speaking of the affected indicators, I've already done the work for indicator-sound in bug #609860, and for indicator-messaging in lp:~3v1n0/indicator-messages/clear-notifications-on-secondary-activate (also if this maybe would need more work, and support by libindicate to be discussed in a separated bug). [1] http://www.notmart.org/misc/statusnotifieritem/statusnotifieritem.html#SecondaryActivate [2] https://lists.launchpad.net/ayatana/msg01230.html [3] http://piratepad.net/WepMYIaQbx
2011-07-20 18:20:03 Didier Roche-Tolomelli unity-2d (Ubuntu): status New Fix Committed
2011-07-20 21:46:07 Marco Trevisan (Treviño) unity-2d (Ubuntu): assignee Treviño (Marco Trevisan) (3v1n0)
2011-07-21 12:29:18 Marco Trevisan (Treviño) unity-2d: status Fix Committed In Progress
2011-07-21 12:29:23 Marco Trevisan (Treviño) indicator-application: status Fix Committed In Progress
2011-07-21 12:29:25 Marco Trevisan (Treviño) libappindicator: status Fix Committed In Progress
2011-07-21 12:29:29 Marco Trevisan (Treviño) libindicator: status Fix Committed In Progress
2011-07-21 12:29:31 Marco Trevisan (Treviño) unity: status Fix Committed In Progress
2011-07-21 12:29:53 Marco Trevisan (Treviño) unity-2d (Ubuntu): status Fix Committed In Progress
2011-07-21 12:29:57 Marco Trevisan (Treviño) unity (Ubuntu): status Fix Committed In Progress
2011-07-21 14:57:19 Marco Trevisan (Treviño) libindicator: status In Progress Fix Committed
2011-07-21 15:10:18 Ted Gould libindicator: milestone 0.3.92
2011-07-21 15:10:22 Ted Gould libindicator: status Fix Committed Fix Released
2011-07-22 19:27:21 Ted Gould libappindicator: status In Progress Fix Committed
2011-07-22 19:27:26 Ted Gould libappindicator: milestone 0.3.91
2011-07-22 20:35:54 Ted Gould indicator-application: status In Progress Fix Committed
2011-07-22 20:36:01 Ted Gould indicator-application: milestone 0.3.92
2011-08-01 15:46:02 Neil J. Patel unity: milestone 4.6.0
2011-08-01 15:46:07 Neil J. Patel unity: status In Progress Fix Committed
2011-08-01 16:30:17 Didier Roche-Tolomelli unity: status Fix Committed Fix Released
2011-08-01 17:54:35 Launchpad Janitor branch linked lp:~ubuntu-desktop/unity/ubuntu
2011-08-01 18:30:25 Launchpad Janitor unity (Ubuntu): status In Progress Fix Released
2011-08-01 19:14:34 Launchpad Janitor branch linked lp:ubuntu/unity
2011-08-08 16:29:42 Marco Trevisan (Treviño) branch linked lp:~3v1n0/unity-2d/secondary-activate-support-v2
2011-08-10 08:52:20 Florian Boucault unity-2d: milestone 3.8.16
2011-08-10 08:54:22 Florian Boucault unity-2d: status In Progress Fix Committed
2011-08-10 08:54:25 Florian Boucault unity-2d (Ubuntu): status In Progress Fix Committed
2011-08-11 18:33:54 Didier Roche-Tolomelli unity-2d: status Fix Committed Fix Released
2011-08-11 19:28:23 Launchpad Janitor branch linked lp:unity-2d/4.0
2011-08-11 19:32:10 Launchpad Janitor unity-2d (Ubuntu): status Fix Committed Fix Released
2011-08-11 19:42:29 Ted Gould libappindicator: status Fix Committed Fix Released
2011-08-11 20:00:06 Ted Gould indicator-application: status Fix Committed Fix Released
2011-08-11 20:12:26 Launchpad Janitor branch linked lp:ubuntu/unity-2d
2011-08-13 10:43:31 Launchpad Janitor branch linked lp:~haggai-eran/unity-2d/4.0-rtl
2011-11-14 10:14:36 Bob The Builder unity-2d: status Fix Released Fix Committed
2011-11-14 10:50:19 Gerry Boland unity-2d: status Fix Committed Fix Released
2011-11-14 10:50:29 Gerry Boland branch unlinked lp:~haggai-eran/unity-2d/4.0-rtl