Coder Social home page Coder Social logo

Comments (18)

pmb6tz avatar pmb6tz commented on August 15, 2024 2

Hey @Perlence -- issues are still around but I couldn't stay away... :D. Hopefully getting there though!

from windows-desktop-switcher.

hawkins avatar hawkins commented on August 15, 2024

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.

pmb6tz avatar pmb6tz commented on August 15, 2024

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.

Perlence avatar Perlence commented on August 15, 2024

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.

Perlence avatar Perlence commented on August 15, 2024

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.

Perlence avatar Perlence commented on August 15, 2024

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.

hawkins avatar hawkins commented on August 15, 2024

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.

Perlence avatar Perlence commented on August 15, 2024

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.

Perlence avatar Perlence commented on August 15, 2024

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.

pmb6tz avatar pmb6tz commented on August 15, 2024

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.

Perlence avatar Perlence commented on August 15, 2024

@pmb6tz Hey, good to see you back! How are you doing?

from windows-desktop-switcher.

Perlence avatar Perlence commented on August 15, 2024

The original flashing issue cannot be fixed by longer delay, e.g SetKeyDelay, 200.

from windows-desktop-switcher.

Perlence avatar Perlence commented on August 15, 2024

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.

mzomparelli avatar mzomparelli commented on August 15, 2024

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.

pmb6tz avatar pmb6tz commented on August 15, 2024

@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.

mzomparelli avatar mzomparelli commented on August 15, 2024

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.

Elijas avatar Elijas commented on August 15, 2024

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.

pmb6tz avatar pmb6tz commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.