James Teh

Results 898 comments of James Teh

It's debatable as to whether it's a Microsoft issue. On one hand, it's annoying that I can't annotate the Value pattern. On the other hand, it's unclear whether you're supposed...

We annotate PROPID_AC_VALUE, but this doesn't seem to carry over to UI Automation. I don't know why. Perhaps implementing the [UI Automation Value pattern](https://docs.microsoft.com/en-us/windows/win32/winauto/uiauto-implementingvalue) might fix this. Fully implementing the...

Dynamic annotation doesn't work for this control unfortunately. UIA Core just seems to ignore UIA_IsValuePatternAvailablePropertyId when it is annotated. That means it'll need to be a full IRawElementProviderSimple implementation... and...

I can't fool it with [OBJID_QUERYCLASSNAMEIDX](https://docs.microsoft.com/en-us/windows/win32/winauto/the-objid-queryclassnameidx-object-identifier) either. This is utterly irritating.

Okay. I've come up with a really horrible hack that avoids the need for a fully custom UIA implementation. I'll clean it up when I get a chance and post...

Yeah, I find this behaviour deeply frustrating myself. I always thought this was just how REAPER handled things. However, if I understand you correctly that select all only selects the...

You're correct; it's not implemented. I had assumed that either REAPER visually displays all notes or that the MIDI API functions would only return notes clipped to item boundaries. Apparently...

We'll handle CCs in the same issue. I doubt we're going to get this entirely correct on the first pass - as noted, there are some obscure edge cases like...

@leonardder, I'm trying to figure out the best way to deal with this. Do you think we should just handle this when returning from findChord or findCC or do you...

My current thinking is that we handle this in findNote/findCC. We need to tweak both the start and length if a note overlaps the item start, so maybe MidiNote could...