gnome-shell:gtk3-ci

Last commit made on 2020-04-06
Get this branch:
git clone -b gtk3-ci https://git.launchpad.net/gnome-shell

Branch merges

Branch information

Name:
gtk3-ci
Repository:
lp:gnome-shell

Recent commits

a678369... by Georges Basile Stavracas Neto

animation: Set size through CSS

Pretty much the same case of the previous commit: we want this size
to be scale-dependant, and using the width and height properties of
ClutterActor doesn't automatically update.

Use CSS to set the width and height.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1176

1c27b68... by Georges Basile Stavracas Neto

appDisplay: Set the folder icon geometry through CSS

The CSS engine is scale-aware, whereas simply setting the
width and height properties directly isn't.

Use CSS to set the folder icon.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1176

717c05a... by Georges Basile Stavracas Neto

st/theme-node: Use the node's scale factor

Each node stores the scale factor in place when it was created.
Creating nodes with the same style, but with different scale
factors, yields different nodes.

Use the node's scale factor instead of retrieving the context's
one.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1176

e68604b... by Georges Basile Stavracas Neto

st/theme-node: Consider scale factor when comparing

The CSS engine of St is scale-aware, which means every length
and size it produces is multiplied by the current scale factor.

However, the individual nodes aren't aware of the scale factor
when they compare to each other.

Store and compare the scale factors in the nodes themselves.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1635

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1176

0368ad2... by Georges Basile Stavracas Neto

st/theme-context: Add a getter for the scale-factor property

Will be used by the next commit to avoid going through the GObject
machinery when retrieving the scale factor.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1176

b982ce3... by =?utf-8?q?Jonas_Dre=C3=9Fler?= <email address hidden>

shell-app: Use container widget for fallback X11 app icons

Just like StIcon does, we should use a container widget for the fallback
app icon that we get using the cairo surface property. It's needed
because the widget returned by shell_app_create_icon_texture() can be
resized freely, while we want the aspect ratio of the actual texture to
remain the same.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2578

(cherry picked from commit 85846d88f034a605f6cb0aa013f2ab80e2f760bd)

025647f... by =?utf-8?q?Jonas_Dre=C3=9Fler?= <email address hidden>

st/theme-context: Also invalidate root node on stylesheet changes

Since commit 6a42d7726119c538d260e54cdbe2f31e5fbeb03c we invalidate the
cached properties for each theme node on stylesheet changes by iterating
over the hashtable of the theme context instead of listening to the
signal in each individual theme node.

That commit forgot one particular node though that's not stored in the
hashtable, but using the `priv->root_node` property instead: The theme
node that belongs to the stage.

So make sure we also invalidate the cached properties of the stage theme
node on stylesheet changes. This fixes various crashes that happened
with extensions providing custom stylesheets (emitting the
"custom-stylesheets-changed" signal on every extension enable/disable),
trying to access an already freed CSS property of the stage.

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2584

(cherry picked from commit bc973b80d77ba36e29fbeba27a2bed9e2ea6cf09)

7125b72... by =?utf-8?q?Florian_M=C3=BCllner?= <email address hidden>

data: Add extension-portal desktop file

Now that the extension preference dialog is opened by a separate
D-Bus service rather than the Extensions app, it can be opened
without a parent window that provides name and icon.

Fix this by adding back a hidden .desktop file.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2562

(cherry picked from commit 6b7c85b0797b8cbac96cc5152b94c4728fbeeb73)

aebfab7... by =?utf-8?q?Florian_M=C3=BCllner?= <email address hidden>

extensions-app: Add category in .desktop file

Predefined categories aren't a great way for organizing installed
applications, but they have their use in "stores" like Software
or flathub.

Not listing any category means we fall through the cracks, so
pick the (hopefully) least inappropriate one ...

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1160

(cherry picked from commit 360f5b16421d026715c9c57cc4af6ea6e2749210)

698bd5b... by =?utf-8?q?Jonas_Dre=C3=9Fler?= <email address hidden>

st/icon: Use a static GIcon for the missing-image icon

Don't create a new GIcon for the "missing-image" texture but simply
create it once statically instead and always use that.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1179

(cherry picked from commit 1ca39e858699d171c2cccd610c95fa537fd9dda7)