-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
FanzyZones no longer working for remote desktop sessions in v0.16 #1821
Comments
This issue is related to #1807. Was asked to create a separate ticket. Here is some info: I can confirm this as well on my ultra-wide monitor. Happens to my remote desktop sessions. It probably can't find the monitor device anymore. It works fine on the same monitor on the non-RD sessions. Here is my remote desktop (virtualized) machine
Here is the same monitor, but attached to real hardware:
I opened the zones-settings.json in notepad++. Then I open PT and select a new zone. It says the file has changed (so it has rewritten the contents), but the contents remain the same. Whenever I re-open PT settings for FZ, the settings show the default (which is expected since the file is empty). I also tried removing the file, and it creates a new one which is empty again. I am currently debugging PT to see if I can easily fix this. |
The temp file created still contains the right monitor info:
Results in these parameters being generated:
|
Found something interesting. Input to editor app:
Output from editor app:
Notice how the device id has changed formatting. This causes this method not to recognize the device: |
Caused by this commit: |
@GeertvanHorrik |
The first fix in is in
Another bug (related to this) is in
This method splits by _ and force checks whether it has 4 elements. But... because the name is The solution here is to split the first element until the |
Yes |
I am fixing both in a PR if you are open to it. |
I think we only need to fix |
The fact that the device id is encoded shouldn't be a problem since it gets correctly decoded when parsed in the C++ code, so let's fix only |
Ok. I will push a fix for |
Note that I only tested the fix combined with the encoding fix in the editor. Then it correctly works on my RDP session. |
Just to make sure: did you also test it without the encoding fix and it didn't work? |
No, I didn't test with encoding disabled. |
Reopening until we release 0.16.1 |
Fix available in 0.16.1 https://github.com/microsoft/PowerToys/releases |
Environment
Steps to reproduce
Use Remote Desktop session, FanzyZones is no longer working.
Expected behavior
FanzyZones to work for remote desktop sessions.
Actual behavior
FanzyZones not working for remote desktop sessions.
Screenshots
[not applicable]
The text was updated successfully, but these errors were encountered: