Code Monkey home page Code Monkey logo

Comments (6)

stefansundin avatar stefansundin commented on July 3, 2024

This has happened to me a few times, and I haven't been able to figure out how to fix it.

One thing you can do is to press the Esc key. If AltDrag detects that the Esc key is pressed, it will stop everything it is currently doing and reset its state.

If someone can find a 100% consistent way to reproduce this bug, let me know. I need to be able to reproduce it to find a good solution.

from altdrag.

gh658804 avatar gh658804 commented on July 3, 2024

If someone can find a 100% consistent way to reproduce this bug, let me know. I need to be able to reproduce it to find a good solution.

Understandable. Unfortunately, i too have no idea how or why it happens.

When you say "Press Esc", i assume you mean anywhere in Windows, in any application. AltDrag does not need to have the focus, right?

from altdrag.

stefansundin avatar stefansundin commented on July 3, 2024

AltDrag does not need to have the focus, right?

Correct. You can try it out by dragging a window and then hitting Esc. AltDrag should stop the dragging immediately.

from altdrag.

gh658804 avatar gh658804 commented on July 3, 2024

Thanks for the info. Very useful. I'd like to mention here something i hadn't realized until now. Alt+Esc is a Windows keystroke which switches between open windows (like Alt + Tab) without showing the preview window, so if you're moving something with AltDrag and press Esc while Alt is down, the movement operation IS cancelled but the previously dragged window is also put into background. I thought it was a bug at first! :)

from altdrag.

stefansundin avatar stefansundin commented on July 3, 2024

I decided to not cancel the Esc keypress from being sent, simply because there is a chance I might change the behavior of another program. Every time you press Esc, AltDrag resets its state, even if it's not really being used. So I simply decided not to add any logic there to block the keypress because hopefully you will not need to use it that much. :)

from altdrag.

dsyens avatar dsyens commented on July 3, 2024

Definitely not 100% the reason, but I've often noticed it getting stuck after accidentally maximizing a window via alt + double-click.

from altdrag.

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.