gnome-shell/js/ui
Ray Strode 82c72f377a dnd: don't try to access destroyed dragActor
The dragComplete handler incorrectly checks
this._actorDestroyed to see if the drag actor
is destroyed.  The drag actor may not be the same
as the main actor.

The end result is an exception in drop handling,
leading to a shell lockup.

This commit changes the code to always set
this._dragActor to undefined when it's destroyed,
and check for that condition instead of
this._actorDestroyed in the dragComplete handler.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/issues/577
2018-09-19 12:52:39 -04:00
..
components js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
status js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
accessDialog.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
altTab.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
animation.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
appDisplay.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
appFavorites.js appFavorites: Add evolution to rename list 2018-04-10 14:38:26 +00:00
audioDeviceSelection.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
background.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
backgroundMenu.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
barLevel.js barLevel: Add "overdrive" capability 2018-07-31 18:14:14 +00:00
boxpointer.js js/ui: Choose some actors to cache on the GPU 2018-08-27 14:16:59 +00:00
calendar.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
checkBox.js cleanup: Use method syntax 2018-02-21 13:54:58 +00:00
closeDialog.js closeDialog: use {disable,enable}_unredirect_for_display 2018-07-08 17:43:15 +02:00
ctrlAltTab.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
dash.js js/ui: Choose some actors to cache on the GPU 2018-08-27 14:16:59 +00:00
dateMenu.js worldClock: Handle named timezones 2018-04-13 09:15:48 +00:00
dialog.js js/ui: Choose some actors to cache on the GPU 2018-08-27 14:16:59 +00:00
dnd.js dnd: don't try to access destroyed dragActor 2018-09-19 12:52:39 -04:00
edgeDragAction.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
endSessionDialog.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
environment.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
extensionDownloader.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
extensionSystem.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
focusCaretTracker.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
grabHelper.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
ibusCandidatePopup.js ibusCandidatePopup: Fix candidate-clicked signal 2018-04-18 13:37:53 +09:00
iconGrid.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
inhibitShortcutsDialog.js cleanup: Use method syntax 2018-02-21 13:54:58 +00:00
kbdA11yDialog.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
keyboard.js keyboard: Refactor code resetting IM on window drags 2018-08-03 17:02:20 +02:00
layout.js layout: Mark chrome container as NO_LAYOUT 2018-08-14 19:13:30 +02:00
lightbox.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
lookingGlass.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
magnifier.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
magnifierDBus.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
main.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
messageList.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
messageTray.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
modalDialog.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
mpris.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
notificationDaemon.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
osdMonitorLabeler.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
osdWindow.js osdWindow: Allow levels above 100% 2018-07-31 18:14:11 +00:00
overview.js overview: Use whole stage size for cover pane 2018-08-06 10:18:28 +02:00
overviewControls.js overview: Restore previous workspace switcher policy 2018-08-14 17:34:57 +00:00
padOsd.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
panel.js panel: Keep prefs in sync with shell-shows-app-menu state 2018-08-28 23:53:10 +00:00
panelMenu.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
pointerWatcher.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
popupMenu.js popupMenu: Don't handle key presses directly if there are modifiers 2018-07-14 14:04:18 +02:00
remoteMenu.js remoteMenu: Support icons in app-menu 2018-04-14 09:02:20 +00:00
remoteSearch.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
runDialog.js runDialog: Use ClutterText::activate for enter handling 2018-08-17 18:37:32 +00:00
screencast.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
screenShield.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
screenshot.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
scripting.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
search.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
sessionMode.js Explicitly convert raw data to strings 2018-07-31 16:28:53 +00:00
shellDBus.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
shellEntry.js shellEntry: Use correct enum for input purpose hints 2018-03-14 13:30:47 +00:00
shellMountOperation.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
slider.js barLevel: Support maxValue higher than 1 2018-07-31 18:14:10 +00:00
switcherPopup.js switcherPopup: Cancel window cycling with Tab 2018-07-14 14:35:05 +00:00
switchMonitor.js cleanup: Use method syntax 2018-02-21 13:54:58 +00:00
tweener.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
unlockDialog.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
userWidget.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
viewSelector.js viewSelector: Ignore auto-repeat activation of toggle keybindigs 2018-08-20 11:14:37 +00:00
windowAttentionHandler.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
windowManager.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
windowMenu.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
workspace.js workspace: Simplify detecting added dialogs after closing a window 2018-08-03 00:09:02 +02:00
workspacesView.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
workspaceSwitcherPopup.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
workspaceThumbnail.js Revert "workspaceThumbnail: rebuild thumbnails if workareas size changed" 2018-08-19 12:41:08 +00:00
xdndHandler.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00