question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Win32Exception when moving the cursor while Windows' User Account Control (UAC) window pops up

See original GitHub issue

Describe the crash: When I try to launch my tablet driver, Windows brings up the User Account Control window (which dims the whole screen behind it). Sometimes, if I move the mouse while that window appears, Lazer crashes and gives a Win32Exception saying “Access denied”.

Logs: The only relevant portion of the logs is this one in runtime.log:

2020-06-30 12:54:37 [verbose]: Focus contention triggered by NotificationOverlay.
2020-06-30 12:54:37 [error]: An unhandled error has occurred.
2020-06-30 12:54:37 [error]: System.ComponentModel.Win32Exception (5): Accesso negato.
2020-06-30 12:54:37 [error]: at osuTK.Platform.Windows.WinGLNative.HandleMouseMove(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam)
2020-06-30 12:54:37 [error]: at osuTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam)
2020-06-30 12:54:37 [error]: at osuTK.Platform.Windows.Functions.DispatchMessage(MSG& msg)
2020-06-30 12:54:37 [error]: at osuTK.Platform.Windows.WinGLNative.ProcessEvents()
2020-06-30 12:54:37 [error]: at osuTK.GameWindow.Run(Double updates_per_second, Double frames_per_second)
2020-06-30 12:54:37 [error]: at osuTK.GameWindow.Run()
2020-06-30 12:54:37 [error]: at osu.Framework.Platform.GameWindow.Run()
2020-06-30 12:54:37 [error]: at osu.Framework.Platform.GameHost.Run(Game game)
2020-06-30 12:54:37 [error]: at osu.Desktop.Program.Main(String[] args)

One weird thing is that the “Access denied” description is in Italian (my OS language), but that’s not very important.

Computer Specifications: OS: Windows 10 Home (Version 1909), Build 18363.900

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
frenzibytecommented, Jul 5, 2020

Good to hear! although this issue does not appear frequently, I think this should still be opened until the game fully uses SDL as its default backend and leaves osuTK away.

0reactions
Joehuucommented, Dec 4, 2020

Fixed in SDL as of now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

UAC Pop-up appears and then immediately disappears for a
a) Press Windows Key + X Key. b) Click on Control Panel. Click User Account. c) Click on Change User Control Account Settings....
Read more >
My mouse cannot click on UAC prompts or Installers.
My mouse has suddenly stopped being able to click on the User Account Control prompts that show up when updating/installing programs/games.
Read more >
UAC prompt is blocked when I use Quick Assist
Mouse cursors can be spoofed by hiding the real cursor and replacing it with an offset so the cursor is actually pointing to...
Read more >
Turn off annoying User Account Control pop-ups, but be ...
By default, the User Account Control is set to pop-up whenever an app or program attempts to make changes to your computer. If...
Read more >
How to Fix Right Click Menu Randomly Popping ... - YouTube
How to Fix Right Click Menu Randomly Popping Up on Windows 10. ... I move my cursor using my wireless mouse, the right...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found