microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.04k stars 6.54k forks source link

[AlwaysOnTop] Don't work over a Citrix Workspace session #15680

Open R-Studio opened 2 years ago

R-Studio commented 2 years ago

Microsoft PowerToys version

0.53.1

Running as admin

Area(s) with issue?

Always on Top

Steps to reproduce

  1. Start a Citrix Workspace session (like RDP but from Citrix)
  2. Choose a local App and activate "AlwaysOnTop" (Ctrl + Windows + T)
  3. Drag your App over the Citrix Workspace session
  4. Klick in Citrix Workspace session and

✔️ Expected Behavior

Your App stays in the foreground over the Citrix Workspace session.

FYI: With the "Keep on Top" feature of the Windows built-in Clock works (Windows stays on top of the Citrix Workspace session): image

❌ Actual Behavior

Your App disappears resp. goes behind the Citrix session.

Other Software

OS: Windows 11 (21H2, Build 22000.434)

Jay-o-Way commented 2 years ago

Is it possible the hotkey gets sent to the other/remote device?

htcfreek commented 2 years ago

@Jay-o-Way

Is it possible the hotkey gets sent to the other/remote device?

I think he means the local app with AoT marker doesn't stay in front of the citrix window.

@R-Studio I can't reproduce this with a Citrix App window. Do you have an this problem with an Citrix Desktop session/window? If yes, is the Citrix Desktop window in full screen mode or in window mode?

Jay-o-Way commented 2 years ago

@R-Studio Does this "local app" have a colored border after pressing the hotkey?

R-Studio commented 2 years ago

@Jay-o-Way

@htcfreek

htcfreek commented 2 years ago

@htcfreek

  • Your right about your answer.
  • I running the Citrix Desktop session in fullscreen stretched over two screens of 4 screens. When I press the hotkey on an local App and drag this App to another screen (over the Citrix Desktop) and click in Citrix Desktop the local Apps moves behind the Citrix desktop session.

I can reproduce it. Same behavior on my system.

But only if the desktop window is in full screen mode. In window mode it works. 🤨

@SeraphimaZ The window seems to behave in a special way when in full screen mode. Or maybe it's a priority problem and the citrix window is AoT too.

If you like to have an list of all properties (window and dwm) set on the window, please tell me.

R-Studio commented 2 years ago

I tried to record the issue. Some explanation about the following gif:

htcfreek commented 2 years ago

Does the blue border around clock still exists if you minimize the Citrix desktop?

R-Studio commented 2 years ago

Does the blue border around clock still exists if you minimize the Citrix desktop?

yes

bingenito commented 1 year ago

Citrix aggressively seems to always reset to be always on top on focus. I stumbled upon https://github.com/scara1701/CtxNotTopmost which lets me configure certain windows to always be on top of citrix or to pick individual windows.

cinnamon-msft commented 1 day ago

Are you still experiencing this issue? /needinfo