Jonas Dreßler
8f0e9abe47
iconGrid: Make sure the style is updated before computing the layout
...
In some cases the style-changed signal hasn't been emitted when
_computeLayout() is called, resulting in the use of the default spacing
and item size values for the calculations.
One case where this happens is when starting a search. Right after the
initialization of GridSearchResults, _computeLayout() is called from
_getMaxDisplayedResults() and the style-changed signal hasn't been
emitted yet. The computed layout will be wrong and the maximum
number of results will also be wrong.
To prevent this from happening, make sure the style has been updated
before doing the calculations in _computeLayout().
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/110
2019-07-15 23:00:34 +00:00
..
2019-07-12 18:54:49 +00:00
2019-07-12 23:24:35 +02:00
2019-07-05 11:32:31 +00:00
2019-07-02 12:17:46 +00:00
2019-07-01 23:44:11 +02:00
2019-07-12 18:54:49 +00:00
2019-07-05 11:32:31 +00:00
2019-07-05 11:32:31 +00:00
2019-07-02 12:17:46 +00:00
2019-07-12 18:54:49 +00:00
2019-07-02 12:17:46 +00:00
2019-07-12 18:54:49 +00:00
2019-07-01 23:44:11 +02:00
2019-07-02 12:17:46 +00:00
2019-07-02 12:17:46 +00:00
2019-07-02 12:17:46 +00:00
2019-07-12 18:54:49 +00:00
2019-07-02 12:17:46 +00:00
2019-07-02 12:17:46 +00:00
2019-07-08 20:15:15 +02:00
2019-07-05 11:32:31 +00:00
2019-07-05 11:32:31 +00:00
2019-07-05 11:32:31 +00:00
2019-07-05 11:32:31 +00:00
2019-07-01 21:28:52 +00:00
2019-07-02 12:17:46 +00:00
2019-07-15 23:00:34 +00:00
2019-07-01 21:28:52 +00:00
2019-07-02 12:17:46 +00:00
2019-07-12 18:54:49 +00:00
2019-07-01 23:44:11 +02:00
2019-07-05 11:32:31 +00:00
2019-07-05 11:32:31 +00:00
2019-07-05 11:32:31 +00:00
2019-07-05 11:32:31 +00:00
2019-07-12 18:54:49 +00:00
2019-07-12 18:54:49 +00:00
2019-07-02 12:17:46 +00:00
2019-07-05 11:32:31 +00:00
2019-07-05 11:32:31 +00:00
2019-07-02 12:17:46 +00:00
2019-07-12 18:54:49 +00:00
2019-07-02 12:17:46 +00:00
2019-07-02 12:17:46 +00:00
2019-07-05 11:32:31 +00:00
2019-07-12 18:54:49 +00:00
2019-07-01 23:44:11 +02:00
2019-07-02 12:17:46 +00:00
2019-07-05 11:32:31 +00:00
2019-07-05 11:32:31 +00:00
2019-07-02 12:17:46 +00:00
2019-07-05 11:32:31 +00:00
2019-07-05 11:32:31 +00:00
2019-07-02 12:17:46 +00:00
2019-07-05 11:32:31 +00:00
2019-07-15 23:00:34 +00:00
2019-07-01 23:44:11 +02:00
2019-07-15 11:18:29 +02:00
2019-07-02 12:17:46 +00:00
2019-07-05 11:32:31 +00:00
2019-07-01 23:44:11 +02:00
2019-07-02 12:17:46 +00:00
2019-07-01 23:44:11 +02:00
2019-07-05 11:32:31 +00:00
2019-07-01 23:44:10 +02:00
2019-07-02 12:17:46 +00:00
2019-07-02 12:17:46 +00:00
2019-07-09 14:46:36 +02:00
2019-07-10 21:41:58 +00:00
2019-07-12 16:48:03 +02:00
2019-07-02 12:17:46 +00:00
2019-07-09 14:41:35 +02:00
2019-07-03 16:37:15 +02:00