Giter VIP home page Giter VIP logo

Comments (8)

gauteh avatar gauteh commented on August 19, 2024

Excerpts from apm256's message of December 2, 2014 12:52:

When I open a new window with 'O', and use 'F' or 'L' in the first one, the text field opens itself in the second window, not in the first one as expected.

What desktop environment / window manager are you using? I am currently detecting
focus-in and focus-out events to determine which window should grab the
keyboard. Is this in edit-mode with gvim open?

By the way, I tested astroid for a few days, and I'm very pleased with it.

Nice!

from astroid.

apm256 avatar apm256 commented on August 19, 2024

No gvim open here. I'm using herbstluftwm. (I will test later on another WM, just in case.)

from astroid.

gauteh avatar gauteh commented on August 19, 2024

Excerpts from apm256's message of December 2, 2014 13:29:

No gvim open here. I'm using herbstluftwm. (I will test later on another WM, just in case.)

Ok, I added some debug output in 9b97015 so that you can keep track of
which window gets/has/looses focus. I've been testing on openbox and i3.

from astroid.

apm256 avatar apm256 commented on August 19, 2024

I experimented a bit further with herbstluftwm. By default, hwm does not give focus to new windows. When I override this setting for astroid:

herbstclient rule class~'[Aa]stroid' focus=on

...the wrong behavior disappears.

from astroid.

gauteh avatar gauteh commented on August 19, 2024

Excerpts from apm256's message of December 2, 2014 16:32:

I experimented a bit further with herbstluftwm. By default, hwm does not give focus to new windows. When I override this setting for astroid:

herbstclient rule class~'[Aa]stroid' focus=on

...the wrong behavior disappears.

Nice catch. I'll check if I assume somewhere that the new window is given
focus.

from astroid.

gauteh avatar gauteh commented on August 19, 2024

Excerpts from Gaute Hope's message of December 2, 2014 16:38:

Excerpts from apm256's message of December 2, 2014 16:32:

I experimented a bit further with herbstluftwm. By default, hwm does not give focus to new windows. When I override this setting for astroid:

herbstclient rule class~'[Aa]stroid' focus=on

...the wrong behavior disappears.

Nice catch. I'll check if I assume somewhere that the new window is given
focus.

Seems like I did an unconditional grab_modal on new windows, it should
be fixed in e017fd8. Let me know if there is a difference.

from astroid.

apm256 avatar apm256 commented on August 19, 2024

nice! Everything seems to work, now.

from astroid.

gauteh avatar gauteh commented on August 19, 2024

Ok!

from astroid.

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.