Giter Site home page Giter Site logo

Comments (6)

Timidger avatar Timidger commented on May 26, 2024

Is this bug still present on the latest master (c34f783)?

from way-cooler.

Timidger avatar Timidger commented on May 26, 2024

Is this still an issue future me?

from way-cooler.

valryne avatar valryne commented on May 26, 2024

There is more which does not work without a focused container:
• launch dmenu
• open terminal (probably what you witnessed)
• all move focus keybindings
• all move active container keybindings
• all split containers keybindings
• mouse click (on window) --left/middel/right-- without moving the mouse prior to click
• mouse click (on window) --middle-- with moving the mouse prior to click
• mouse click (on window title) --middle-- with and without moving the mouse prior to click
• mouse click (on window border "resize pointer") --middle-- with and without moving the mouse prior
• all switch to workspace keybindings (for empty workspaces and current)

What works/gives back focus
• switch to non-empty workspace
• switch to empty workspace (does not actually go there) then switch to current workspace →return focus in current workspace
• click on window title --left/right-- (works even without moving the mouse first)
• click on window border (resize pointer) --left/right-- with and without moving the mouse prior
• click on window without moving --left/right-- if window was active before (like when exiting dmenu)
• click on window after moving the mouse --left/right-- right-click closes window and returns focus to upper right window on screen
• quit way-cooler

If there is at leas one floating window, then there is the following exception to the above:
works: click on window without moving the mouse --left/right-- if window is the floating one

Tried this with release version 4.0 and current master (synced yesterday) — 'cargo build' with executable in /way-cooler/target/debug and 'cargo install' with executable in ~/.cargo/bin.


I cannot tell, if it all boils down to the same issue, or if some should be listed as separate instances.

from way-cooler.

Timidger avatar Timidger commented on May 26, 2024

PKGBUILD.txt

You are correct, those all boil down to the same issue. I am looking to address these in 0.4.1, mostly by making there always be some active container.

If you'd like to test it further (as more eyes are always better) feel free to test it out by using the attached modified PKGBUILD to use the branch that has these fixes. If cargo gives you a weird error in graphmap (like it did with me) imake sure you are on the latest version of cargo

from way-cooler.

valryne avatar valryne commented on May 26, 2024

Works.
With only tiled containers, when I quit dmenu, the last active container becomes active again.
And so far, I could not recreate the situation where there is no active container at all.

The only strange behavior is with a floating container being active before launching dmenu:
No tiled containers:
• With only one floating container, it correctly becomes active again.
• When I open >1 floating containers, the lowest one becomes active, no matter which one was active before launching dmenu.
With tiled container(s):
• No matter how many floating containers, the tiled container that was last active becomes active, regardless which floating container was active before launching dmenu. (It neither matters how many floating containers were active after the last active tiled container.)

from way-cooler.

Timidger avatar Timidger commented on May 26, 2024

Hmm...strange I remember explicitly disallowing floating containers to remember their focus, but I don't remember why. I have disabled the artificial limitation in the latest version of #165, as it doesn't seem to break anything.

from way-cooler.

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.