xorg Digest, Vol 163, Issue 8

Chris Sorenson csoren at isd.net
Thu Feb 21 03:46:58 UTC 2019

> My xKeyboard-config is version 2.23.1-1 (so it is the most recent
> version). This keyboard issue seems pretty common for Nedit users,
> which is why Nedit lists it in the "Help->Problems/Defects" option. I
> am quoting the text here:
> P: Dialogs don't automatically get keyboard focus when they pop up.
> S: Most X Window managers allow you to choose between two categories
> of keyboard focus models: pointer focus, and explicit focus.  Pointer
> focus means that as you move the mouse around the screen, the window
> under the mouse automatically gets the keyboard focus.  NEdit users
> who use this focus model should set "Popups Under Pointer" in the
> Default Settings sub menu of the preferences menu in NEdit.  Users
> with the explicit focus model, in some cases, may have problems with
> certain dialogs, such as Find and Replace.  In MWM this is caused by
> the mwm resource startupKeyFocus being set to False (generally a bad
> choice for explicit focus users). NCDwm users should use the focus
> model "click" instead of "explicit", again, unless you have set it
> that way to correct specific problems, this is the appropriate setting
> for most explicit focus users.
> So I followed this advice and tried to set the "Popups under pointer"
> option, but it was selected by default. Then why am I facing this
> problem? Anyway, I unselect it and restart Nedit, but this does NOT
> solve the problem. So I set the "popups under pointer" option AGAIN
> and restart Nedit. This time, It works FINE and all dialogs
> automatically have keyboard focus when opened. HOWEVER, when I open a
> second file in a second tab, the problem resurfaces.
> Is this a bug in NEdit?

I don't think it's a bug in nedit, more likely an incompatibility in the 
window manager, what window manager are you using?

Try starting Nedit in server mode (use the "nc" command instead of 
"nedit," then try opening a file in a new tab, does that solve the 

More information about the xorg mailing list