Git Product home page Git Product logo

Comments (4)

barkyq avatar barkyq commented on June 10, 2024

I have a similar problem: if I have emacsclient and alacritty open in the same tag, with focus on the emacsclient, and I close the emacsclient, the focus is lost, even though there is only one remaining window in the tag.

I am using ClickTo and so the only way to regain focus is to click on the sole remaining window. FocusWindowUp and FocusWindowDown keybindings do nothing.

Interestingly, if I only use alacritty windows, and I close TWO of them then I similarly lose focus (like @FrBst says). If I only close one of them, then the focus is not lost.

from leftwm.

barkyq avatar barkyq commented on June 10, 2024

cf #1145 and #1108

from leftwm.

paul-ohl avatar paul-ohl commented on June 10, 2024

Exact same issue here!

from leftwm.

chaulkie avatar chaulkie commented on June 10, 2024

My workflow has been frustrated by this too. It seems to stem from the refocus behaviour; when you close a window, focus will move to the previously focused window. If you have closed the previously focused window, the logic gives up and doesn't focus on anything.

A similar thing happens when I change to a tag with multiple windows, then close the window I land on. Instead of changing focus to the remaining window, focus is lost altogether, presumably because the previously focused window is on a different tag.

Besides the fact that the current behaviour causes this bug, I find it generally inconvenient, for example if I'm working with multiple workspaces. Much more sensible in my mind would be for focus to simply move up the stack of the current workspace.

from leftwm.

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.