Comments (7)
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.
@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.
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.
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.
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.
#116 might help here.
from awesome.
2328b57 fixed this for me. Thanks!
from awesome.
Related Issues (20)
- Shape function in naughty notification rule passes wierd arguments.
- Terminal breaks visually after suspend HOT 2
- Cannot resize windows with mouse HOT 4
- Multiple panels at top when having a mistake in rc.lua HOT 1
- Multiple windows struck to gether with padding HOT 2
- Hotkeys overwritten by KDE when system wakes up HOT 1
- Notification tray icon issue w/ Indicator Sound Switcher HOT 5
- Attach clients into the stack area when you toggle a new tag into view
- prompt hooks keep making prompt stopped HOT 1
- Focus by hover ignored after layout change to max HOT 1
- Border around Firefox developer tools popup HOT 11
- awesomeWM workspaces and skippy-xd HOT 3
- `urgent = false` not working HOT 3
- BUG: `gears.timer {call_now=true}` doesn't pass `self` (`ret`) HOT 1
- Incorrect completion_callback usage example
- Errors returned with luajit but not lua 5.4 HOT 2
- Mouse events ignored by application only when managed by Awesome
- Lgi FFI error on startup HOT 1
- Multiple definition error while compiling on a 32bit machine. HOT 1
- GTK theme breaks if user's locale uses commas instead of dots as decimal separators HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome.