gnome-shell/js/ui
Carlos Soriano 9970671bb1 Search: Don't use IconGrid width for maxDisplayedResults
Currently to know how many results we could show for GridResults
we use the width of the bin containing those results. Since it's
expanding it shouldn't be a problem. But it becomes a problem when
no results are displayed, thus the container becomes hidden and
it losts its allocation.
In the next introduction of terms in search we call again
maxDisplayedResults but it doesn't have allocation yet, and therefore no
results are displayed (currently a bug on IconGrid makes the min size =
one icon, so actually we show one and only one icon in this case).

To solve that use the parent container which contains the search results
of all providers or the text label with not displayed results, so it
always have the real available width to calculate maxDisplayedResults.

Thanks Alban Browaeys for the debugging footwork.

https://bugzilla.gnome.org/show_bug.cgi?id=732416
2014-07-19 18:12:43 +02:00
..
components networkAgent: Fix layout for RTL locales 2014-06-24 23:37:35 +02:00
status NetworkManager: show portal logins when required 2014-06-26 19:55:02 +02:00
altTab.js js: Adapt to GSettings API change 2014-06-24 15:17:09 -04:00
animation.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
appDisplay.js appDisplay: Move focus to popup only when necessary 2014-07-17 20:41:24 +02:00
appFavorites.js dash: reload favorites when the installed app change 2013-08-31 18:55:24 +02:00
background.js background: fix early destroy of SystemBackground 2014-06-26 19:20:17 +02:00
backgroundMenu.js backgroundMenu: Release the click gesture if a grab operation begun 2014-07-08 12:01:43 -04:00
boxpointer.js boxpointer: Add condition checks for -arrow-rise:0px 2014-01-15 18:28:31 +01:00
calendar.js calendar: Fix events for RTL locales 2014-06-24 23:37:34 +02:00
checkBox.js checkBox: Remove custom container implementation 2013-08-20 08:06:30 +02:00
ctrlAltTab.js ui: Adapt to display.get_tab_list API change 2014-06-03 14:52:18 +02:00
dash.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
dateMenu.js dateMenu: Fix style 2014-06-16 15:10:36 -04: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 a11y: initialize atspi on demand 2014-06-20 14:32:55 +02:00
grabHelper.js js: Use EVENT_PROPAGATE/EVENT_STOP constants in event handlers 2013-12-16 18:27:19 +01:00
ibusCandidatePopup.js ibusCandidatePopup: Fix default candidate index labels 2014-07-08 11:31:15 +02:00
iconGrid.js IconGrid: calculate icon size only once 2014-06-18 00:04:34 +02:00
keyboard.js js: Adapt to GSettings API change 2014-06-24 15:17:09 -04:00
layout.js Add support for meta_restart() and MetaDisplay::restart 2014-07-16 18:04:19 -04:00
lightbox.js Lightbox: complete radial effect for modal dialogs 2014-03-11 17:14:07 +01:00
lookingGlass.js js: Adapt to GSettings API change 2014-06-24 15:17:09 -04:00
magnifier.js js: Adapt to GSettings API change 2014-06-24 15:17:09 -04:00
magnifierDBus.js Stringify the xml definitions for E4X removal 2013-10-25 08:57:27 +11:00
main.js Add support for meta_restart() and MetaDisplay::restart 2014-07-16 18:04:19 -04:00
messageTray.js js: Adapt to GSettings API change 2014-06-24 15:17:09 -04:00
modalDialog.js Add support for meta_restart() and MetaDisplay::restart 2014-07-16 18:04:19 -04:00
notificationDaemon.js notificationDaemon: Group tray icon stuff together 2014-07-08 15:39:46 -04:00
osdWindow.js osdWindow: Check monitor validity before updating 2014-05-08 11:14:23 +02:00
overview.js overview: Remove wrong comment 2014-07-14 22:05:51 +02:00
overviewControls.js overviewControls: Adjust heuristic for hiding workspace switcher 2014-04-30 18:06:52 +02:00
panel.js panel: Fix style 2014-07-08 15:38:35 -04:00
panelMenu.js panelMenu: Clean up code a bit 2014-06-08 22:25:27 +02:00
pointerWatcher.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
popupMenu.js popupMenu: Fix last commit 2014-06-24 14:37:08 -04:00
remoteMenu.js popupMenu: Remove our custom allocation code 2013-08-13 06:50:25 -04:00
remoteSearch.js js: Adapt to GSettings API change 2014-06-24 15:17:09 -04:00
runDialog.js Mark a string to be translatable 2014-07-17 09:48:26 +03:00
screencast.js Remove our custom hashmap implementation 2014-01-15 00:55:00 +01:00
screenShield.js js: Adapt to GSettings API change 2014-06-24 15:17:09 -04:00
screenshot.js screenshot: Scale and unscale the area for HiDpi displays 2014-06-17 21:22:35 +02:00
scripting.js shell-perf-helper: Add an option for continual redraws 2014-07-16 10:33:59 -04:00
search.js Search: Don't use IconGrid width for maxDisplayedResults 2014-07-19 18:12:43 +02:00
separator.js js: Explicitly dispose all cairo contexts 2013-01-08 13:07:51 -05:00
sessionMode.js sessionMode: Don't set overridesSchema 2014-06-09 22:39:15 +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 switcherPopup: Add a return value to _keyPressHandler 2014-05-26 15:55:37 +02:00
tweener.js tweener: Remove the onAnimationStart/onAnimationComplete callbacks 2013-11-09 11:44:44 -05:00
unlockDialog.js js: Adapt to GSettings API change 2014-06-24 15:17:09 -04:00
userWidget.js UserWidget: replace vfunc_destroy override with a signal connection 2013-12-02 23:59:50 +01:00
viewSelector.js viewSelector: Going to the apps grid is a swipe from the left, not right 2014-07-14 14:02:46 -04:00
windowAttentionHandler.js Use recommended quotes 2014-01-17 16:34:44 -05:00
windowManager.js windowManager: Switch the focused application on 3-finger hold + tap 2014-07-08 12:06:14 -04:00
windowMenu.js windowMenu: Do a better job with faking the source actor 2014-06-02 23:48:53 +02:00
workspace.js overview: Avoid repositioning windows while returning to desktop 2014-07-07 17:37:24 +02:00
workspacesView.js WorkspacesView: don't access the allocation 4 times 2014-06-26 19:20:17 +02:00
workspaceSwitcherPopup.js js: Name all the timeouts and idles 2014-04-10 21:08:16 +02:00
workspaceThumbnail.js js: Adapt to GSettings API change 2014-06-24 15:17:09 -04:00
xdndHandler.js Remove use of superfluous MetaWindowActor APIs 2013-12-16 12:48:53 -05:00