Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting powertoys run (ALT+SPACE) throws System.ArgumentException: Value does not fall within the expected range #33612

Closed
ericfitskieolyslager opened this issue Jul 3, 2024 · 7 comments
Labels
Issue-Bug Something isn't working Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@ericfitskieolyslager
Copy link

Microsoft PowerToys version

0.82.0

Installation method

PowerToys auto-update

Running as admin

No

Area(s) with issue?

PowerToys Run

Steps to reproduce

Pressing ALT+SPACE to start powertoys run throws System.ArgumentException: Value does not fall within the expected range

Version: 0.82.0.0
OS Version: Microsoft Windows NT 10.0.22000.0
IntPtr Length: 8
x64: True
Date: 7/3/2024 07:22:36
Exception:
System.ArgumentException: Value does not fall within the expected range.
at Wox.Plugin.Common.Win32.NativeMethods.DwmSetWindowAttribute(IntPtr hwnd, Int32 attr, UInt32& attrValue, Int32 attrSize)
at PowerLauncher.ViewModel.MainViewModel.ToggleWox()
at PowerLauncher.ViewModel.MainViewModel.b__147_0()
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback)
at PowerLauncher.ViewModel.MainViewModel.OnHotkey()
at PowerLauncher.ViewModel.MainViewModel.ProcessHotKeyMessages(IntPtr wparam, IntPtr lparam)
at PowerLauncher.MainWindow.ProcessWindowMessages(IntPtr hwnd, Int32 msg, IntPtr wparam, IntPtr lparam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

✔️ Expected Behavior

Normal starting the powertoys run window to start programs

❌ Actual Behavior

An error window is displayed:
image

Other Software

No response

@ericfitskieolyslager ericfitskieolyslager added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jul 3, 2024
Copy link

github-actions bot commented Jul 3, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@arphox
Copy link

arphox commented Jul 3, 2024

I experience the same issue in both of my screens/displays (I have two monitors).

It's a top priority issue for me, since I use PowerToys run very often (tens of times an hour). I'll try to downgrade my PowerToys version to solve this.

See my log file for only this issue:

2024-07-03.txt

🗒️ Maybe it has something to do with screens or so, so I'll note the followings:

  • I have two monitors:
    • primary monitor: resolution 3840x2160, 200% windows scaling
    • secondary monitor: resolution 1920x180, 100% windows scaling

Edit: After downgrading to v0.81.1, the issue disappeared, so I guess the problem is introduced in v0.82.0

@Whips66
Copy link

Whips66 commented Jul 3, 2024

Same Issue - also running multiple monitors

@Arkuda
Copy link

Arkuda commented Jul 3, 2024

same issue, but - have one monitor

@jtopian
Copy link

jtopian commented Jul 4, 2024

Two 2.5k monitors, same issue. Log file:
ptr_log.txt

I tried disabling all plugins except the 'Program' plugin as that is the only one I really use. This made no difference, however.

@crutkas
Copy link
Member

crutkas commented Jul 6, 2024

/dup #33504.

think we have a fix

Copy link
Contributor

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

6 participants