GithubHelp home page GithubHelp logo

"cannot focus window" about i3-easyfocus HOT 8 CLOSED

bendem avatar bendem commented on August 18, 2024
"cannot focus window"

from i3-easyfocus.

Comments (8)

cornerman avatar cornerman commented on August 18, 2024

Thanks for reporting! Can you please do a make clean debug and paste the output when running ./i3-easyfocus again?

from i3-easyfocus.

bendem avatar bendem commented on August 18, 2024

https://gist.github.com/bendem/3a97e6991744d75ea21cdc176b44e290

from i3-easyfocus.

cornerman avatar cornerman commented on August 18, 2024

Oh good point! The ids should be unsigned; I was just following the docs from i3ipc-glib where it is signed.

Could you try with the branch issue6 whether it works?

from i3-easyfocus.

bendem avatar bendem commented on August 18, 2024

Same result, different ipc error message: https://gist.github.com/bendem/3a97e6991744d75ea21cdc176b44e290#file-gistfile2-txt

from i3-easyfocus.

cornerman avatar cornerman commented on August 18, 2024

The con_id seems to be already overflowing when it is handled by i3ipc-glib as a gint, which is 4 bytes on my system. In i3, the con_id is actually the address of the corresponding con struct and is handled as a long when being printed or read - with a size of 8 bytes here.

from i3-easyfocus.

Radivarig avatar Radivarig commented on August 18, 2024

This happens when I move a nested window out of its container, I cannot focus it anymore.

  • create window A
  • create window B
  • create window C nested under B
  • move C out of B
  • no longer able to focus C
i3 version 4.15 (2018-03-10)
i3easyfocus-20180622 revision i33631d5af612d58c3d027f59c86b185590bd78ae1

from i3-easyfocus.

cornerman avatar cornerman commented on August 18, 2024

@Radivarig Which version of i3ipc-glib are you using? This issue was fixed in i3ipc-glib with this commit altdesktop/i3ipc-glib@a7a29cf. Sadly, the last released version 0.6.0 does not include this fix :/

For a more detailed log of your problem, you can do:

make clean debug
./i3-easyfocus

It should give a more detailed output about what happens.

from i3-easyfocus.

Radivarig avatar Radivarig commented on August 18, 2024

@cornerman ah.. you are correct. My version is 0.6.0. Thanks

from i3-easyfocus.

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.