microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.07k stars 6.48k forks source link

windows not snapping to the created layout when we click on save as in our browser #17991

Closed Atharv115 closed 2 years ago

Atharv115 commented 2 years ago

Microsoft PowerToys version

0.57.2

Running as admin

Area(s) with issue?

FancyZones, FancyZones Editor

Steps to reproduce

Whenever I Click on Save as to save any file from my browser, and hold shift + try to snap the window to the created layout it does not seem to work

✔️ Expected Behavior

Previously it seemed to work in some previous versions, dont quiet remember which version it was.

❌ Actual Behavior

It should snap the window to the layout

Other Software

No response

SeraphimaZykova commented 2 years ago

What do you mean by layout doesn't work? You don't see the layout at all or it's the wrong layout? /bugreport

ghost commented 2 years ago

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Report Bug

Atharv115 commented 2 years ago

PowerToysReport_2022-05-02-20-28-42.zip

SeraphimaZykova commented 2 years ago

Thank you for the report. BTW, can you please answer the questions I've asked? /needinfo

Atharv115 commented 2 years ago

I did not understand, what do u mean by it?

SeraphimaZykova commented 2 years ago

When you try to snap a window, you don't see the layout at all, or is it the wrong layout? /needinfo

Atharv115 commented 2 years ago

i dont see any layout

SeraphimaZykova commented 2 years ago

Ok, thank you for answering. I tried to reproduce the problem locally, wasn't able to reproduce it. Didn't find any error in logs either. Can you please show us a record of this behavior? Maybe I've got something wrong from the explanation. /needinfo

Atharv115 commented 2 years ago

SO is the issue closed or you guys need more data?

SeraphimaZykova commented 2 years ago

SO is the issue closed or you guys need more data?

We need more data to investigate it. Can you show us how to reproduce it? /needinfo

Atharv115 commented 2 years ago

While m seen shaking the window at that moment I was trying to use the snap layout, previously it used to happen. like for previous version, I dont quiet remember which release it was

Uploading 2022-08-06 09-08-28.mp4…

Atharv115 commented 2 years ago

https://user-images.githubusercontent.com/86460457/167063940-1dc36565-6da9-404d-89d5-52d40d31793b.mp4

Uploading 2022-08-06 09-08-28.mp4…

https://user-images.githubusercontent.com/86460457/167063940-1dc36565-6da9-404d-89d5-52d40d31793b.mp4

SeraphimaZykova commented 2 years ago

Hi @Atharv115, I've looked with a fresh eye on your issue. Please try with Allow popup windows snapping and Allow child windows snapping options enabled. It should work with those options on 0.59. Let me know if it helps.

Atharv115 commented 2 years ago

@SeraphimaZykova It did not seem to have worked for me

Atharv115 commented 2 years ago

image This is what u meant ryt?

SeraphimaZykova commented 2 years ago

This is what u meant ryt?

Yes, correct. Did you try on 0.59?

Atharv115 commented 2 years ago

This is what u meant ryt?

Yes, correct. Did you try on 0.59?

Yeah It's 0.59 only

SeraphimaZykova commented 2 years ago

Can you please run the C:\Program Files\PowerToys\Tools\PowerToys.StylesReportTool.exe and share the result? It helps to identify if the window is compatible with FancyZones. To use this tool, run it, activate the target window, then press a Ctrl + Alt + S shortcut. After that, you'll find the file with the data on the desktop. /needinfo

Atharv115 commented 2 years ago

This is what i got;

Timestamp: 2022-06-17 02:59:46.4899490 Window: explorer.exe Class: CabinetWClass

------------------ Style ---------------------

WS_BORDER true WS_CAPTION true WS_CHILD false WS_CHILDWINDOW false WS_CLIPCHILDREN false WS_CLIPSIBLINGS true WS_DISABLED false WS_DLGFRAME true WS_GROUP true WS_HSCROLL false WS_ICONIC false WS_MAXIMIZE false WS_MAXIMIZEBOX true WS_MINIMIZE false WS_MINIMIZEBOX true WS_OVERLAPPED true WS_OVERLAPPEDWINDOW true WS_POPUP false WS_POPUPWINDOW false WS_SIZEBOX true WS_SYSMENU true WS_TABSTOP true WS_THICKFRAME true WS_TILED true WS_TILEDWINDOW true WS_VISIBLE true WS_VSCROLL false

------------------ Exstyle ---------------------

WS_EX_ACCEPTFILES false WS_EX_APPWINDOW false WS_EX_CLIENTEDGE false WS_EX_COMPOSITED false WS_EX_CONTEXTHELP false WS_EX_CONTROLPARENT false WS_EX_DLGMODALFRAME false WS_EX_LAYERED false WS_EX_LAYOUTRTL false WS_EX_LEFT true WS_EX_LEFTSCROLLBAR false WS_EX_LTRREADING true WS_EX_MDICHILD false WS_EX_NOACTIVATE false WS_EX_NOINHERITLAYOUT false WS_EX_NOPARENTNOTIFY false WS_EX_NOREDIRECTIONBITMAP false WS_EX_OVERLAPPEDWINDOW false WS_EX_PALETTEWINDOW false WS_EX_RIGHT false WS_EX_RIGHTSCROLLBAR true WS_EX_RTLREADING false WS_EX_STATICEDGE false WS_EX_TOOLWINDOW false WS_EX_TOPMOST false WS_EX_TRANSPARENT false WS_EX_WINDOWEDGE true

------------------ DwmAttributes ---------------------

DWMWA_NCRENDERING_ENABLED: 1 DWMWA_CLOAKED: 0 DWMWA_CAPTION_BUTTON_BOUNDS: LT(1645,0), RB(1791,30), [146 x 30] DWMWA_EXTENDED_FRAME_BOUNDS: LT(71,30), RB(1855,1037), [1784 x 1007]

------------------ VirtualDesktop info ---------------------

Window is on current virtual desktop: 1 Virtual desktop id: {9ED0D5C9-FA13-4F1B-84C1-6EC0DBEE99B5}

=======================================

Atharv115 commented 2 years ago

WS_CHILD false WS_CHILDWINDOW false WS_CLIPCHILDREN false WS_CLIPSIBLINGS true

Is this a piece of concern @SeraphimaZykova

SeraphimaZykova commented 2 years ago

Which browser do you use? I tested the same on my computer and I've got the browser name as Window for Chrome, Edge, and Firefox. And also in all those cases, it snaps to zones. Do you use a virtual machine or RDP when the problem occurs? /needinfo

Atharv115 commented 2 years ago

Brave Browser no virtual machine is used by me, thank u

SeraphimaZykova commented 2 years ago

Here is the report I've got from the BraveBrowser save-as window. Still no problem with snapping. Are you on the latest version of the browser? Maybe update can help. /needinfo

Timestamp: 2022-06-20 11:10:04.3870396
Window: brave.exe
Class: #32770

------------------ Style --------------------- 

WS_BORDER           true
WS_CAPTION          true
WS_CHILD            false
WS_CHILDWINDOW      false
WS_CLIPCHILDREN     true
WS_CLIPSIBLINGS     true
WS_DISABLED         false
WS_DLGFRAME         true
WS_GROUP            false
WS_HSCROLL          false
WS_ICONIC           false
WS_MAXIMIZE         false
WS_MAXIMIZEBOX      false
WS_MINIMIZE         false
WS_MINIMIZEBOX      false
WS_OVERLAPPED       true
WS_OVERLAPPEDWINDOW false
WS_POPUP            true
WS_POPUPWINDOW      true
WS_SIZEBOX          true
WS_SYSMENU          true
WS_TABSTOP          false
WS_THICKFRAME       true
WS_TILED            true
WS_TILEDWINDOW      false
WS_VISIBLE          true
WS_VSCROLL          false

------------------ Exstyle --------------------- 

WS_EX_ACCEPTFILES         false
WS_EX_APPWINDOW           false
WS_EX_CLIENTEDGE          false
WS_EX_COMPOSITED          false
WS_EX_CONTEXTHELP         false
WS_EX_CONTROLPARENT       true
WS_EX_DLGMODALFRAME       true
WS_EX_LAYERED             false
WS_EX_LAYOUTRTL           false
WS_EX_LEFT                true
WS_EX_LEFTSCROLLBAR       false
WS_EX_LTRREADING          true
WS_EX_MDICHILD            false
WS_EX_NOACTIVATE          false
WS_EX_NOINHERITLAYOUT     false
WS_EX_NOPARENTNOTIFY      false
WS_EX_NOREDIRECTIONBITMAP false
WS_EX_OVERLAPPEDWINDOW    false
WS_EX_PALETTEWINDOW       false
WS_EX_RIGHT               false
WS_EX_RIGHTSCROLLBAR      true
WS_EX_RTLREADING          false
WS_EX_STATICEDGE          false
WS_EX_TOOLWINDOW          false
WS_EX_TOPMOST             false
WS_EX_TRANSPARENT         false
WS_EX_WINDOWEDGE          true

------------------ DwmAttributes --------------------- 

DWMWA_NCRENDERING_ENABLED: 1 
DWMWA_CLOAKED: 0 
DWMWA_CAPTION_BUTTON_BOUNDS: LT(1140,0), RB(1238,57), [98 x 57] 
DWMWA_EXTENDED_FRAME_BOUNDS: LT(568,57), RB(1796,946), [1228 x 889] 

------------------ VirtualDesktop info --------------------- 

Window is on current virtual desktop: 1
Virtual desktop id: {00000000-0000-0000-0000-000000000000}

=======================================
Atharv115 commented 2 years ago
Window: brave.exe
Class: Chrome_WidgetWin_1

------------------ Style --------------------- 

WS_BORDER           true
WS_CAPTION          true
WS_CHILD            false
WS_CHILDWINDOW      false
WS_CLIPCHILDREN     true
WS_CLIPSIBLINGS     true
WS_DISABLED         false
WS_DLGFRAME         true
WS_GROUP            true
WS_HSCROLL          false
WS_ICONIC           false
WS_MAXIMIZE         true
WS_MAXIMIZEBOX      true
WS_MINIMIZE         false
WS_MINIMIZEBOX      true
WS_OVERLAPPED       true
WS_OVERLAPPEDWINDOW true
WS_POPUP            false
WS_POPUPWINDOW      false
WS_SIZEBOX          true
WS_SYSMENU          true
WS_TABSTOP          true
WS_THICKFRAME       true
WS_TILED            true
WS_TILEDWINDOW      true
WS_VISIBLE          true
WS_VSCROLL          false

------------------ Exstyle --------------------- 

WS_EX_ACCEPTFILES         false
WS_EX_APPWINDOW           false
WS_EX_CLIENTEDGE          false
WS_EX_COMPOSITED          false
WS_EX_CONTEXTHELP         false
WS_EX_CONTROLPARENT       false
WS_EX_DLGMODALFRAME       false
WS_EX_LAYERED             false
WS_EX_LAYOUTRTL           false
WS_EX_LEFT                true
WS_EX_LEFTSCROLLBAR       false
WS_EX_LTRREADING          true
WS_EX_MDICHILD            false
WS_EX_NOACTIVATE          false
WS_EX_NOINHERITLAYOUT     false
WS_EX_NOPARENTNOTIFY      false
WS_EX_NOREDIRECTIONBITMAP false
WS_EX_OVERLAPPEDWINDOW    false
WS_EX_PALETTEWINDOW       false
WS_EX_RIGHT               false
WS_EX_RIGHTSCROLLBAR      true
WS_EX_RTLREADING          false
WS_EX_STATICEDGE          false
WS_EX_TOOLWINDOW          false
WS_EX_TOPMOST             false
WS_EX_TRANSPARENT         false
WS_EX_WINDOWEDGE          true

------------------ DwmAttributes --------------------- 

DWMWA_NCRENDERING_ENABLED: 1 
DWMWA_CLOAKED: 0 
DWMWA_CAPTION_BUTTON_BOUNDS: LT(1781,0), RB(1927,30), [146 x 30] 
DWMWA_EXTENDED_FRAME_BOUNDS: LT(-1,-8), RB(1921,1081), [1922 x 1089] 

------------------ VirtualDesktop info --------------------- 

Window is on current virtual desktop: 1
Virtual desktop id: {9ED0D5C9-FA13-4F1B-84C1-6EC0DBEE99B5}

=======================================