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

Windows Terminal (and other apps) can't be shift-dragged to a zone #209

Closed
0xabu opened this issue Sep 5, 2019 · 47 comments
Closed

Windows Terminal (and other apps) can't be shift-dragged to a zone #209

0xabu opened this issue Sep 5, 2019 · 47 comments
Labels
FancyZones-Dragging&UI FancyZone dragging / interaction issue Issue-Bug Something isn't working Product-FancyZones Refers to the FancyZones PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Milestone

Comments

@0xabu
Copy link

0xabu commented Sep 5, 2019

Trying out FancyZones, I discovered that the new Windows Terminal can't be shift-dragged into a zone. All the other apps I'm using seem to work, but holding down shift while dragging the terminal window just moves the window as normal and won't snap to a zone. Win+arrow doesn't seem to work specially for it either.

@810
Copy link

810 commented Sep 5, 2019

confirmed, looks like the terminal is hacking into the explorer.

@indierawk2k2
Copy link
Collaborator

Great bug! I verified it too. We'll investigate

@indierawk2k2 indierawk2k2 added Issue-Bug Something isn't working FancyZones-Dragging&UI FancyZone dragging / interaction issue labels Sep 6, 2019
@gmontanola
Copy link

gmontanola commented Sep 6, 2019

Just to add another application with the same problem: Telegram Desktop can't be shift-dragged too.

Both are Windows Store apps but other apps like Spotify and WhatsApp Web work properly.

@Polyterative
Copy link

This also happens when using maxto, a paid alternative. I guess the underlying API is the same

@mineral4x
Copy link

Does this possibly affect all Win store apps on the UWP platform?

@enricoreich
Copy link

enricoreich commented Sep 6, 2019

It's also the case with ConEmu and if you have General->Appearence:Hide captions always option activated and General->Tab bar: Tabs on bottom option deactivated.

If so, the zones are not shown if you drag the ConEmu window and press shift.

@mineral4x: It works with the weather app and windows 10 calculator.

@awildbrysen
Copy link

The Epic Games store and Origin have this issue as well

@tssge
Copy link

tssge commented Sep 7, 2019

It seems like there's something about Qt that makes windows unable to be snapped in place.

Telegram is made with Qt, Origin is made with Qt (I believe) and a Discord client I use, Ripcord, is made with Qt and is undraggable as well.

@jokeyrhyme
Copy link

This has been reported over in the Windows Terminal project: microsoft/terminal#2689

@enricogior enricogior changed the title Windows Terminal can't be shift-dragged to a zone Windows Terminal (and other apps) can't be shift-dragged to a zone Sep 8, 2019
@jopose
Copy link

jopose commented Sep 9, 2019

Edge in Application Guard can not be dragged to FanzyZones zone.
Same behaviour for Edge Dev in Application Gurard.

@lotsahelp
Copy link

I can't get Chrome (76.0.3809.132) to snap either. Firefox 69 does. Edge does.

@enricogior
Copy link
Contributor

enricogior commented Sep 10, 2019

We have found the root cause and we are working on a fix, stay tuned ;)

@DHowett-MSFT
Copy link

confirmed, looks like the terminal is hacking into the explorer.
@810

Hi. Terminal dev lead here. We're definitely not "hacking into the explorer", we're just using traditional non-client painting techniques. That's.. a very strange accusation.

@enricogior
Copy link
Contributor

Hi @DHowett-MSFT
feel free to close the bug that has been opened on the Terminal repo, this is not a bug in Terminal, it's a problem with the way we detect if the window is being moved or resized, the fix is on the way.
Thank you.

@enricogior
Copy link
Contributor

The fix is in master, if you don't want to wait for the next release, you can build it and give it a try!

@enricogior
Copy link
Contributor

Hi @allansramblings
you mean this one?
image

@allansramblings
Copy link

Yes that one.

@enricogior enricogior added Product-FancyZones Refers to the FancyZones PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. labels Jan 27, 2020
@enricogior enricogior added this to the 20.01 release milestone Jan 27, 2020
@jccraig
Copy link

jccraig commented Mar 5, 2020

Python IDLE windows are now not snapping into a frame fore me. They worked fine until recently.

@crutkas
Copy link
Member

crutkas commented Mar 6, 2020

@jccraig, you are on 0.15?

@enricogior
Copy link
Contributor

@jccraig can you add you report here #1466?
Thanks.

@ElectroLund
Copy link

Super obscure example to throw on the pile... CVI LabWindows by National Instruments.

Its main window and all it's little undocked windows, none of them respond.

CVI undocked

Now strangely, FancyZones did work with this application in an earlier release. Sorry I don't remember which one. But in the last 2 or 3 releases on, FancyZones doesn't recognize the app.

@enricogior
Copy link
Contributor

Hi @ElectroLund
in the early releases FancyZones was accepting basically every window, but it was causing a lot of problem since it was not treating dialog and child windows as they should, causing several bugs.
We make some changes to prevent those bugs and that had the side effect of not being able to move certain windows. Now we try to add support for those windows on a per case basis.

@ElectroLund
Copy link

Gotcha, @enricogior. Any chance we can get our specific app added to the "whitelist"?

@enricogior
Copy link
Contributor

We have two approaches to this:

  • if the app is available we can test it to determine if it can be supported
  • if not, we are considering adding a list of "allowed" up that the users can manage themselves

@ElectroLund
Copy link

Awesome! The 1st option is a pain to you devs and presents an "playing catch-up" forever. It's also difficult with my app, because it's a paid suite, so a hassle for you.

I vote for #2, as it puts the responsibility on the user.

@ziplock9000
Copy link

Just to add another application with the same problem: Telegram Desktop can't be shift-dragged too.

Both are Windows Store apps but other apps like Spotify and WhatsApp Web work properly.

Furthermore Telegram breaks it for ALL other apps on my system. Telegram has to be stopped, PowerToys has to be stopped and restarted for it to work again.

@enricogior
Copy link
Contributor

Hi @ziplock9000
can you please provide more information:

  • what version of PowerToys are you running?
  • what are the exact repro steps and does it happen all the times?

@ziplock9000
Copy link

Hi @ziplock9000
can you please provide more information:

  • what version of PowerToys are you running?
  • what are the exact repro steps and does it happen all the times?

v0.17.0 and it happens 100% of the time.

  1. Start PT
  2. Start Telegram
  3. Attempt to shift-drag a window.. nothing happens

Steps 1 and 2 can be swapped, it makes no difference.

@enricogior
Copy link
Contributor

@ziplock9000
please check if it still happens with 0.18 https://github.com/microsoft/PowerToys/releases

@ziplock9000
Copy link

@ziplock9000
please check if it still happens with 0.18 https://github.com/microsoft/PowerToys/releases

That's fixed it, thanks!.

@coxse
Copy link

coxse commented Jun 15, 2020

Just adding another app that doesn't snap into zones, "S3 Browser"

using powertoy ver v0.18.2

@enricogior
Copy link
Contributor

@coxse
this is a closed issue, please add your comment to #1466
Thanks.

@codingbott
Copy link

Also Teamspeak 3 cant dragged to zones. Zones do not appear.

@DHowett
Copy link
Member

DHowett commented Jul 3, 2020

@codingbott this is a closed issue, please add your comment to #1466
Thanks.

@ThatGirlSlays
Copy link

ThatGirlSlays commented Jul 8, 2020

Same issue with OBS Studio (using version 23.1.0 64 bit)

Edit. I will move my comment to #1466

@rcuhljr
Copy link

rcuhljr commented Sep 4, 2020

https://parsecgaming.com/ stopped snapping after the last power tools update for me, latest versions (150-46)

@zigurana
Copy link

This is still an issue with PT v0.45 and Windows Terminal Version: 1.8.1521.0.

As this seems to be the main issue that all others refer to, maybe re-open it until it's actually fixed?

@jgkawell
Copy link

jgkawell commented Oct 5, 2021

I'm still having this issue with the Origin Launcher on the latest PowerToys update as well.

@franky920920
Copy link
Contributor

@zigurana or @jgkawell Please file a new issue for this and reference this issue to track it.

@hevi1991
Copy link

If your Windows terminal uses administrator mode, then powertoy also needs to use administrator mode in order to control

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FancyZones-Dragging&UI FancyZone dragging / interaction issue Issue-Bug Something isn't working Product-FancyZones Refers to the FancyZones PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

No branches or pull requests