microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

Dwell handler visuals effect is activated even in diabled button #10498

Closed satorihunter closed 9 months ago

satorihunter commented 2 years ago

Describe the bug

In the MRTK DwellExample, a disabled pressable button still shows the dwell effect even though it doesn't trigger anything. This gives the user a wrong perception of the button is getting triggered.

To reproduce

Steps to reproduce the behavior:

  1. Open DwellExample from mrtk expamples
  2. Disable the pressable button using enable/disable option in interactable component
  3. Using the head gaze, focus the button
  4. Even though the button is disabled and does nothing, the dwell effect gets triggered and gives the effect of button getting clicked

Expected behavior

Dwell action should not kick-in if the button is disabled. In the disabled buttons dwell should also be disabled by default.

Screenshots

image image

Target platform (please complete the following information)

IssueSyncBot commented 9 months ago

We appreciate your feedback and thank you for reporting this issue.

Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.

Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.

Please note that MRTK3 was released in August 2023. It features an all new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visithttps://www.mixedrealitytoolkit.org.

Thank you for your continued support of the Mixed Reality Toolkit!