# 2021.07.20 Weekly Meeting

**URL:** <https://discourse.slicer.org/t/2021-07-20-weekly-meeting/18805>\
**Category:** Weekly meetings\
**Created:** [July 19, 2021, 8:45pm UTC](https://discourse.slicer.org/t/2021-07-20-weekly-meeting/18805 "2021-07-19T20:45:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Post date:** [July 19, 2021, 8:45pm UTC](https://discourse.slicer.org/t/2021-07-20-weekly-meeting/18805/1 "2021-07-19T20:45:32Z")

</div>

Tomorrow, we will be having our next weekly hangout at 10:00 AM ET until 11 AM ET.

Anyone is welcome to join to ask questions at [https://bit.ly/slicer-googlemeet-hosted-by-kitware](https://bit.ly/slicer-googlemeet-hosted-by-kitware)

Agenda:

- Slicer 5 / Extension manager
- Disabling right click menus in custom applications

Feel free to post to this thread to request/suggest a topic!

Thanks  
Sam and J-Christophe

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 19, 2021, 11:51pm UTC](https://discourse.slicer.org/t/2021-07-20-weekly-meeting/18805/2 "2021-07-19T23:51:54Z")

</div>

> [@Sam\_Horvath](#):
>
> Disabling right click menus in custom applications

I won’t be available to meet tomorrow but would be happy to help with this.

Right-click menus have been available for about 2 years now, so it is not a new thing except that new actions are added recently for the camera+slice widget (we previously only had actions for markups widgets). Right-click menu was designed with custom applications in mind (in fact, developed so that custom applications can define right-click menus cleanly). You can easily [add actions](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#subject-hierarchy-plugin-offering-view-context-menu-action) and [hide any built-in actions](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#use-whitelist-to-customize-view-menu) by specifying a whitelist.

Instead of considering just disabling the feature I would recommend to embrace it and take advantage of it, as almost all other applications do it. VTK-based applications have been quite bad with this because VTK does not have any built-in support context-menus but with Slicer’s infrastructure in place (and especially with the flexibility of pluggable subject hierarchy plugins and displayable managers) it is quite easy to manage them and they can significantly improve the usability of an application (actions easier to discover than keyboard shortcuts, available without moving the mouse away from the viewer, and the list of actions are context sensitive - showing only the actions relevant at the current position).

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [July 20, 2021, 1:51am UTC](https://discourse.slicer.org/t/2021-07-20-weekly-meeting/18805/3 "2021-07-20T01:51:32Z")

</div>

Right-click context menu customizations had a recently introduced bug that was recently fixed which I tested. You can review my testing results over at [BUG: Fix customization of view context menu by lassoan · Pull Request #5732 · Slicer/Slicer · GitHub](https://github.com/Slicer/Slicer/pull/5732#pullrequestreview-703502697).
