gnome-shell/js/ui
Sebastian Keller 5fa6996210 appDisplay: Schedule relayout after adaptToSize on app folder icon grid
AppFolderDialog was calling adaptToSize from its alloc vfunc, which
changed the spacing of the icon grid after its size used to calculate
the adjustment for scrolling had already been determined. This was
resulting in the app folder not being able to scroll all the way to the
end the first time it has been opened.

Fix this by scheduling a relayout. This however can not be done
immediately after the adaptToSize call on the iconGrid, because this is
called from within an alloc vfunc. So instead use Meta.later_add to
ensure it gets called after the alloc, but before the next redraw.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2535
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1378
2020-08-08 11:31:06 +00:00
..
components polkitAgent: Reset the session request timeout when removing it 2020-04-17 16:59:38 +00:00
status status: Pass scroll events to volume and brightness sliders 2020-07-07 20:59:09 +02:00
accessDialog.js js: Don't use templates in files with translations 2020-02-17 23:20:40 +01:00
altTab.js altTab: Remove down arrow when removing an app from switcher 2020-07-07 20:59:09 +02:00
animation.js animation: Set size through CSS 2020-04-06 14:37:35 -03:00
appDisplay.js appDisplay: Schedule relayout after adaptToSize on app folder icon grid 2020-08-08 11:31:06 +00:00
appFavorites.js appFavorites: Add eog to rename list 2020-05-01 22:42:55 +00:00
audioDeviceSelection.js js: Don't use templates in files with translations 2020-02-17 23:20:40 +01:00
background.js background: Mark pattern backgrounds as loaded 2020-07-30 16:52:39 +02:00
backgroundMenu.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
barLevel.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
boxpointer.js boxpointer: Call set_allocation before allocating child 2020-04-28 16:24:05 +00:00
calendar.js calendar-server: Improve performance by properly using ECalClientView 2020-06-28 01:41:18 +02:00
checkBox.js checkbox: Improve accessibility of check boxes for Orca users 2020-03-29 12:56:33 +00:00
closeDialog.js closeDialog: Remove transitions before resetting dialog 2020-03-23 15:27:47 +00:00
ctrlAltTab.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
dash.js Revert "js/ui: Use Clutter.OffscreenRedirect.ON_IDLE" 2020-02-26 11:54:54 +08:00
dateMenu.js dateMenu: Do not ellipsize clock 2020-07-07 20:59:09 +02:00
dialog.js dialog: Return GLib.SOURCE_REMOVE instead of false 2020-07-07 20:59:09 +02:00
dnd.js dnd: Make DND translation-property-aware 2020-02-07 14:43:56 +00:00
edgeDragAction.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
endSessionDialog.js Revert "endSessionDialog: apply updates by default" 2020-04-29 19:51:05 +00:00
environment.js environment: Move g_dbus_connection_call() promisification 2020-04-03 02:03:18 +00:00
extensionDownloader.js extensionDownloader: Fix check for updates with several extensions 2020-07-16 00:33:27 +00:00
extensionSystem.js extensionSystem: Prevent broken updates 2020-06-03 01:37:39 +02:00
focusCaretTracker.js cleanup: Prefer template strings 2019-07-05 11:32:31 +00:00
grabHelper.js grabHelper: Add (promised-based) grabAsync() 2019-12-20 15:41:32 +01:00
ibusCandidatePopup.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
iconGrid.js iconGrid: Account for non-icon content and padding/spacing when scaling 2020-07-20 18:11:09 +00:00
inhibitShortcutsDialog.js inhibitShortcutsDialog: Enable line wrapping for additional label 2020-07-07 20:59:09 +02:00
kbdA11yDialog.js ui: Use ClutterSeat for keyboard/pointer a11y 2020-01-30 17:49:08 +00:00
keyboard.js keyboard: Fix missing key icons in numeric level 2020-07-20 01:37:55 +02:00
layout.js Delay login animation until after wallpaper has loaded 2020-07-22 03:57:25 +02:00
lightbox.js lightbox: Change vignette brightness to 0.5 2020-01-19 18:01:57 +01:00
locatePointer.js locatePointer: Bind ripples creation to settings 2019-09-09 19:28:18 +00:00
lookingGlass.js js: Add missing chain-ups in vfuncs 2020-03-27 10:39:58 +01:00
magnifier.js magnifier: Use inhibit-unfocus API to keep wayland focus while hidden 2020-02-24 10:31:08 +00:00
magnifierDBus.js cleanup: Use JSDoc for documentation comments 2019-11-11 19:25:14 +00:00
main.js main: Unset the right prevFocus actor after the focus stack got shifted 2020-04-29 17:36:06 +00:00
messageList.js js: Add missing chain-ups in vfuncs 2020-03-27 10:39:58 +01:00
messageTray.js messageTray: Add missing property getter 2020-05-04 14:34:24 +00:00
modalDialog.js switcherPopup: Dismiss when a system modal dialog opens 2019-12-06 19:55:39 +01:00
mpris.js mpris: Prevent DBus race when creating media players 2020-05-13 18:00:55 +00:00
notificationDaemon.js notificationDaemon: Try harder to find a matching app 2020-06-02 23:33:48 +00:00
osdMonitorLabeler.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
osdWindow.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
overview.js overview: Define ANIMATION_TIME earlier 2020-06-24 16:03:41 +02:00
overviewControls.js overviewControls: Animate sidebars the same duration as windows 2020-06-23 21:21:52 +02:00
padOsd.js padOsd: Apply specific CSS to Button/Leader SVG classes 2020-05-29 20:26:57 +02:00
pageIndicators.js pageIndicators: Redesign and add position-based animation 2019-11-23 03:01:51 +05:00
panel.js panel: Center app icon 2020-05-07 13:10:26 +00:00
panelMenu.js cleanup: Avoid unnecessary parentheses 2019-11-11 19:25:14 +00:00
pointerA11yTimeout.js ui: Use ClutterSeat for keyboard/pointer a11y 2020-01-30 17:49:08 +00:00
pointerWatcher.js cleanup: Stop using Mainloop module 2019-09-12 19:09:24 +02:00
popupMenu.js popupMenu: Handle keypress if numlock is enabled 2020-07-21 17:42:52 +02:00
remoteSearch.js remoteSearch: Fix typos in log messages 2020-03-23 13:40:39 -03:00
ripples.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
runDialog.js js: Don't use templates in files with translations 2020-02-17 23:20:40 +01:00
screencast.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
screenShield.js screenShield: Wake up on deactivate() 2020-04-03 15:09:24 +00:00
screenshot.js screenshot: Properly clean up if PickColor() is cancelled 2020-05-29 10:46:13 +02:00
scripting.js perf-tool: Spawn perf-tool-helper from gnome-shell 2020-01-27 13:43:06 +00:00
search.js js: Don't use templates in files with translations 2020-02-17 23:20:40 +01:00
sessionMode.js main: Get the theme resource name from sessionMode 2020-03-06 19:09:25 +00:00
shellDBus.js extensionSystem: Add method for opening extension prefs 2020-04-03 16:58:15 +02:00
shellEntry.js shellEntry: Restore natural-height-set instead of forcing it 2020-02-22 16:58:01 +00:00
shellMountOperation.js js: Do not set entries' ClutterText:editable property 2020-03-29 22:12:57 +02:00
slider.js js: Add missing chain-ups in vfuncs 2020-03-27 10:39:58 +01:00
swipeTracker.js js/ui: Subscribe touchpad gesture handlers to only touchpad events 2020-02-29 13:39:17 +00:00
switcherPopup.js switcherPopup: Use correct scroll-direction property 2020-02-26 22:46:51 +00:00
switchMonitor.js switchMonitor: Center align switcher icon's label 2020-01-02 13:03:08 +05:30
tweener.js tweener: Use new adjustAnimationTime() helper 2019-08-06 20:50:43 +02:00
unlockDialog.js unlockDialog: Fix scale-factor handling on multihead 2020-06-30 15:42:30 +02:00
userWidget.js userWidget: Always set actor size inside update() 2020-02-18 22:10:00 +00:00
viewSelector.js js/ui: Subscribe touchpad gesture handlers to only touchpad events 2020-02-29 13:39:17 +00:00
windowAttentionHandler.js messageTray: Don't create notification policy on demand 2020-03-26 18:52:10 +00:00
windowManager.js windowManager: Allow xwayland startup to complete without systemd 2020-05-13 19:51:09 +02:00
windowMenu.js cleanup: Avoid unnecessary parentheses in arrow functions 2019-09-15 16:02:45 +02:00
workspace.js workspace: Fix chaining up 2020-04-03 15:47:01 +02:00
workspacesView.js Revert "workspacesView: Avoid setting invalid geometries on views" 2020-07-22 20:07:49 +02:00
workspaceSwitcherPopup.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00
workspaceThumbnail.js workspaceThumbnail: Sync indicator with WorkspacesDisplay 2020-01-08 23:07:08 +01:00
xdndHandler.js cleanup: Require "dangling" commas 2019-11-11 19:25:14 +00:00