MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

XAML: Holotoolkit triggers own and system keyboard

Open IrisSReflekt opened this issue 8 years ago • 7 comments

Overview

I use the Holotoolkit keyboard and gaze at its input field (the one directly on the keyboard)

Expected Behavior

nothing should happen except for maybe focus change

Actual Behavior

As soon as I gaze at the input field, I am thrown out of my app and into the 2d keyboard app. if i enter my text there and submit, the text is submitted into the input field of the holotoolkit keyboard and i have to click enter on that one once more to finally submit the text. If i gaze again on the input field the external keyboard opens again. This can make the user be stuck in a loop if he keeps looking there to check his input

Steps to reproduce

build with xaml open holotoolkit keyboard gaze at the input field

Unity Editor Version

2017.2.0f3 - building for XAML with 10.0.16299.0 sdk

Mixed Reality Toolkit Release Version

2017.2.1.0

IrisSReflekt avatar Apr 11 '18 12:04 IrisSReflekt

Duplicate of #1370

StephenHodgson avatar Apr 11 '18 13:04 StephenHodgson

Well not exactly a duplicate. Essentially we need to remove the keyboard prefab from the project for those that are using RS4 in the HoloLens

StephenHodgson avatar Apr 11 '18 13:04 StephenHodgson

I dont think we are using rs4, i just checked os and firmware version numbers: os: 10.0.14393.2007 firmware: 0005.05.P.1606.291.233.R

Also, if you would remove the keyboard prefab, that would mean we have to use the integrated 2d one? because we actually want to only use the one from holotoolkit to prevent breaking the 3d immersion

IrisSReflekt avatar Apr 11 '18 15:04 IrisSReflekt

Surprised you're using XMAL for HoloLens development. Is there a specific requirement you're trying to meet? The MRTK requires D3D.

StephenHodgson avatar Apr 11 '18 15:04 StephenHodgson

Yes, we need to start the app from protocol to deeplink to content. Maybe there is a way to do this also with d3d, I followed a suggestion by unity to do it with XAML

IrisSReflekt avatar Apr 12 '18 07:04 IrisSReflekt

I was able to move back to D3D with the solution I posted there: https://forum.unity.com/threads/using-uwp-onactivated-with-unity.497314/ Thanks for the quick replies!

IrisSReflekt avatar Apr 13 '18 13:04 IrisSReflekt

It's not specificallyon topic but I also exported my project in XAML because I needed to open a registered filetype file in the desktop version using OnFileActivated(FileActivatedEventArgs args). I didn't try this on the hololens version yet, but I cannot see another way of doing it. Is there a right/recommended way to do this in a D3D project?

cybergoulion avatar Apr 17 '18 10:04 cybergoulion