PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

[Launcher] Pointer Enter / Exit Events don't fire after pressing WinR from already open search.

Open ryanbodrug-microsoft opened this issue 6 years ago • 3 comments

Environment

Debug: Commit: d4da98b

Windows build number: [run "ver" at a command prompt]
PowerToys version: Locally Built
PowerToy module for which you are reporting the bug (if applicable): Launcher

Steps to reproduce

  1. Press Alt-Space to open the launcher.
  2. Observe that context buttons show up when mouse pointer enters the result.
  3. Set a breakpoint ResultViewModel.cs ActivateContextButtonsHoverAction Line 57.
  4. Observe that breakpoints hit.
  5. Press Win-R to open the launcher again.
  6. Observe that the context buttons don't show up on mouse pointer enter.
  7. Set a breakpoint ResultViewModel.cs ActivateContextButtonsHoverAction Line 57.
  8. Observe that breakpoints don't hit.

Note this behavior seems specific to Win+R.

Expected behavior

Pointer Events should behave the same after opening launcher consecutive times.

Screenshots

Win_R_NoPointerEnter

ryanbodrug-microsoft avatar Apr 24 '20 01:04 ryanbodrug-microsoft

I think this is similar to #2420. Also, @ryanbodrug-microsoft I thought we disabled Win+R.

jyuwono avatar Apr 29 '20 15:04 jyuwono

@jyuwono Yes, I believe that this can be closed in favor of #2420. Win-R was just an easy way to repro, but not sure what the root cause is. I saw it happening with alt-space as well. Also I wasn't able to repro since @niels9001 changed the control template on the gridviewitems for the result list. I didn't spend enough time on it to say it's not reproducible though, and I don't know what the root cause is.

ryanbodrug-microsoft avatar May 01 '20 01:05 ryanbodrug-microsoft

@ryanbodrug-microsoft sounds good, thanks for clarifying. I'll close this one. If we see this issue again in the future, let's file a new issue.

jyuwono avatar May 04 '20 16:05 jyuwono