Repository navigation
Allow window to accept single click on focus - #3843
Conversation
|
Does this make #2488 unnecessary, or is that still required? |
|
I don't believe it does. I think that issue was about dialogs responding to any focus event emitted by the renderer process. |
|
@iAmWillShepherd code looks fine but i'm not getting this to work on my computer |
|
I believe this changes requires a rebuild first. @nerdneha Did you rebuild the app before starting? |
|
@tierninho that smells like an Electron issue. If it's reproducible away from Desktop, like using EDIT: I'll see if I can recreate this in the same way. EDIT 2: reported upstream: electron/electron#11800 |
|
@tierninho @shiftkey, turns out this behavior is present in my browser as well (Firefox). Just opened a terminal, right-clicked in my browser so that a context menu appears, and I typed a little message to myself in my terminal (iTerm2) |
|
@iAmWillShepherd cool, so it might even be beyond Electron. Anyway, no need to hold this up. |
|
A bit late to the party, but this one just shipped in 1.1.0 so I saw this just now. To be fair, some other apps, including some of Apple's, sin in this regard as well, but just wanted to voice my concern of the ongoing dilution of native behaviour from cross-platform apps. The web, Windows and macOS act differently and look different. This is not a bad thing. Ok, rant over. |
This is an interesting bit of feedback. Would you mind opening up a fresh issue about this with an annotated screenshot of the bits that you think need to be changed, so we can track this discussion? |
|
Will do, will have time to do this properly later today. Thanks for the response! |
|
@zenmumbler , I think I understand the nature of the problem. I used to native macOS apps, TextEdit and Notes. They both respond to a click when out of focus, as does Desktop now, but they also grey out the contents of the window, which Desktop does not do. Is my understanding correct and does this gif correctly show the problem? |




This PR addresses feedback from @kevinsawicki: the window required one click to set focus and another to actually perform any useful actions.
Before
After