PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

FancyZones not working with multiple displays in combination with portable apps

Open alimuratgymn opened this issue 2 years ago • 7 comments

Microsoft PowerToys version

0.67.1

Installation method

GitHub, PowerToys auto-update

Running as admin

None

Area(s) with issue?

FancyZones

Steps to reproduce

Preinfo:

  • The FancyZone feature is working on the Main Display the described Bug appears only at the additional displays in my case the right one or the left one from the main display
  • According to my observation the error only occurs with portable programs (in my Case with (putty/kitty=0.76.1.3 or keepass portable=2.53.1)
  • Already tried as Administrator

Precondition:

  • Use minimum 2 Displays
  1. Create FancyZones with diffrent sizes
  2. Download the Portable Version of Keepass oder Putty or Kitty
  3. Open the Portable Applications
  4. Try to Snap Keepass Putty oder Kitty to a Fancy Zone

Screencast: https://user-images.githubusercontent.com/22096341/222428178-f0f7bc64-e9c7-4bb0-b056-cb514b0a03a8.mp4

✔️ Expected Behavior

Window is adjusting and snapping to the selected Fancy Zone area/zone

❌ Actual Behavior

Window is sizing to the choosen fancy zone but shifts to the left

Other Software

kitty 0.76.1.3 keepass portable 2.53.1

alimuratgymn avatar Mar 02 '23 12:03 alimuratgymn

i can reproduce the behavior with version v0.68.0 too

alimuratgymn avatar Mar 02 '23 16:03 alimuratgymn

the same behavior described in my screencast also happens with notepad++ (notepad++ v8.4.4 is installed and not a portable version)

so its probably not only limited to portable apps

  • my current version PowerToys Version is now 0.68.0

alimuratgymn avatar Mar 02 '23 22:03 alimuratgymn

If i deactivate the checkbox for transparency while dragging windows, the behavior described above doesnt applies to notepad and keepass, but putty/kitty is still not snapping into the fancyzone

alimuratgymn avatar Mar 25 '23 13:03 alimuratgymn

small update on the topic

I now have 4 screens of which 3 are UHD screens and 1 is a FHD screen when turning off the FHD screen the scaling of the windows works properly even on the non-main screens.

I think it is a general problem of position calculation. Which is not directly noticeable in the other components.

For example, it is obvious to see when the window is kept in the foreground. This is visible in the frame of the window, which shows an enormous shift in relation to the window itself.

After moving the window, I took the screenshots one by one and put them together. s4

alimuratgymn avatar Aug 08 '23 12:08 alimuratgymn

My current Version is v0.72.0

alimuratgymn avatar Aug 08 '23 12:08 alimuratgymn

I noticed that when the screen scaling is set to 100%, the problematic windows of the applications can be arranged normally again. maybe this is another interesting piece of information

alimuratgymn avatar May 22 '24 10:05 alimuratgymn