Giter VIP home page Giter VIP logo

Comments (7)

Elv13 avatar Elv13 commented on July 18, 2024

This may or may not be in the same bag as #130 . In any case, someone need to investigate the client initialization code to be sure it is reproducible from run to run and behave in a sensible way.

To mitigate your issue, there is a request:: signal API. Take a look at "request::activate" to implement your own handler. I also had some issues with "transient for" popups initialization order being random, but I have "fixed" this by handling that event myself (in Tyrannical).

from awesome.

aroig avatar aroig commented on July 18, 2024

@Elv13 Thanks. I forgot to mention that the issue I reported has nothing to do with custom handlers. I can reproduce it with a default rc.lua.

from awesome.

aroig avatar aroig commented on July 18, 2024

Ok, A correction (sorry). The client DOES get focus. I was only looking at the border color to tell if it has focus or not.... silly me. The bug seems to be that after #118, the border color is not properly set from within a focus signal.

There are still things I don't understand in the sequence of calls I reported before, though.

from awesome.

actionless avatar actionless commented on July 18, 2024

it looks similar to problem i reported in comments -- 90fde13#commitcomment-9423747

it was fixed in one of the later commits but got broken again almost at the same time as i faced that #130 issue

from awesome.

aroig avatar aroig commented on July 18, 2024

Yes! @psychon comment in there (90fde13#commitcomment-9424536) is very helpful. In particular it explains why I was seeing two calls to client_focus. Also explains the problem I have!

After a quick test, it turns out the same race between focus handler and rule application happens here!

This still needs a fix. It is odd that rules sometimes win over the focus handler, and sometimes do not.

from awesome.

blueyed avatar blueyed commented on July 18, 2024

#116 might help here.

from awesome.

aroig avatar aroig commented on July 18, 2024

2328b57 fixed this for me. Thanks!

from awesome.

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.