18570 Commits

Author SHA1 Message Date
Julian Sparber
2bbe03c473 status/thunderbolt: Fix small mistake
After introducing the system source this mistake was introduced.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3188>
2024-02-13 16:02:56 +01:00
Sabri Ünal
1db3ff301d Update Turkish translation 2024-02-13 13:09:25 +00:00
Carlos Garnacho
412081a689 magnifier: Keep accounting of own cursor unfocus inhibition
Do not rely on global state since there may be more users of it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3028>
2024-02-13 11:49:28 +00:00
Carlos Garnacho
14db121ce5 st: Adapt to ClutterGrab becoming a GObject
Change the unref function, since it's no longer a boxed type.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3028>
2024-02-13 11:49:28 +00:00
Marek Černocký
b8db538b44 Update Czech translation 2024-02-13 10:11:39 +00:00
Danial Behzadi
69ec2156bf Update Persian translation 2024-02-12 16:45:18 +00:00
Florian Müllner
a27ba309dd tools/toolbox: Expose --reconfigure meson flag
It turns out that nowadays meson updates don't always require
a full wipe of an existing build dir, but `--reconfigure` is
often enough. So let's expose that flag as well.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3187>
2024-02-12 13:48:00 +00:00
Ekaterine Papava
c461f2d128 Update Georgian translation 2024-02-12 13:00:59 +00:00
Paul Hollinsky
8e7d235513 tools/toolbox: Explicitly use /bin/bash
The script uses bash-specific language extensions which cause syntax
errors when run with /bin/sh -> /bin/dash.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3186>
2024-02-11 14:41:31 -08:00
Florian Müllner
fbe3c4120f Bump version to 46.beta
Update NEWS.
2024-02-11 17:54:00 +01:00
Jonas Dreßler
c9d163cc0d screencastService: Remove unused variable assignment
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2976>
2024-02-11 12:36:23 +01:00
Jonas Dreßler
5c0c1b15f8 screenshot: Also do pipeline fallback on screencast crashes during startup
Since the last commit, we have infrastructure in place in the ScreencastService
to blocklist pipelines which crashed the recorder.

If such a crash happens a few minutes into a screencast, we can't do any better
than telling the user about the problem and encouraging them to try again (with
the faulty pipeline now blocklisted).

If the crash happens while starting the recording though, we can actually do
better: We can try to auto-restart the ScreencastService ourselves, and the
recording might still succeed without the user noticing anything. So retry
that start of the recorder for two more times, and then finally give up.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2976>
2024-02-11 12:36:23 +01:00
Jonas Dreßler
b6bfe07137 screenshot: Blocklist the current screencast pipeline if recorder failed
When gstreamer crashes during recording, it pulls the whole screencastService
down with it.

These crashes are typically caused by the gstreamer pipeline that's in use,
so to avoid running into them again and again, we can blocklist the last
used pipeline in case the recorder didn't shut down (aka crashed) last time.

To store this state, create a file (gnome-shell-screencast-pipeline-blocklist)
in the XDG runtime dir and store the ID of the current pipeline in that file
before we try to start.

Now when we crash while running the pipeline, the entry in that file will stay
around and we'll pick it up on the next start of the screencastService as a
blocklist.

When the recording was successful on the other hand, we'll call
`this._updateServiceCrashBlocklist([...this._blocklistFromPreviousCrashes])`
and remove the new entry from the file again before shutting down the recorder.

In addition to that, we can now encourage the user to try recording again
after a crash happened. Adjust the failure notification a bit to say
"please try again".

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

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2976>
2024-02-11 12:34:54 +01:00
Jonas Dreßler
ce613f5d15 screenshot: Show a special error when screencast ran out of disk space
Since we now propagate error types back to gnome-shell now, let's start
with showing a special error message in case the disk ran out of space,
which is probably the most typical error.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2976>
2024-02-11 11:32:19 +01:00
Jonas Dreßler
7133fac91f screenshot: Handle screencast startup failures using special notification
When the screencast fails to start, we currently don't really inform the
user, other than the red screencasting indicator in the panel going away.

Re-use the failure handling paths to also show a notification when the
screencast fails to start. The notification in this case obviously should
not have an action to open a file (there is no file), so make that depend
on whether this._screencastPath is set and unset the path.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2976>
2024-02-11 11:32:19 +01:00
Jonas Dreßler
75f86a6f60 screencastService: Propagate machine-parseable error types to gnome-shell
We'll be using hardware encoding for screencasts soon, so we'll likely see
more things go wrong in the future, including crashes of the whole
screencastService. To deal with this, we'll introduce logic to blocklist
certain recording pipelines in case of failure and also add some logic
to retry the recording automatically.

To allow for better messaging to the user in those failure cases, we want
to be aware in gnome-shell, what exactly the error in the recorder was.

So propagate the most common types of errors that can happen in the
ScreencastService to gnome-shell using the new DBusError module.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2976>
2024-02-11 11:32:19 +01:00
Florian Müllner
a7e93f3af2 ci: Bump mutter image
The new image no longer includes the development version of glib,
which provides a newer API version of GIRepository that breaks
gjs' package module.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3181>
2024-02-11 02:15:34 +01:00
Sabri Ünal
251a82f4ea Update Turkish translation 2024-02-10 10:58:40 +00:00
Julian Sparber
5cca9009f1 messageList: Fix spacing between messages in calendar
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3177>
2024-02-09 23:23:14 +00:00
Bilal Elmoussaoui
9c7e1f1180 layout: Stop using deprecated display property
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3178>
2024-02-09 19:04:53 +01:00
Florian Müllner
b09eced160 layout: Don't use supports_extended_barriers()
The method was deprecated in favor of backend capabilities,
so query those instead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3176>
2024-02-09 17:32:57 +01:00
Florian Müllner
02c85fbb64 layout: Don't use get_feedback_group_for_display()
The global method was deprecated in favor of a corresponding
method on Meta.Compositor, use that instead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3176>
2024-02-09 17:32:57 +01:00
Sam Hewitt
40376d90fd style: Adjust search content width to realign items
- default max-width doesn't align with new padding, fixed by tweaking

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7389
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3175>
2024-02-09 10:12:35 -03:30
Florian Müllner
bb918fff3c messageTray: Remove _createPolicy() hook
It is now unused (at least in gnome-shell itself).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3170>
2024-02-09 11:12:51 +00:00
Florian Müllner
3fc7ed4088 notification: Pass policy in the Source contructor
Commit 932ccac1 changed Source to use a regular constructor
instead of `_init()`.

Unfortunately that results in ordering issues for subclasses
that override `_createPolicy()`, if that method needs to access
any properties that are set in the constructor (as `this` is
only available after chaining up to the parent).

We can fix that by simply setting the policy from the constructor,
instead of relying on some overriden method being called.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3170>
2024-02-09 11:12:51 +00:00
Florian Müllner
810391f41e messageTray: Add NotificationPolicy.newFromApp()
We have several places where we create an application policy
from an app if possible, and fall back to a generic policy
otherwise.

Make that more convenient by adding a small helper method.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3170>
2024-02-09 11:12:51 +00:00
Florian Müllner
ebec609207 messageTray: Don't call _createPolicy() unconditionally
Since commit 932ccac1c27, the Source constructor takes a
properties object instead of individual arguments.

That means that the policy may now be set through a construct
property, and we shouldn't override it if that was the case.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3170>
2024-02-09 11:12:51 +00:00
kramo
60fb2de15f theme: Increase padding of switches
This is to make it generally more in line with the stylesheet as well
as to resolve the blue and white bleeding together in dark mode.

It's also consistent with switches in recent mockups.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3077>
2024-02-08 20:32:50 +00:00
Bilal Elmoussaoui
2dc0f48a22 window tracker: Adapt to renamed function
Ideally, the use case we have for MetaGroup would be removed but that
requires investigation that could be done as a future step

The function also expects a MetaWindowX11, so add a check to ensure
we don't crash at runtime if the function gets called on a wayland
client

Also removes an unused header import

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3157>
2024-02-08 16:45:06 +01:00
Julian Sparber
7b5da30f21 st/button: Fix small mistake in st_button_toggle_mode docs
When the toggle mode is enabled the checked state will be changed not
the active state.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3172>
2024-02-08 10:27:03 +01:00
Daniel Rusek
c6cb454f89 Update Czech translation 2024-02-06 23:46:20 +00:00
Sam Hewitt
4d1ae863d0 switcherPopup: Restore selected pseudo-class
- move styles to switcher-popup
- reverts a change in a code clean up that causes problems with screen readers

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7336
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3127>
2024-02-06 20:09:20 +00:00
Sam Hewitt
628f0b5be9 dateMenu: Fix missing text style for no locations state
- add class to the header when there are no locations so the text appears clickable

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3169>
2024-02-06 19:54:04 +00:00
oscfdezdz
137ba5917c data: Change System Monitor desktop file name
It was renamed in commit
dfb51f5d11.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3171>
2024-02-06 20:32:05 +01:00
Carlos Garnacho
2ab5a5d7de osk: Add missing shift level to Georgian OSK layout
This layout initially snapshot from CLDR data is missing the
Shift level. Add one based on user feedback, and essentially
mirroring the keymap for physical keyboards.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6744
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3145>
2024-02-06 18:11:10 +00:00
Julian Sparber
c1ff00c01b notification: Use the same Source for showing system notifications
This drops all subclasses of `MessageTray.Source` that were used to
display system notifications. Now the `Source` returned from
`MessageTray.getSystemSource()` is used.
Ensure also that properties and methods that where set on the `Source`
are moved to the `Notification` object itself.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3156>
2024-02-06 17:25:01 +00:00
Julian Sparber
3faf1caead messageTray: Introduce singleton Source for system notifications
This `Source` object should be used by all notifications created by
GNOME Shell and eventually can also be used by extensions.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3156>
2024-02-06 17:25:01 +00:00
Julian Sparber
daa8ea5ab2 messageTray: Support setting notification icon by name
Since we now display the source icon and an image for the notification,
it's quite common to set an icon from a name. Therefore add a
convenience property to do so.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3156>
2024-02-06 17:25:01 +00:00
Sam Hewitt
4c5cb191d8 style: Fix bg color weirdness on background apps close button
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3140>
2024-02-06 17:14:40 +00:00
Sam Hewitt
0582de6561 icons: Updated No Notifications asset
- redesigned asset to not be a scaled-up 16x16 symbolic
- adjusted css for new asset
- dropped unused no-events asset

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3167>
2024-02-06 12:07:56 -03:30
Sam Hewitt
37a78684bb style: Fix some high contrast papercuts
- add HC style to slider
- add HC style to Quick settings submenu header
- fix border issue with flat card style

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7320
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3165>
2024-02-05 22:57:01 +00:00
Sam Hewitt
da6950562a dateMenu: Add class to menu so border-radius can be set in stylesheet
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3165>
2024-02-05 22:57:01 +00:00
Sam Hewitt
9758227ff5 style: Clean up message list padding
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3165>
2024-02-05 22:57:01 +00:00
Sam Hewitt
f0acfd3728 style: Softer overview icon drop-shadows
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3165>
2024-02-05 22:57:01 +00:00
Sam Hewitt
877c692671 style: Fix incorrectly defined color
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3165>
2024-02-05 22:57:01 +00:00
Yosef Or Boczko
8a048190b9 Update Hebrew translation 2024-02-05 20:16:34 +00:00
Yosef Or Boczko
0bb0333b27 Update Hebrew translation 2024-02-05 19:43:39 +00:00
Artur S0
3ce9fab9fa Update Russian translation 2024-02-05 06:42:42 +00:00
Sabri Ünal
7da1b9bbe9 Update Turkish translation 2024-02-03 18:14:38 +00:00
Vasil Pupkin
f1214a299b Update Belarusian translation 2024-02-02 21:59:19 +00:00