Git Product home page Git Product logo

Comments (8)

taooceros avatar taooceros commented on May 28, 2024

Your step 3 already change the selection. I wouldn't say we should reselect to the top result whenever reopen the window, which might be weird.

from flow.launcher.

Yusyuriv avatar Yusyuriv commented on May 28, 2024

I wouldn't say we should reselect to the top result whenever reopen the window

If I understood correctly, they aren't asking to reselect the top result, but to ignore the mouse cursor when the window appear animation is in action. I also had this issue a few times. This issue only happens when the animations are enabled because Flow Launcher moves slightly up when it appears, triggering the selection with the mouse cursor. When animations are disabled this doesn't happen. The correct sequence of actions to reproduce this is:

  1. Enable animations in the settings if they are disabled.
  2. Open Flow Launcher.
  3. Type something to populate the list.
  4. Leave the first result selected, hit Esc to close the window.
  5. Put the mouse cursor where the third result would be if the window was still open.
  6. Open Flow Launcher with the shortcut. It appears and the animation of appearing triggers the selection of the result under the mouse cursor even though the mouse cursor didn't move.

from flow.launcher.

lotsocds avatar lotsocds commented on May 28, 2024

@taooceros Thanks for the reply. This is a case where trying to make it easy to reproduce masked the real concern.
@Yusyuriv You are correct regarding my issue. Thank you for the corrected sequence of actions, and especially for the explanation why this happens. I can certainly live without animation, so this request is resolved for me. I will close it.

from flow.launcher.

Yusyuriv avatar Yusyuriv commented on May 28, 2024

I still think it's an issue that should be fixed. The user doesn't move the mouse, animation shouldn't trigger the selection with the mouse cursor.

from flow.launcher.

jjw24 avatar jjw24 commented on May 28, 2024

Let's keep it open as it's a bug

from flow.launcher.

taooceros avatar taooceros commented on May 28, 2024

@taooceros Thanks for the reply. This is a case where trying to make it easy to reproduce masked the real concern. @Yusyuriv You are correct regarding my issue. Thank you for the corrected sequence of actions, and especially for the explanation why this happens. I can certainly live without animation, so this request is resolved for me. I will close it.

oops sorry I think I didn't successfully reproduce last time but does this time. Probably that's related to animation?

I think animation triggers the mousemove event. Don't know whether there's a good way to resolve it....

from flow.launcher.

taooceros avatar taooceros commented on May 28, 2024

I think we can add a small timeout whenever reshow the windows for the mousemove event.

from flow.launcher.

onesounds avatar onesounds commented on May 28, 2024

I plan to delete the animation of the window moving.

There is one more similar issue. When the mouse is over the window, moving the list with the keyboard puts focus on the mouse cursor. (You can easily check this by holding down the down arrow key.) Something needs to be changed about mouse hover.

from flow.launcher.

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.