Files
atom/spec
Jason Rudolph c7bfbc181c 🐛 Fix atom/tabs#461
On Linux, when the user performs a middle-button mouse click, Chromium
fires both a mouse-down event *and* a paste event. This commit teaches
the TextEditorComponent to ignore the paste event.

When the user performs a middle-mouse click on a tab, we get close the
tab and attempt to prevent Chromium's default processing for the event.
[1] This prevents Chromium's default processing for the *mouse down*
event, but then Chromium also fires a *paste* event, and that event
pastes the clipboard's current content into the newly-focused text
editor. 🙀

Since Atom already has its own logic for handling pasting, we
shouldn't (🤞) need to handle browser paste events. By ignoring the
browser paste events on Linux, we fix atom/tabs#461.

[1]
ce1d92e0ab/lib/tab-bar-view.coffee (L416-L418)
2017-08-07 10:19:08 -04:00
..
2017-08-02 19:34:44 -04:00
2017-01-14 09:04:49 -08:00
2017-03-11 19:05:28 +01:00
2017-05-11 21:10:20 -06:00
2017-08-02 19:34:44 -04:00
2016-10-27 10:57:48 -07:00
2017-06-14 16:57:37 -07:00
2016-09-26 20:52:13 +03:00
2017-08-07 10:19:08 -04:00
2017-04-11 12:05:43 -06:00
2016-09-26 20:52:13 +03:00
👕
2016-12-22 16:39:40 -08:00
2017-06-08 15:44:15 -04:00
2017-07-14 00:14:04 -04:00