GuOrg / Gu.Wpf.Adorners

MIT License
90 stars 12 forks source link

problem with ctrlkeys #4

Closed tofutim closed 8 years ago

tofutim commented 8 years ago

When I press Ctrl Win F1 - I get

image

tofutim commented 8 years ago

I think it is because there is keyboard input but the box is empty

tofutim commented 8 years ago

I tested some more, no problem with anything except Ctrl-Win-F1 (on Mac I press Ctrl-Cmd-Fn-F1). It works with Ctrl-Win-F2. So strange!

JohanLarsson commented 8 years ago

Wow, that looks nasty, thanks for reporting the issue. Looks like I dumbed a nullcheck.

JohanLarsson commented 8 years ago

I could not repro it in the demo project, gonna read some code now and try to spot the bug.

tofutim commented 8 years ago

Maybe it is something else I am doing in my program - will check it.

On Fri, Feb 26, 2016 at 2:53 PM, Johan Larsson notifications@github.com wrote:

I could not repro it in the demo project, gonna read some code now and try to spot the bug.

— Reply to this email directly or view it on GitHub https://github.com/JohanLarsson/Gu.Wpf.Adorners/issues/4#issuecomment-189516128 .

tofutim commented 8 years ago

When I press Ctrl-Win-F1, it switches to a different tab in my TabControl - that may be the issue

On Fri, Feb 26, 2016 at 2:54 PM, Tim Uy tim@loqu8.com wrote:

Maybe it is something else I am doing in my program - will check it.

On Fri, Feb 26, 2016 at 2:53 PM, Johan Larsson notifications@github.com wrote:

I could not repro it in the demo project, gonna read some code now and try to spot the bug.

— Reply to this email directly or view it on GitHub https://github.com/JohanLarsson/Gu.Wpf.Adorners/issues/4#issuecomment-189516128 .

JohanLarsson commented 8 years ago

Ah, nice thanks for the info. I added a nullcheck, publishing a package you can try.

JohanLarsson commented 8 years ago

Published 1.1.1.1 could not repro it so dunno if fixed.

tofutim commented 8 years ago

You saved the day! I just installed 1.1.1.2 and it resolves the issue. Thank you Johan.