unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Suggestion: Remove direct keyboard handling for active elements from NS Webkit Xwidgets
@ 2022-10-14 21:58 Qiantan Hong
  2022-10-15  1:47 ` Suggestion: Remove direct keyboard handling for active elements fr Po Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Qiantan Hong @ 2022-10-14 21:58 UTC (permalink / raw)
  To: emacs-devel@gnu.org; +Cc: Po Lu, Lars Ingebrigtsen

Hi,

Currently, the GTK port seem to always let Emacs handle keyboard events, 
while NS port test if an INPUT/TEXTAREA element is active and let WKWebView
directly handle the keyboard events in those cases.

I think the GTK way is more flexible, as xwidget-webkit-edit-mode has shown one
can always pass through the event from Emacs side if desired. Shall we
remove those NS-specific code to make the behavior consistent across the two ports?

Best,
Qiantan






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Suggestion: Remove direct keyboard handling for active elements fr
  2022-10-14 21:58 Suggestion: Remove direct keyboard handling for active elements from NS Webkit Xwidgets Qiantan Hong
@ 2022-10-15  1:47 ` Po Lu
  0 siblings, 0 replies; 2+ messages in thread
From: Po Lu @ 2022-10-15  1:47 UTC (permalink / raw)
  To: Qiantan Hong; +Cc: emacs-devel@gnu.org, Lars Ingebrigtsen

In general, not a bad idea.  However, the NS xwidget implementation does
not support passing through input events at all (this is a new feature
in Emacs 29), so that will have to be implemented first.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-15  1:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-14 21:58 Suggestion: Remove direct keyboard handling for active elements from NS Webkit Xwidgets Qiantan Hong
2022-10-15  1:47 ` Suggestion: Remove direct keyboard handling for active elements fr Po Lu

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).