19544 Commits

Author SHA1 Message Date
Sebastian Keller
7fc7724e85 slider: Align handle size with with pixel grid
Since the handle radius is used to calculate the width and height of the
slider, having the calculated size be a non-integer value can cause the
following widgets in a box-like container to be unaligned with the pixel
grid, which can lead to blurriness or other visual issues.

This for example could be observed with the interface font set to
"Cantarell 12", which results in a handle radius of 8.278. In quick
settings when showing two consecutive sliders, the second slider then
gets rendered at a non-integer vertical offset.

Further having a non-integer size for a StDrawingArea can cause the
texture to get slightly squished or stretched as the size of the cairo
surface is rounded to the nearest pixel, but rendered using the
unrounded actor size.

This commit changes the border radius rather than ceiling the preferred
width/height so that the handle size always matches the width or height
of the widget and there are no visual gaps caused by a partially filled
pixel.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3648>
2025-04-28 15:52:14 +00:00
Sebastian Keller
ad0d94a233 slider: Use correct handle size when calculating rightmost position
Using the ceiled radius for calculating the rightmost position the
handle can take on the slider was resulting in a small gap when the size
was not an integer value since the radius used when drawing the handle
is not ceiled.

This effectively reverts 38da479e which seems to have been the wrong fix
for the problem it was trying to solve. The problem presumably had been
caused by not considering the border that the handle still had at that
time.

The border issue was then later fixed by 3ddae9d8, without reverting
38da479e. Then in 6fd0aac8 support for drawing borders on the slider got
dropped, including the changes from 3ddae9d8, leaving us with just the
changes from 38da479e but now without borders on the handle.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8187
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3648>
2025-04-28 15:52:14 +00:00
Florian Müllner
393b05e1be Revert "ci: Disable container building temporarily"
gitlab.freedesktop.org is back, so we can re-enable the
jobs that depend on it.

This reverts commit fccd7f97c3077514ccf20992daeeb29af3f61c53.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3673>
2025-04-28 15:52:14 +00:00
Florian Müllner
f47ef5e6a0 Revert "ci: Disable sysext temporarily"
gitlab.freedesktop.org is back, so we can re-enable the
jobs that depend on it.

This reverts commit 313d71249cc869bf19e12974dacb72a6d7006b65.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3673>
2025-04-28 15:52:14 +00:00
Daniel Mustieles
bf17bf365b Updated Spanish translation 2025-04-28 15:52:14 +00:00
Vasil Pupkin
1254d940e6 Add Belarusian (Latin) translation 2025-04-28 15:52:14 +00:00
7f0d4d91b9 API changes for GNOME 48 2025-04-28 15:48:54 +00:00
c47b061e59 Fixes label scaling problem that causes giant labels to appear 2025-04-07 13:52:58 +00:00
fafe56b0bb Fix compile failure 2025-04-07 13:52:58 +00:00
69e1602a94 sync adjustment to current active workspace
In case the workspace context has changed
2025-04-07 13:52:58 +00:00
05033e0c51 Remove realm search provider. It sux. 2025-04-07 13:52:58 +00:00
661e293434 Replace window realm frame decorations with nicer label decorations 2025-04-07 13:52:58 +00:00
ee57f6de95 Implement 'detached' workspace context
There is always at least one workspace context which is the context
that is currently being used by the GNOME desktop. If no running realm
is associated with this context then we consider this context to be
'detached' and store it so that the next time a context is needed to
attach to a running realm, this 'detached' context will be used rather
than asking mutter to create a new fresh context.
2025-04-07 13:52:58 +00:00
5352b200d6 Use ClutterColor instead of GdkRGBA 2025-04-07 13:52:58 +00:00
caf601b2a8 COGL API changes 2025-04-07 13:52:58 +00:00
a0c4fedee5 1) fix restacking log warning 2) use connectObject API 2025-04-07 13:52:58 +00:00
ac7335af65 Update indicator on current-realm property change
...even if WorkspaceContext does not change.
2025-04-07 13:52:58 +00:00
c254a7391c don't use deprecated clutter container api 2025-04-07 13:52:58 +00:00
e63283cb89 Need gtk/gdk for realm window frames 2025-04-07 13:52:58 +00:00
22cb8cd311 Convert to use ESM modules
See: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499
2025-04-07 13:52:58 +00:00
9a32a113b2 Refactor how workspaces are tracked upon workspace context change. 2025-04-07 13:52:55 +00:00
b92df61f50 Change to use Promise API instead of callbacks 2025-04-07 13:51:03 +00:00
2d3d55634f Use connectObject() and adopt to style in search.js 2025-04-07 13:51:03 +00:00
a48171ffd0 Avoid negative page values 2025-04-07 13:51:03 +00:00
a5e83b2d55 Map windows to realms by calling realmsd pid lookup method 2025-04-07 13:49:08 +00:00
b5d28b2e9a Don't display label on full-screen windows 2025-04-07 13:46:36 +00:00
34eb77db93 Ensure that Main.overview._overview exists before accessing it. 2025-04-07 13:46:36 +00:00
f675f95c67 Citadel changes to gnome-shell 2025-04-07 13:46:32 +00:00
Florian Müllner
a2ffd14a35
Bump version to 48.0
Update NEWS.
2025-03-16 15:30:51 +01:00
Irénée THIRION
062e63581b Update French translation 2025-03-16 14:01:34 +00:00
Florian Müllner
e6e9822d8c screenshot: Close overview/calendar when activating notification
While the notifications are transient, they still appear in the
message list while the banner is shown, and can be activated
there.

The expected behavior in that case is that we close the calendar
popup and/or leave the overview.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8246

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3667>
2025-03-16 13:44:03 +00:00
Jonas Ådahl
313d71249c ci: Disable sysext temporarily
It fails due to gitlab.freedesktop.org being down.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3670>
2025-03-16 21:12:39 +08:00
Jonas Ådahl
fccd7f97c3 ci: Disable container building temporarily
The freedesktop.org GitLab is undergoing extensive migration, so to
unblock our CI, disable container building using ci-templates for now.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3670>
2025-03-16 21:12:12 +08:00
Cas Pascal
0cdd6af74c Update Vietnamese translation 2025-03-16 07:28:42 +00:00
Florian Müllner
2bff2e5a00 status/bluetooth: Disconnect device signals on destroy
Devices may outlive the corresponding menu item, for example on
shutdown. Make sure that signals are disconnected correctly in
that case to avoid warnings.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8223
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3669>
2025-03-16 02:27:58 +01:00
Bruce Cowan
3a452a6b5a Update British English translation 2025-03-15 19:54:24 +00:00
A S Alam
ef1b9a9d49 Update Punjabi translation 2025-03-14 21:52:54 +00:00
Daniel van Vugt
52c2b0e507 keyboard: Silence 'Need keyval or commitString' error
Because it's not an error if the key has a GUI action that is not
a key or commit.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7483
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3664>
2025-03-14 16:51:04 +00:00
Brage Fuglseth
c69c4e0f92 Update Norwegian Bokmål translation 2025-03-13 08:01:36 +00:00
Laria Carolin Chabowski
32bff01780 style: Improve audio selection button icons/text contrast
They were white on not-quite-white before in light mode. Now the button
contents can be seem more easily.

See <https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8236>

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3665>
2025-03-12 08:53:07 +00:00
Andika Triwidada
4d31912fa5 Update Indonesian translation 2025-03-11 13:00:44 +00:00
Yosef Or Boczko
7ee8bba790 Update Hebrew translation 2025-03-10 19:36:43 +00:00
Sabri Ünal
a7a70a0d3a Update Turkish translation 2025-03-09 21:00:47 +00:00
Anders Jonsson
97c9158166 Update Swedish translation 2025-03-09 20:38:13 +00:00
Asier Saratsua Garmendia
da3622ce3f Update Basque translation 2025-03-09 09:17:17 +00:00
Ask Hjorth Larsen
b4cab1783c Update Danish translation 2025-03-09 01:09:58 +00:00
Aurimas Černius
d1229dbed8 Update Lithuanian translation 2025-03-08 20:14:17 +00:00
Fran Dieguez
e2590bfb0b Update Galician translation 2025-03-08 16:34:51 +00:00
Jordi Mas i Hernandez
d4ec3537a9 Update Catalan translation 2025-03-08 12:05:43 +00:00
Quentin PAGÈS
ca57dcba49 Update Occitan translation 2025-03-08 00:05:35 +00:00