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

[Bug] Unable to manage elevated windows #867

Open
chris141896 opened this issue Nov 28, 2024 · 3 comments
Open

[Bug] Unable to manage elevated windows #867

chris141896 opened this issue Nov 28, 2024 · 3 comments
Labels
needs triage To be categorized or requires further context type: bug Something isn't working

Comments

@chris141896
Copy link

Describe the bug

#32 states GlazeWM should now be able to manage elevated windows, but it looks like they cannot be. Non-elevated windows tile around them rather than tiling them or ignoring them.

Reproduction

  1. Open 2x non-elevated Windows PowerShell windows
  2. Open 1x elevated Windows PowerShell window (Run as administrator)
  3. Attempt to tile all 3 to a single screen

Expected:
All 3 windows are tiled.
Or
Elevated windows is ignored and the 2 non-elevated windows are tiled

Actual:
Non-elevated windows tile around the elevated.
Elevated window cannot be moved or resized by GlazeWM
tiled

Stack trace or error logs (if applicable)

No response

Version number

3.6.0

@chris141896 chris141896 added the type: bug Something isn't working label Nov 28, 2024
@github-project-automation github-project-automation bot moved this to 📬 Needs triage in glazewm Nov 28, 2024
@lars-berger
Copy link
Member

Are you running a development build or the experimental Scoop install? We use a special privilege called uiAccess to be able to manage elevated apps, which has a couple caveats: 1) the GlazeWM executable needs to be signed, and 2) it's installed to C:\Program Files

image

@chris141896
Copy link
Author

I'm using 3.6.0 installed from the MSI at https://github.com/glzr-io/glazewm/releases/download/v3.6.0/standalone-glazewm-v3.6.0-arm64.msi to C:\Program Files\glzr.io\GlazeWM. I see the app is signed and I trust that CA.

Does User Account Control: Allow UIAccess applications to prompt for elevation without using the secure desktop need to be enabled for this to work? See https://u/learn.microsoft/Zh4tfQ

@lars-berger
Copy link
Member

I'm using 3.6.0 installed from the MSI at https://github.com/glzr-io/glazewm/releases/download/v3.6.0/standalone-glazewm-v3.6.0-arm64.msi to C:\Program Files\glzr.io\GlazeWM. I see the app is signed and I trust that CA.

Does User Account Control: Allow UIAccess applications to prompt for elevation without using the secure desktop need to be enabled for this to work? See https://u/learn.microsoft/Zh4tfQ

Recently reset my Windows install, so I'm currently just running full defaults on W10 home. Honestly not too sure where to change that setting - is it the EnableUIADesktopToggle registry key under Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System? Mine's set to 0.

@lars-berger lars-berger added the needs triage To be categorized or requires further context label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage To be categorized or requires further context type: bug Something isn't working
Projects
Status: 📬 Needs triage
Development

No branches or pull requests

2 participants