gnome-shell/js/ui
Jasper St. Pierre 82ec6c08b8 appDisplay: Fix pages getting "stuck" under touch
We often call goToPage like:

  this.goToPage(this._currentPage - 1);

(or + 1). During panning, these are based on the velocity values
of the gesture action. If we're already on the first or last page
and the panning ends, it's possible to get goToPage that's either
-1 or greater than the last page.

During normal usage, this isn't a problem, since the Y values will
be correct, always. But when panning, the Y values stick to the
finger, and thus if we return early, we won't snap to the exact page,
making it seem like things get "stuck".

Fix this the simple way by clamping to the correctly-ranged values
of pageNumber

https://bugzilla.gnome.org/show_bug.cgi?id=729064
2014-04-28 13:30:09 -04:00
..
components networkAgent: Handle empty vpn 'keyfiles' 2014-04-23 13:09:34 +02:00
status status: use consistent messages for network connections 2014-04-21 22:03:22 +02:00
altTab.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
animation.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
appDisplay.js appDisplay: Fix pages getting "stuck" under touch 2014-04-28 13:30:09 -04:00
appFavorites.js dash: reload favorites when the installed app change 2013-08-31 18:55:24 +02:00
background.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
backgroundMenu.js layout: Change setDummyCursorPosition to also set the size 2014-04-11 16:54:01 +02:00
boxpointer.js boxpointer: Add condition checks for -arrow-rise:0px 2014-01-15 18:28:31 +01:00
calendar.js calendar: Don't mark translations from GTK+ for translation 2014-04-27 02:06:27 +02:00
checkBox.js checkBox: Remove custom container implementation 2013-08-20 08:06:30 +02:00
ctrlAltTab.js Rework window / actor focus handling 2013-07-08 17:05:16 -04:00
dash.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
dateMenu.js Calendar: make current date label clickable 2014-03-05 16:40:56 +01:00
dnd.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
endSessionDialog.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
environment.js environment: Be more careful when hooking up style properties 2014-04-24 19:31:55 +02:00
extensionDownloader.js Use recommended quotes 2014-01-17 16:34:44 -05:00
extensionSystem.js extensionSystem: Add a gsettings key to disable version validation 2014-02-19 17:07:38 +01:00
focusCaretTracker.js Magnifier: don't listen for focus/tracker events if the magnifier is not active 2014-02-13 19:43:41 +01:00
grabHelper.js js: Use EVENT_PROPAGATE/EVENT_STOP constants in event handlers 2013-12-16 18:27:19 +01:00
ibusCandidatePopup.js layout: Change setDummyCursorPosition to also set the size 2014-04-11 16:54:01 +02:00
iconGrid.js iconGrid: Add a key-focus-in signal 2014-03-26 11:42:33 +01:00
keyboard.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
layout.js Fix typo 2014-04-15 23:35:06 +02:00
lightbox.js Lightbox: complete radial effect for modal dialogs 2014-03-11 17:14:07 +01:00
lookingGlass.js LookingGlass: Correct timeout usage 2014-04-10 21:08:49 +02:00
magnifier.js Magnifier: clip the UI group clone to the allocation 2014-02-13 19:43:44 +01:00
magnifierDBus.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
main.js If systemd is enabled send a message with MESSAGE_ID after gnome-shell has started in user mode 2014-04-28 18:49:44 +02:00
messageTray.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
modalDialog.js layout: Create a group for modal dialogs 2014-03-18 17:03:39 +01:00
notificationDaemon.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
osdWindow.js osdWindow: Fix setting a zero-level in osdWindow 2014-04-25 15:20:18 +02:00
overview.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
overviewControls.js messageTray: Remove transient sources 2013-12-04 20:25:28 -05:00
panel.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
panelMenu.js js: Use EVENT_PROPAGATE/EVENT_STOP constants in event handlers 2013-12-16 18:27:19 +01:00
pointerWatcher.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
popupMenu.js popupMenu: Use an image for arrows 2014-02-19 13:44:27 +01:00
remoteMenu.js popupMenu: Remove our custom allocation code 2013-08-13 06:50:25 -04:00
remoteSearch.js ShellApp+ShellGlobal: unify app launch context code 2014-01-19 18:51:48 +01:00
runDialog.js ShellApp+ShellGlobal: unify app launch context code 2014-01-19 18:51:48 +01:00
screencast.js Remove our custom hashmap implementation 2014-01-15 00:55:00 +01:00
screenShield.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
screenshot.js screenshot: Port to GrabHelper 2014-04-26 16:19:21 +02:00
scripting.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
search.js search: Make sure to destroy old provider displays when we unregister 2014-04-21 23:36:52 -04:00
separator.js js: Explicitly dispose all cairo contexts 2013-01-08 13:07:51 -05:00
sessionMode.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
shellDBus.js osdWindow: Show on all monitors 2014-04-17 15:15:14 +02:00
shellEntry.js js: Use EVENT_PROPAGATE/EVENT_STOP constants in event handlers 2013-12-16 18:27:19 +01:00
shellMountOperation.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
slider.js Slider: put imports in order 2014-02-05 19:36:50 +00:00
switcherPopup.js osdWindow: Show on all monitors 2014-04-17 15:15:14 +02:00
tweener.js tweener: Remove the onAnimationStart/onAnimationComplete callbacks 2013-11-09 11:44:44 -05:00
unlockDialog.js unlockDialog: Explicitly set horizontal alignment 2013-12-11 22:36:49 +02:00
userWidget.js UserWidget: replace vfunc_destroy override with a signal connection 2013-12-02 23:59:50 +01:00
viewSelector.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
windowAttentionHandler.js Use recommended quotes 2014-01-17 16:34:44 -05:00
windowManager.js windowManager: add switch-to-workspace-last keybinding 2014-04-16 21:45:14 +02:00
workspace.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
workspacesView.js workspacesView: Fix activating empty workspaces 2014-01-17 09:30:59 -05:00
workspaceSwitcherPopup.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
workspaceThumbnail.js workspaceThumbnails: Fix removal of multiple workspaces 2014-04-26 17:50:38 +02:00
xdndHandler.js Remove use of superfluous MetaWindowActor APIs 2013-12-16 12:48:53 -05:00