Comments (18)
Hey @Perlence -- issues are still around but I couldn't stay away... :D. Hopefully getting there though!
from windows-desktop-switcher.
On the downside you can see a bit of Task View opening animation, but the wait is unnoticeable.
The wait is significantly longer for me if I'm only moving one desktop over to the right/left. Normally it'd be one quick animation, but instead we're paging through each virtual desktop from 1 to n until we arrive at the target desktop.
What if we only iterated from 1 to n when the target desktop is more than 1 or 2 away? That would further reduce the animation time for the small cases like I mentioned, yet still aim to avoid the flashing issue you originally mentioned.
from windows-desktop-switcher.
Very much concur with @hawkins on that one. For me, I disable animation anyway so often I don't even really see the flashing being referenced, though I know it's a problem for most.
from windows-desktop-switcher.
I disable animation anyway so often I don't even really see the flashing being referenced
I'll try disabling animation and see if it helps, thanks! In fact I'll try different animation settings.
What if we only iterated from 1 to n when the target desktop is more than 1 or 2 away?
Good idea, I'll try it as well.
from windows-desktop-switcher.
So I checked out your master branch, disabled animations, and I noticed, that this flashing issue also applies to adjacent desktops, e.g. if I'm on second desktop and switch to first, some windows from second start flashing, namely Firefox, also DebugView. This doesn't happen if I just switch desktops with Win + Ctrl + Arrow.
from windows-desktop-switcher.
The wait is significantly longer for me if I'm only moving one desktop over to the right/left.
This can be adjusted by changing SetKeyDelay
.
I don't even really see the flashing being referenced
Maybe I wasn't clear once again. I did not mean "flashing", as in "they flash before my eyes" 😄
I mean they actually flash, glow orange in task bar, like this:
https://yadi.sk/i/SHHg4TzQsvCh2
https://yadi.sk/i/fbJxm-w6svChw
from windows-desktop-switcher.
So where'd we wind up on this one? Looks like I thought we needed a better solution for small moves.
Did you ever determine a cause or solution for the flashing issue? I'm not sure if I was ever able to reproduce that issue.
from windows-desktop-switcher.
No, I didn't investigate this issue further to find the cause of flashing. I still use described method of switching on daily basis though. Sometimes pressing hotkey to jump to desktop by number does nothing, but pressing Win + Tab afterwards switches to desired desktop.
I will play with it in my free time.
from windows-desktop-switcher.
If only I experience this problem, then pulling this solution into upsteam isn't rational. I tried different hotkeys to trigger switch. Control + Number kind of makes flashing less frequent then Alt + Number. This made me think that modifier key somehow is not blocked when changing desktops, but mapping Numpad digits also makes windows flash. Setting SendMode, Input
also doesn't help.
from windows-desktop-switcher.
I've actually hit this now and it happens more frequently than I'd like. I'll take a look at your solution and see how I fare. Thanks!
from windows-desktop-switcher.
@pmb6tz Hey, good to see you back! How are you doing?
from windows-desktop-switcher.
The original flashing issue cannot be fixed by longer delay, e.g SetKeyDelay, 200
.
from windows-desktop-switcher.
Sometimes pressing hotkey to jump to desktop by number does nothing
Although AHK does send ^#{Tab}
, the Task View does not open sometimes. I kind of fixed this by waiting for it to show up, and if it's not showing, try to open it again in a loop after some timeout.
from windows-desktop-switcher.
I thought I would come back here to provide the solution to the flashing window. Did you figure it out yet?
from windows-desktop-switcher.
@mzomparelli please stop advertising here--I'm happy to accept submissions for alternatives & put them in the Readme (this was a quick script I hacked together for my purposes, I never meant for it to be used this much) but I'd appreciate if you stop derailing these conversations.
from windows-desktop-switcher.
Sorry, I'm not meaning to be that way. I just want to help you and show others a different solution. Someone here mentioned the flashing window, but I'll just keep that to myself then.
from windows-desktop-switcher.
The flashing windows appeared to me too. I suspected that it's due to focus being put on the intermediary windows while switching desktops, this theory appears to be true, since it seems to have fixed it.
I've submitted a PR: #19
from windows-desktop-switcher.
This issue should be fixed due to #19 , I'm going to go ahead and close this issue. Thanks!
from windows-desktop-switcher.
Related Issues (20)
- Switching desktops no longer works on new Windows 11 update. Build 22631.3007 HOT 11
- The script doesn't work on Windows 10 latest update at all HOT 2
- Error: Call to nonexistant function HOT 2
- Advanced admin run-on-boot config malfunctioning HOT 1
- (Move to desktop) script only run if we compile to exe file HOT 6
- Windows + Tab stopped opening task view when using this project. How can I fix this?
- Fail to switch to any desktop HOT 5
- AutoHotkey Version 2 breaks compatibility HOT 6
- Can it get the name (not index) of a virtual desktop?
- Functionalities are extremely laggy? HOT 1
- No session required on Windows 11
- Also activating "Esc" button when switching window
- feature request
- latest version of AutoHotkey (2.0.2) is not compatible? HOT 2
- No longer working with the new windows 11 update. Build 22621.2283 HOT 5
- Disable showing the desktop number HOT 2
- Focus on the last foreground window in the VD when switching to it HOT 2
- set timer switch between desktops
- Move (only) current window to the destination desktop without switching
- Hide taskbar "shows" when switching desktops && ALT key focus when Change desktops HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows-desktop-switcher.