-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Exclude Quake window from FancyZones #10197
Comments
Technically, any terminal window can become the quake window, so it's not going to be a good enough solution to have a different exe for the quake window. @crutkas any clever ideas here? |
can we set the window type to maybe like popup or something in quake mode? Pretty sure a WS_POPUP will ignore FZ and what we'll do for PT Run shortly. |
Actually, this may be really interesting to work around since i think they have window remembered @enricogior may have some ideas |
@crutkas is this something we should move over to your repo? If it turns into a feature request for us to have a specific window style or something, we can bring it back . . . but it doesn't appear to be actionable right now. |
A quake mode terminal can even be window snapped currently. This adjustment should prevent this as well as having FZ snap. This is work that would need to be done in Terminal. FZ shouldn't need to be customized per-app if at all possible. |
Okay, sounds like the recommendation is to add |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
But a few moments later, the quake mode terminal got out from the zone when I pressed Win+`. Seems like it quakes in and out. The AUTHENTIC quake mode. |
@LGUG2Z was asking me about this on mastodon and I think this might be a viable solution for https://github.com/LGUG2Z/komorebi too, but I haven't had any chance to investigate what the side effects of |
FancyZonesWindowUtils::IsCandidateForZoning checks WS_POPUP (via FancyZonesWindowUtils::IsPopupWindow), and other things. In X11, applications set window properties on their windows to communicate their preferences to the window manager. Perhaps a similar scheme would work here for letting applications explicitly opt in or out of FancyZones, if WS_POPUP can have undesired effects. Windows appears to have two ways to associate properties with a window:
|
I'm not sure about FancyZones, but for the purposes of komorebi (and probably GlazeWM as well), even having a cloned class with a slightly different name applied to the Quake window, or setting the title of whichever window is chosen for Quake mode to something like "Terminal (Quake Mode)" would be more than enough for users to isolate it so that it isn't tiled as a regular window. |
I love the Windows Terminal, but it would be great to see any progress with this issue. At the moment I'm using a workaround to be able to recognize the window with komorebi rules. I added this snippet to the
And I have to enter the |
Description of the new feature/enhancement
When I summon quake window while using FancyZones it snaps to the same zone where main terminal window is located.
Started fresh terminal instance:
Summoned quake window:
To solve this problem I can exclude WindowsTerminal.exe from FancyZones, but this way I won't be able to manage regular terminal windows with FancyZones. It would be better if we could exclude only the quake window, but not the other ones.
Proposed technical implementation details
As I understand, FancyZones uses application executable name for its Exclude rules (might be wrong, tho), thus it could be possible to create a separate executable for quake window, so we could exclude only this one. It's a dirty fix, but it can do the job if there is no other option.
The text was updated successfully, but these errors were encountered: