This might be a bit difficult since you need to have access to a Citrix workspace to reproduce.
Something like this (I resized manually):
The window does not fill the whole screen. Look at both right and left sides of it.
@felipecrs
do you have multiple monitors?
@enricogior yes, 3. The same issue happens in every monitor (I have a single zone assigned to each of them).
@felipecrs
if FZ detects that the application is not DPI-aware it reduces the size of the application window because of a Windows but that would cause the application to expand outside of the monitor, see https://github.com/microsoft/PowerToys/issues/4354
Is there any other application that you would like me to test to see if this behavior also happens?
Okay, just tested with Notepad++ and the behavior is the same.
@felipecrs
Not sure if this helps: Citrix Workspace App has a HighDPI setting. Maybe it helps to configure this setting to "on". You can find the setting in the advanced settings menu of the Workspace App.
⚠️ Set this HighDPI setting to "system" could cause visibility issues on multi monitor setups when the different monitors have different dpi settings.
@htcfreek Thank you so much, it worked like a charm! This is what I did:
Nonetheless, I believe the issue should remain open since Citrix Workspace is not the only application affected by it.
@felipecrs, great news.
What was the setting before? "System default" or "off"?
(I am interested in this information because maybe the system setting didn't worked at all.)
@crutkas, @enricogior
Do we have a wiki article with tips and tricks for FanzyZones where we can write the solution for this issue?
For the solution please see these two comments:
What was the setting before? "System default" or "off"?
The third option in the screenshot. "Let the operating system scale the resolution"
What was the setting before? "System default" or "off"?
The third option in the screenshot. "Let the operating system scale the resolution"
Like I thought. This third setting is really problematic and doesn't work correctly.
Maybe this is because I have this setup:
Monitor 1: 150% scale
Monitor 2: 100% scale (primary)
Monitor 3: 125% scale
Perhaps, Citrix does not enable HiDPI because my primary monitor does not have a custom scale.
Maybe this is because I have this setup:
Monitor 1: 150% scale
Monitor 2: 100% scale (primary)
Monitor 3: 125% scalePerhaps, Citrix does not enable HiDPI because my primary monitor does not have a custom scale.
Don't know. But that could be.
The only thing I know is that I have generally changed the setting in our company. We had problems on some computers when it was set to "system" (third option): The UI of the Citrix apps was flickering and not accessible.
@crutkas is this issue being tracked somewhere else? I don't understand why it was closed. As mentioned, Citrix Workspace is not the only application affected by it. I can rename the issue to point something more generic if that's the problem.
@crutkas is this issue being tracked somewhere else? I don't understand why it was closed. As mentioned, Citrix Workspace is not the only application affected by it. I can rename the issue to point something more generic if that's the problem.
For Citrix we have a workaround. And generally as @enricogior wrote this is not a FZ bug. It's a problem of the external application which is not DPI aware. So we wouldn't have any benefit of keeping this issue open.
I think the only thing we could do, is adding an information including a list of affected (not DPI aware) applications on the wiki page.
Well, if I can manually resize the application to fit the zone why PowerToys can't? There must be a way.
@felipecrs
is this issue being tracked somewhere else?
If you look at my comment just above yours: https://github.com/microsoft/PowerToys/wiki/Application-Compatibility
if I can manually resize the application to fit the zone why PowerToys can't? There must be a way.
We tried all the available Windows APIs to resize an application and none worked, when you manually resize the window it's not FZ resizing the application, it's the system taking care of it and it doesn't use the public APIs.
I see, thank you for this information.