monero-project / monero-gui

Monero: the secure, private, untraceable cryptocurrency
Other
1.71k stars 767 forks source link

Please make the password entry field have focus #4209

Open MikeRich88 opened 1 year ago

MikeRich88 commented 1 year ago

Attached is a video showing the problem. I think it only occurs when you use the keyboard to switch tasks.

macOS 13.5 monero-wallet-gui 0.18.2.2

https://github.com/monero-project/monero-gui/assets/7113073/85b156ed-b4fa-4897-bb1b-81d302a39ea2

selsta commented 1 year ago

Can you reproduce it without BBEdit? I don't have it installed but so far I wasn't able to reproduce on macOS 14, switching with keyboard works without issues.

MikeRich88 commented 1 year ago

I have to switch from some app into Monero to show the issue. BBEdit just happened to be convenient because it could also demonstrate that I was typing, etc. (I had the Finder quit in the video because of all the junk on my desktop)

Try in this order exactly. I replicated it with TextEdit instead of BBEdit, no video though.

  1. Launch Monero GUI, and then enter your password.
  2. Make sure Monero is on the Send tab (this probably does not matter).
  3. Launch TextEdit, or any other app, (which app probably shouldn't matter, as long as it's some other app)
  4. Go away for 20 minutes, or however long it takes before Monero reintroduces the password prompt. Make sure the frontmost app is TextEdit for this time. (Maybe: Make sure the computer does not go to sleep? Probably doesn't matter)
  5. Cmd-Tab from other app into Monero GUI.
  6. Focus will not be in the password field.

It's a minor issue for sure, but I think at the same time it's an easy fix and therefore an easy win.

This is on my laptop so it's hard to leave it unused for periods of time like that, but I have an old Mac Pro with macOS 12 that I could try also.