Commit Graph

19385 Commits

Author SHA1 Message Date
989ee14484 Update Norwegian Bokmål translation 2024-08-24 15:54:44 +00:00
8c75ff02ad Update German translation 2024-08-24 15:24:30 +00:00
2a95fb5c20 Update Finnish translation 2024-08-24 13:12:53 +00:00
6e501fbbf6 Update Slovak translation 2024-08-24 10:12:49 +00:00
a07790a827 Update Chinese (China) translation 2024-08-24 05:28:40 +00:00
36e42badd0 Update Ukrainian translation 2024-08-23 09:31:00 +00:00
f3b6142b51 Update Catalan translation 2024-08-23 08:48:23 +00:00
ccc46d3f5c Remove text mipmapping disabling
As it is now disabled by default in CoglPango as a preparation for
merging it inside libst in the future

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3451>
2024-08-22 17:19:10 +02:00
61ebfe3781 Update Brazilian Portuguese translation 2024-08-21 16:59:00 +00:00
ea3429e9db Update Belarusian translation 2024-08-21 13:15:13 +00:00
e25b087e25 ci: Bump CI/CD component version for building system extensions
This new version allows us to specify a branch,  which will be needed
soon to freeze the GNOME OS version used in stable branches e.g. once
GNOME OS 47 is available.

See https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/872

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3450>
2024-08-20 11:54:12 -04:00
e5d9a0fec8 loginDialog: Don't assume this._user is always defined
There are cases where this._user might be null when a session
is opened. This is because the user is not selected via GDM but
it is set through PAM. This happens when logging with smart card
or with credential managers, for example.

Given the session-id of the opened session, look for the owner.
This fixes the following error:
```
gnome-shell[153293]: TypeError: this._user is null

                     Stack trace:
                     _findConflictingSession@resource:///org/gnome/shell/gdm/loginDialog.js:1219:26
                     _onSessionOpened@resource:///org/gnome/shell/gdm/loginDialog.js:1254:51
                     @resource:///org/gnome/shell/ui/init.js:21:20
```

Fixes: df84854d9 ("loginDialog: On login, allow logout a conflicting session")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7526
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3448>
2024-08-20 12:38:41 +02:00
647747fbd6 loginDialog: Get username directly from the conflicting session
The conflicting session is owned by the same user per definition.
Use the Name property of the conflicting session to get the
username instead of assuming that `this._user` is defined and
passing the username around.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3448>
2024-08-20 12:38:41 +02:00
a80ad53500 org.freedesktop.login1.Session: Sort alphabetically
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3448>
2024-08-20 12:38:41 +02:00
f1223c6852 loginDialog: Catch possible errors when session is opened
Since commit df84854d90 the function
_onSessionOpened() is now async. This means that if an error occurs
we get the following warning:
```
gnome-shell[1014]: Unhandled promise rejection. To suppress this
warning, add an error handler to your promise chain with .catch()
or a try-catch block around your await expression. Stack trace of
the failed promise:
_onSessionOpened@resource:///org/gnome/shell/gdm/loginDialog.js:1166:27 @resource:///org/gnome/shell/ui/init.js:21:20
```

Follow the suggestion and add a try-catch block in order to reveal
what the error is. In the catch phase, reset the faded AuthPrompt
otherwise we can't retry with another user.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3448>
2024-08-20 12:38:41 +02:00
90707c0045 Update Russian translation 2024-08-19 13:25:22 +00:00
deb9f05303 st/theme-node-drawing: Fix corner pipeline leak
The corner pipelines state theme node paint state was not necessarily
free of existing pipelines, so make sure to free them before looking up
new ones.

This avoids leaking thousands of CoglPipeline instances after toggling
the overview a bunch of times.

Fixes: e1868cab1a ("st/theme-node-drawing: Factor in border radius in update_resources()")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3421>
2024-08-19 11:47:32 +00:00
35647a0b65 ci: Bump mutter image
We need a newer glib.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3447>
2024-08-19 11:52:45 +02:00
afe125ac89 Update Basque translation 2024-08-18 07:04:55 +00:00
752948bdb9 Update Georgian translation 2024-08-17 05:17:12 +00:00
937e4d8bd9 Update Catalan translation 2024-08-14 21:51:01 +02:00
6a34b24346 Update Romanian translation
(cherry picked from commit 8eb5baff8c684c09ab7ed2ffa378f2f5f7ff2273)
2024-08-14 16:36:18 +00:00
e6b4a048cd doap: Remove marge-bot maintainer entry
marge-bot has had GNOME wide Developer access for a while, which should be sufficient.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3443>
2024-08-13 09:46:01 +00:00
b083f64b08 Update Greek translation
(cherry picked from commit fc29b8217066f43a92aab78afe1b22a1a793aa08)
2024-08-12 20:48:56 +00:00
a885472f9d Update Hebrew translation 2024-08-09 12:26:58 +00:00
37c47d9f53 ci: Bump mutter image
Mutter now depends on gsettings-desktop-schemas 47.beta.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3441>
2024-08-08 17:14:14 +02:00
31c7cf800c st/widget: Don't use notify for emitting accessibility changes
Reduces the overhead

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3433>
2024-08-08 01:07:25 +00:00
6e57d42d26 st: Adapt to Cally merge inside of Clutter
ClutterActor has now a get_accessible_type that replaces
the StWidget one, switch to using that

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3433>
2024-08-08 01:07:25 +00:00
b05069c297 Update Hungarian translation 2024-08-06 15:18:03 +00:00
2ce940fd9b Bump version to 47.beta
Update NEWS.
2024-08-03 20:12:28 +02:00
a32f735ec0 style: Use unlinked rounded buttons for notifications
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3427>
2024-08-02 13:37:44 -02:30
ff4b9fdb08 style: Use unlinked rounded buttons for notifications
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3383>
2024-08-02 15:16:46 +00:00
2e2c5e1cec Update Turkish translation 2024-08-01 18:00:21 +00:00
8e39015b11 tools: Import shell-lg from halfline's os-debug-scripts
It allows interacting with gnome-shell in the same way as looking glass
but does so from a terminal. This can be really useful in some
situations.

Imported from: https://github.com/halfline/os-debug-scripts

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3430>
2024-07-31 05:29:04 +00:00
105abab1e4 js: Remove modelines
We already include an .editorconfig that is supported by many
editors, including emacs, so no need to repeat an emacs-specific
modeline in every source file.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3431>
2024-07-30 18:20:55 +00:00
949af34522 cleanup: Remove left-over config file
In the early days of shell development, someone accidentally pushed
their eclipse configuration. Most of it was removed at one point,
but one file was missed.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3432>
2024-07-30 17:55:46 +00:00
9fc19c9cdb doc: Link to GNOME handbook tutorial for toolbox development
Link gnome-shell's toolbox README to the troubleshooting section
of the toolbox page at handbook.gnome.org, to make it easier to
find information on common toolbox development issues.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7598
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3424>
2024-07-30 12:44:40 -04:00
c8f0722ce5 Update Hindi translation 2024-07-29 18:38:34 +00:00
7a874334ef overview: Drop unused ShellInfo object
This object isn't used anymore and it's really easy to create a new
system notification via the appropriate notification source.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3387>
2024-07-29 14:57:42 +00:00
ab4f80b8ae appFavorites: Display its own notification for every pin/unpin
Show a notification for each user action instead of updating the
notification currently displayed when the user pins or unpins.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3387>
2024-07-29 14:57:42 +00:00
a21558d67f status/network: Fix enterprise network connecting from panel
Use the right variable. A static WirelessNetwork._securityTypes
variable does exist, but the correct variable when checking
autoconnect possibility is this._securityType; this._securityTypes
is undefined, causing clicking an enterprise network name in panel
network selector do nothing instead of properly opening GNOME
Settings panel.

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

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3426>
2024-07-29 16:27:26 +02:00
3d06134545 Make startup animation use async functions throughout
During session startup, we have the following chain:

    LayoutManager._prepareStartupAnimation()
    `- LayoutManager._startupAnimation()
       `- LayoutManager._startupAnimationComplete()       (a)
       | or
       `- LayoutManager._startupAnimationGreeter()        (b)
       | or
       `- LayoutManager._startupAnimationSession()        (c)
          `- Overview.runStartupAnimation()               (d)
             `- OverviewActor.runStartupAnimation()       (e)
                `- ControlsManager.runStartupAnimation()  (f)

Branch (b) calls LayoutManager._startupAnimationComplete() once the
animation is complete. Branch (c) does the same, except that
ControlsManager.runStartupAnimation() is an async function that awaits
LayoutManager.ensureAllocation().

LayoutManager._prepareStartupAnimation() is an `async` function, and its
caller catches & logs any error it raises.

Previously, ControlsManager.runStartupAnimation() – (f) in the above
diagram – was declared `async`, because it uses `await` internally, but
also accepted a callback, which was called on successful completion of
the function and the animation it triggers.

If an exception is raised during execution of the function, its callback
would never be called, and because the promise it implicitly returns is
discarded, the exception would never be logged either. And, stepping a
few levels up the call stack, the callback that
LayoutManager._startupAnimationSession() (c) provided would never be
called, and so LayoutManager._startupAnimationComplete() would never be
called, meaning the cover pane that prevents input would never be
removed and the session would be unusable.

Remove the callback parameter from ControlsManager.runStartupAnimation()
(f), and instead make it resolve in the case where the callback would
previously have been called.

Remove the callback parameter from OverviewActor.runStartupAnimation()
(e) – it is just a wrapper around ControlsManager.runStartupAnimation().

Adjust Overview.runStartupAnimation() (d) accordingly: rather than
passing a callback to OverviewActor.runStartupAnimation(), await its
return and then proceed. There is a slight behaviour change here:
previously, in the branch where this._syncGrab() is false, the callback
would be called before calling this.hide(), whereas now this.hide() is
called before the async function returns.

Adjust LayoutManager._startupAnimationSession() and its siblings to be
async, rather than each calling _startupAnimationComplete() directly.
Finally, in _prepareStartupAnimation()  await _startupAnimation() either
succeeding or failing, and in either case call
_startupAnimationComplete(), removing the cover pane that prevents all
input.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3428>
2024-07-28 18:49:59 +01:00
acfa372d4f Update Slovenian translation 2024-07-26 11:36:44 +00:00
fa1c59ff91 Update Czech translation 2024-07-26 10:18:35 +00:00
1403747863 build: Add option to disable portal-helper
The portal login window uses WebKit, which is a security-sensitive
component that not all vendors want to support.

Support that case with a build option, and update the captive
portal handler to use the user's default browser if the portal-helper
is disabled.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3408>
2024-07-25 01:51:17 +00:00
4ab1ccf3f2 status/network: Show notification when detecting captive portal
When NetworkManager detects limited connectivity, we currently
pop up the portal helper window immediately. This can both be
disruptive when it happens unexpectedly, and unnoticeable
when it happens during screen lock.

In any case, it seems better to not pop up a window without
explicit user action, so instead show a notification that
launches the portal window when activated.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7688
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3408>
2024-07-25 01:51:17 +00:00
57de9ee874 network: Split out CaptivePortalHandler class
The handling of captive portals is going to be extended a bit,
so split out a proper class instead of mixing it in with the
indicator code.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3408>
2024-07-25 01:51:17 +00:00
44beaa0e1d screencastService: Add gstreamer pipeline for h264 low-power hw encode
VA-API low-power encoder profiles (such as vah264lpenc) reduce power consumption by relying entirely on fixed-function hardware blocks.
Use vah264lpenc over vah264enc by default, in order to save on energy and 3D engine capacity.

Signed-off-by: José Relvas <josemonsantorelvas@gmail.com>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3416>
2024-07-25 01:45:06 +00:00
a65e0722f1 lookingGlass: Make it possible to export the DebugControl service
Mutter has a new tool for interacting with mutter with features we don't
expose to users yet. It can be exported as a dbus service but it is not
done so by default. This adds an easy way to do so without having to
remember some JS snippet.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3425>
2024-07-24 22:33:59 +02:00
de577c1f87 Update Chinese (Taiwan) translation
(cherry picked from commit 93027ab1f40f03d28420ebddd8267646f3912ac7)
2024-07-24 10:12:45 +00:00