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

Powertoys Always on Top not working over top of remote desktop #16631

Closed
1 task done
ariccb opened this issue Feb 28, 2022 · 21 comments
Closed
1 task done

Powertoys Always on Top not working over top of remote desktop #16631

ariccb opened this issue Feb 28, 2022 · 21 comments
Labels
Area-App Compat Issues revolving around application compatibility across PowerToys Issue-Bug Something isn't working Product-Always On Top Refers to the idea of a Always on Top Powertoy

Comments

@ariccb
Copy link

ariccb commented Feb 28, 2022

Microsoft PowerToys version

0.55.2

Running as admin

  • Yes

Area(s) with issue?

Always on Top

Steps to reproduce

I can activate always on top properly on my local computer, and it works as intended. I used to be able to have an always on top activated window show above my remote desktop session however, which was great. I have in the past been able to use powertoys to do this.

✔️ Expected Behavior

Always on top activated windows show overtop even full screen, multi-display remote desktop sessions.

❌ Actual Behavior

they are being hidden, not able to see those windows at all

Other Software

No response

@ariccb ariccb added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Feb 28, 2022
@franky920920 franky920920 added Area-App Compat Issues revolving around application compatibility across PowerToys Product-Always On Top Refers to the idea of a Always on Top Powertoy labels Feb 28, 2022
@shaymdev
Copy link

I have this issue too. I've found that if I un-fullscreen my remote desktop session into windowed mode, then re-maximize it to full screen the window will stay on top for the time being. This workaround seems to work with the built in RDP tool in windows but doesn't work with the Microsoft Remote Desktop app from the app store.

PowerToys: v0.57.0

@Camios
Copy link

Camios commented Apr 27, 2022

I have this problem too. Workaround doesn't succeed for me (or maybe I didn't understand the steps).

@franky920920
Copy link
Contributor

Seems like #15680 to me

@Camios
Copy link

Camios commented Apr 27, 2022

#15680 is citrix whereas this issue is about windows remote desktop but they might both be related to powertoys always on too failing to work over the top of full screen apps like remote desktop.

@SeraphimaZykova
Copy link
Collaborator

In the 0.58 version will be a tool that could help us investigate the problem.

@SeraphimaZykova SeraphimaZykova removed the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label May 3, 2022
@scara1701
Copy link

In the 0.58 version will be a tool that could help us investigate the problem.

Hi SeraphimaZykova,
I've upgraded to 0.58 and also use Citrix Workspace in Fullscreen mode.
Are there any steps I can perform to help troubleshoot this issue?

@SeraphimaZykova
Copy link
Collaborator

Hi @scara1701. We've added a tool that can help to get the info about the window that causes the issue. It located in C:\Program Files\PowerToys\Tools\PowerToys.StylesReportTool.exe. Run the tool, then activate the desired window (which is placed over your pinned on top window). A file will be created on the desktop. You can share it here to help us investigate the issue.
Thanks!

@scara1701
Copy link

Hello @SeraphimaZykova ,

Please find the file attached.

Greetings,

Gwen

window_styles.txt

@SeraphimaZykova
Copy link
Collaborator

Hi @scara1701, thank you. The window you captured also has the WS_EX_TOPMOST style. When several windows are topmost, the last activated one will be higher.

@scara1701
Copy link

Ah, so I would have to find a way to remove the WS_EX_TOPMOST style from the Citrix cdviewer.exe process.

@timescott
Copy link

Please fix, my use case: keep zoom top of Citrix window while continuing to use Citrix in full screen mode.

@Jay-o-Way
Copy link
Collaborator

Is this still an issue with the latest version? /needinfo

@ghost ghost added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Status-No recent activity no activity in the past 5 days when follow up's are needed labels Nov 22, 2022
@ghost
Copy link

ghost commented Nov 27, 2022

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

@shaymdev
Copy link

This is still an issue for me. I'm using Microsoft Remote Desktop from the windows store. My "always on top" windows do not stay on top of a full screen Remote Desktop session.

I've attached the output from the styles report tool. I see the WS_EX_TOPMOST is true... but I'm not sure I understand the implications.

window_styles.txt

@ghost ghost added Status-No recent activity no activity in the past 5 days when follow up's are needed and removed Status-No recent activity no activity in the past 5 days when follow up's are needed labels Nov 30, 2022
@ghost
Copy link

ghost commented Dec 5, 2022

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

@scara1701
Copy link

Ah, so I would have to find a way to remove the WS_EX_TOPMOST style from the Citrix cdviewer.exe process.

I've created a small app that removes this flag from the Citrix Windows when it is maximized. Only caveat is that the other Topmost windows set by the powertoy don't jump back in front once this is done. Due to this I've also had to implement a routine to make other windows 'Topmost' when the Citrix window gets it Topmost status revoked.

Perhaps the tool can aid others in this thread which need a quick workaround: https://github.com/scara1701/CtxNotTopmost/releases

@ghost ghost added Status-No recent activity no activity in the past 5 days when follow up's are needed and removed Status-No recent activity no activity in the past 5 days when follow up's are needed labels Dec 5, 2022
@ghost
Copy link

ghost commented Dec 10, 2022

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

@shaymdev
Copy link

@Jay-o-Way do you need more info than has been provided recently?

@ghost ghost removed the Status-No recent activity no activity in the past 5 days when follow up's are needed label Dec 15, 2022
@Jay-o-Way
Copy link
Collaborator

Don't know. @SeraphimaZykova is there anything more they can do?

@SeraphimaZykova
Copy link
Collaborator

As we found out earlier, this is due to the topmost style of the remote desktop window.
I don't think we can do anything about it. In the group of windows that have topmost property set to true, the window that is currently activated is the topmost window. One window cannot be "more topmost" than another.

@SeraphimaZykova SeraphimaZykova added Resolution-Won't fix and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Revisit-0.58 labels Dec 15, 2022
@SeraphimaZykova SeraphimaZykova closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2022
@cadnav
Copy link

cadnav commented Jan 21, 2023

dang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-App Compat Issues revolving around application compatibility across PowerToys Issue-Bug Something isn't working Product-Always On Top Refers to the idea of a Always on Top Powertoy
Projects
None yet
Development

No branches or pull requests

9 participants