gnome-shell/js/ui
Jonas Dreßler 87e4bf52b7 windowPreview: Fix a division by zero
When the bounding box size is 0 during allocation (which happens right
after creating a window for example), we're doing a division by zero and
end up with a NaN scale. This ends up making the childBox NaN, which
triggers an error in Clutters allocation machinery.

So fix that and fall back to a scale of 1 in case the bounding box is
empty.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1320
2020-06-23 15:50:03 +00:00
..
components cleanup: Don't linebreak before closing parentheses 2020-04-28 09:04:49 +00:00
status volume: Update indicator when microphone volume changes 2020-06-23 11:34:16 +02:00
accessDialog.js
altTab.js Remove ClutterAllocationFlags 2020-05-20 15:12:03 +02:00
animation.js animation: Set size through CSS 2020-04-06 11:24:30 -03:00
appDisplay.js appDisplay: Compare indicator and grid pages 2020-06-18 10:54:31 -03:00
appFavorites.js appFavorites: Add eog to rename list 2020-05-02 00:16:28 +02:00
audioDeviceSelection.js cleanup: Don't linebreak before closing parentheses 2020-04-28 09:04:49 +00:00
background.js background: Adapt to MetaBackgroundContent 2020-06-09 20:10:52 +00:00
backgroundMenu.js
barLevel.js js: Listen to notify::allocation instead of allocation-changed 2020-05-20 15:12:36 +02:00
boxpointer.js Remove ClutterAllocationFlags 2020-05-20 15:12:03 +02:00
calendar.js messageList: Remove setDate() method 2020-06-06 01:04:09 +02:00
checkBox.js
closeDialog.js
ctrlAltTab.js
dash.js Remove ClutterAllocationFlags 2020-05-20 15:12:03 +02:00
dateMenu.js dateMenu: Add "Events" section 2020-06-06 01:04:09 +02:00
dialog.js
dnd.js dnd: Set drag actor position immediately after reparenting 2020-06-17 10:47:50 +02:00
edgeDragAction.js
endSessionDialog.js
environment.js environment: Add Math.clamp 2020-06-03 12:55:53 -03:00
extensionDownloader.js extensionDownloader: Replace deprecated Soup.SessionAsync 2020-05-14 19:43:56 +00:00
extensionSystem.js extensionSystem: Don't log error name 2020-05-21 21:45:04 +00:00
focusCaretTracker.js
grabHelper.js
ibusCandidatePopup.js
iconGrid.js appDisplay: Move child focus handling to IconGrid 2020-06-18 10:30:12 -03:00
inhibitShortcutsDialog.js
kbdA11yDialog.js
keyboard.js Remove ClutterAllocationFlags 2020-05-20 15:12:03 +02:00
layout.js js: Listen to notify::allocation instead of allocation-changed 2020-05-20 15:12:36 +02:00
lightbox.js cleanup: Don't linebreak before closing parentheses 2020-04-28 09:04:49 +00:00
locatePointer.js
lookingGlass.js lookingGlass: Add actor tree inspector 2020-06-02 12:44:21 -03:00
magnifier.js cleanup: Don't linebreak before closing parentheses 2020-04-28 09:04:49 +00:00
magnifierDBus.js
main.js main: Unset the right prevFocus actor after the focus stack got shifted 2020-04-29 12:40:13 +02:00
messageList.js messageList: Remove setDate() method 2020-06-06 01:04:09 +02:00
messageTray.js Remove ClutterAllocationFlags 2020-05-20 15:12:03 +02:00
modalDialog.js
mpris.js calendar: Don't restrict section visibility by date 2020-06-06 01:04:09 +02:00
notificationDaemon.js notificationDaemon: Try harder to find a matching app 2020-06-02 23:17:24 +00:00
osdMonitorLabeler.js
osdWindow.js
overview.js overview: Adapt to MetaBackgroundContent 2020-06-09 20:10:52 +00:00
overviewControls.js Remove ClutterAllocationFlags 2020-05-20 15:12:03 +02:00
padOsd.js padOsd: Apply specific CSS to Button/Leader SVG classes 2020-05-29 18:06:48 +00:00
pageIndicators.js pageIndicator: Add getter for current number of pages 2020-06-18 10:54:31 -03:00
panel.js Remove ClutterAllocationFlags 2020-05-20 15:12:03 +02:00
panelMenu.js Remove ClutterAllocationFlags 2020-05-20 15:12:03 +02:00
pointerA11yTimeout.js
pointerWatcher.js
popupMenu.js
remoteSearch.js
ripples.js
runDialog.js
screencast.js
screenShield.js screenShield: Don't inhibit suspend during initial setup 2020-04-24 23:47:31 +00:00
screenshot.js screenshot: Properly clean up if PickColor() is cancelled 2020-05-29 00:52:33 +02:00
scripting.js
search.js search: Remove usage of allocation flags 2020-05-22 10:18:24 +00:00
sessionMode.js
shellDBus.js
shellEntry.js
shellMountOperation.js cleanup: Don't linebreak before closing parentheses 2020-04-28 09:04:49 +00:00
slider.js
swipeTracker.js environment: Add Math.clamp 2020-06-03 12:55:53 -03:00
switcherPopup.js Remove ClutterAllocationFlags 2020-05-20 15:12:03 +02:00
switchMonitor.js
unlockDialog.js unlockDialog: Set Switch User Button via _updateUserSwitchVisibility 2020-06-10 23:02:55 +08:00
userWidget.js Remove ClutterAllocationFlags 2020-05-20 15:12:03 +02:00
viewSelector.js viewSelector: Make sure it's invisible when overview is hidden 2020-06-03 12:55:45 -03:00
windowAttentionHandler.js
windowManager.js windowManager: Support prepending workspace with horizontal layouts 2020-06-20 08:15:44 +00:00
windowMenu.js
windowPreview.js windowPreview: Fix a division by zero 2020-06-23 15:50:03 +00:00
workspace.js workspace: Split WindowPreview into a separate file 2020-06-16 14:13:02 +02:00
workspacesView.js workspacesView: Only animate on show() when geometries are already set 2020-06-14 14:44:10 +00:00
workspaceSwitcherPopup.js Remove ClutterAllocationFlags 2020-05-20 15:12:03 +02:00
workspaceThumbnail.js workspace: Stop using WindowPreview.realWindow in the overview 2020-06-16 14:10:01 +02:00
xdndHandler.js shell/global: Add 'backend' property 2020-04-27 15:18:18 +00:00