Comments (23)
Sounds to me like you have -auto-select in your rofi settings (~/.Xresources or ~/.config/rofi/config) and only have one password entry.
from rofi-pass.
No, I don't have this option and I have more than one password entry.
I tried adding the option rofi.auto-select: false
, but I still get this issue.
Is there any debug mode for rofi
/rofi-pass
so that I can see what happen?
from rofi-pass.
bash -x /path/to/rofi-pass
from rofi-pass.
I attached the logs to this post.
I don't know why I get:
+ selected_password=path/to/password
since I did not select a password (it is automatically selected).
Could it be caused by the -select ''
option?
Do you see something suspicious in this log?
Thanks for your help.
from rofi-pass.
run this: echo -e "1\n2\n" | rofi -dmenu -select '' -kb-accept-entry '!Return'
If this has your behaviour try the same thing without the -kb-accept-entry option and see if it helps.
If this fixes it, you need to update your rofi.
from rofi-pass.
I tested with your command and it does not seem to be caused by -select ''
.
Do you have any idea by looking at the logs file?
Thanks for your help.
from rofi-pass.
that log seems perfectly fine. and in fact your log claims a return code of "0", which in theory can only be caused by hitting Enter
from rofi-pass.
which rofi version?
from rofi-pass.
~ rofi -v
Version: 1.2.0
from rofi-pass.
how exactly are you starting rofi-pass?
from rofi-pass.
With rofi
, but the same issue arise when I start it from the terminal.
from rofi-pass.
well i am clueless. there is no way rofi-pass can trigger this and your rofi options themselves dont trigger it either.
from rofi-pass.
Well, I must report, that I have just faced this issue too. My instance of rofi-pass
behaves exactly like @antoyo described.
At the same time rofi
by itself does not bother whether mouse cursor is above it's window or not...
from rofi-pass.
To the original poster:
echo -e "1\n2\n3" | rofi -i -width 700 -no-levenshtein-sort -mesg 'Welcome to rofi-pass. Use <span color='\''#ffffff'\''>Alt+n</span> to create a new pass entry.
Run menu with <span color='\''#ffffff'\''>Enter</span>. For more help hit <span color='\''#ffffff'\''>Alt+h</span>.' -dmenu -kb-accept-entry '!Return' -kb-custom-1 Alt+1 -kb-custom-2 Alt+2 -kb-custom-3 Alt+3 -kb-custom-4 Alt+4 -kb-custom-5 Alt+u -kb-custom-6 Alt+p -kb-custom-7 Alt+o -kb-custom-8 Alt+l -kb-custom-9 Alt+t -kb-custom-14 Alt+a -kb-custom-15 Alt+c -kb-custom-16 Alt+h -kb-custom-17 Alt+x -kb-custom-18 Alt+n -dmenu -select '' -p 'rofi-pass > '
This is the exact command being run. Run it manually. Same thing happening?
from rofi-pass.
I've occasionally experienced this as well. My cursor is rarely ever in the middle of the screen, so it happens infrequently.
Here is a screencast (taken with teiler!) of the behaviour: http://files.pig-monkey.com/rofibug.mp4
You can see my cursor is in the middle of the screen. I paste the command above and hit enter. Because my cursor is immediately above the 1
entry, it is automatically selected.
Then I move my cursor to the upper left, paste the command, and hit enter. As expected, nothing happens until I manually hit 3<enter>
.
from rofi-pass.
I wonder what triggers this. can you try to ommit -kb-accept-entry '!Return'
argument from the command?
but anyway. Your screencast proves it's not a rofi-pass issue, but a rofi one.
Would be nice if you can come up with the most minimal command to trigger this behavior. Then we can report it upstream.
from rofi-pass.
I cannot get it to trip when I remove that. If I keep my cursor in the same spot and put -kb-accept-entry '!Return'
back in, it autoselects like in the screencast. So, yeah, seems to be that.
from rofi-pass.
pffft. I explicitly asked for the result of the command without -kb-accept-entry in my 3rd post on oct. 19th. It was ignored. Anyway, I will remove this part, but it will break compatibility some older rofi versions (and hopefully has no side effects)
from rofi-pass.
Could you please release a new version with this fix so that we can update the package in distribution repositories?
Thanks a lot.
from rofi-pass.
Was waiting for comfirmation that this fixes things. Anyway, done.
from rofi-pass.
I cannot reproduce the issue with this fix.
Thanks.
from rofi-pass.
This issue happens with the new release of 2 days ago.
from rofi-pass.
Make sure you have the above mentiond rofi option in your _rofi function of rofi-pass config file (or not, depending on what works for you :))
This is how it looks in my ~/.config/rofi-pass/config:
_rofi () {
rofi -width 1000 -i -no-auto-select -no-levenshtein-sort "$@"
}
from rofi-pass.
Related Issues (20)
- type_otp function HOT 1
- Unneeded password decryptions with hotkeys in action menu HOT 3
- Field name case sensitivity
- rofi-pass dosen't prompt anything in terminal and basically any input. HOT 2
- addpass script is broken
- rofi-pass autofill for credit cards? HOT 2
- Autofill gives wrong characters HOT 2
- rofi deprecating -dump-xresources HOT 2
- *ERROR*: Symbol’s function definition is void: +pass/read-entry HOT 1
- Rofi error prompt (`Rofi is unsure what to do`) with default config HOT 1
- Config default_autotype='pass' is not work HOT 1
- Add Icons For Websites HOT 1
- Pinentry breaks on minimal arch i3 install HOT 1
- Roadmap and Co-Maintainership HOT 3
- Cant fill or copy the username or pass HOT 5
- Document default keybindings in README HOT 1
- _rofi() variable doesn't work inside bash blocks
- Syntax error in binding {kb-mode-previous,kb-mode-next,select}: cannot have an empty modifier HOT 1
- Passwords starting with g get mingled up
- OTP field not visible HOT 1
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 rofi-pass.