-
Notifications
You must be signed in to change notification settings - Fork 39
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
Cannot Use With Vertically Stacked Monitors #146
Comments
@jpotter23 Hey Jason, thank you for reaching out about this! The "Move" method has not been implemented in version 2 (yet?), because it causes some pretty annoying issues in the apps themselves, such as text moving around in terminals and Electron apps specifically going haywire (lots of flickering and parts of the window not being repainted). However, I am still looking for a way to properly support vertically-stacked monitors. One way I've come up with so far, is to vary the direction in which the app window is toggled on/off. E.g. instead of moving off the top of the screen, moving off the bottom, or even off either side. Another method could be to keep moving off the top until the top monitor has also been cleared, but that seems a little less clean imho. Would this solve the issue for you, and do you have other suggestions? |
Indeed allowing control of the direct the app is moved to hide it would work for me. Down would probably be the most reliable for people, but both down and right would work in my setup. Or even diagonally. Thanks for your quick reply and interest in my personal issue! |
@jpotter23 You're welcome! I appreciate hearing from people's fun and interesting ways of using the software, and you taking the time to report back about it :) A plan is to have the direction be based on what monitor the window is on, something like so: But I'll start with one where it's merely based on a setting (so single direction for everything, all the time), and I'll try to have a prerelease ready this weekend. Diagonal is an interesting one I didn't even think of, maybe useful for 5-monitor setups :D I'll ping back when it's ready for testing. |
The PR went pretty smoothly, I've a first version ready for testing. There are now 5 off-screen locations that an app window can be moved to when toggled off: "Above", "Below", "Left", "Right", and "Behind". When toggling off an app, WTQ goes through these locations in order, and determines whether there is space there to put the window (e.g. if it does not intersect with a monitor), until it finds one. So, if things work alright on your end as well, the prerelease should be enough, no additional configuration is necessary. However, the feature also introduces a new setting, called "OffScreenLocations", which allows customizing the list of locations, including its order. Here's an example snippet of wtq.jsonc, with the default settings (so this does not need to be added, but it's to illustrate what's going on by default): {
"Apps": [
// Per app:
{
"Name": "...",
"OffScreenLocations": ["Above", "Below", "Left", "Right", "Behind"]
}
],
// Or globally:
"OffScreenLocations": ["Above", "Below", "Left", "Right", "Behind"]
} Here's an example of my setup, where I've changed the locations, so I get different behavior on a single-monitor laptop: {
"Apps": [
{
"Name": "WezTerm",
"OffScreenLocations": ["Above"]
},
{
"Name": "Dolphin",
"OffScreenLocations": ["Left"]
},
{
"Name": "System Monitor",
"OffScreenLocations": ["Below"]
},
{
"Name": "KeePass",
"OffScreenLocations": ["Right"]
},
{
"Name": "Spotify"
}
]
} Screencast_20241103_235925.mp4Please let me know if this works for you! |
Working perfectly! tyvm! |
Thank you for testing ❤️ I'll merge this into the next release 🙂 |
Do you have a solution for the issue with vertically Stacked Monitors? I am unable to use the app becuase of this. Setting to resize seems to make no difference either.
Would it be possible to make the window opacity 100% as another method?
The text was updated successfully, but these errors were encountered: