-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find in the hotkeys popup #3970
base: master
Are you sure you want to change the base?
Conversation
thanks for submitting, i found small issue right from the description (and left a separate comment), i'll start reviewing the code itself later on in upcoming days or mb even hours |
and also the test is failing:
|
regarding keygrabber question, i'll need first to understand:
|
also, mb add a bool option to args for closing hotkeys on a any keypress (the current behavior), so the users who used to that, could restore that old default behavior |
i think |
Because I use Actually, I need to check if the prompt is stopped gracefully. Right now I just call
I added
I don't know. What are the odds that you want multiple prompts for different hotkey popups? It's just a simple text "find: ", nothing more so I thought was easier for user to set it once in the theme. |
it wasn't a point about having multiple different prompts, but about untying translation and style - and as you can see from our existing themes (and defined theme variables in the awful/wibox/etc builtin libraries), it's indeed not a used practice storing such sort of info there
thanks 👍
ok i'll try to dive into |
style checking is failing in the CI btw |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⬆️
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3970 +/- ##
===========================================
- Coverage 93.90% 48.39% -45.51%
===========================================
Files 869 195 -674
Lines 51353 22523 -28830
===========================================
- Hits 48221 10900 -37321
- Misses 3132 11623 +8491
|
this is still actual |
also, this suggestion may be out of scope of this PR, but would be nice to have an option instead of just highlighting search results - to show only the matching items (and their respective group headers) |
I see, I fixed it and now there is another issue. How do you setup your local dev environment so I can see these warnings/errors before pushing?
Widgets' positions are calculated only once when they are created. Then they are cached. Highlighting the text will not change their position. However, hiding the text requires recalculating all positions. Which is a non-trivial task given the code. So maybe some other time... |
on arch linux it's normally enough to have the same libraries as in makedeps of the PKGBUILD for ubuntu see: https://github.com/awesomeWM/awesome/blob/master/.github/workflows/main.yml common instructions for other distros are here: https://awesomewm.org/apidoc/documentation/10-building-and-testing.md.html |
Implements #3963
awful.prompt.run
show_help()
does not returnawful.keygrabber
(breaking change?)Theme variables
highlight_bg
"#ffff00"
highlight_fg
"#000000"
find_fg_cursor
find_bg_cursor
find_ul_cursor
find_prompt
"<b>Find: </b>"
find_font
font
find_margin
group_margin