18701 Commits

Author SHA1 Message Date
Marco Trevisan (Treviño)
9af029e968 gdm/util: Keep track of started services that are currently active
If we have a late activation of a service backend we may need to check
whether it has been already started, and in case it has not, we can try
loading it.

So rely on gdm to see what service has been started, instead of handling
it manually on our side only.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2267>
2024-02-28 22:10:23 +01:00
Marco Trevisan (Treviño)
f1c0f65075 gdm/util: Early initialize all internal properties
These may be used later by methods called by constructors, so ensure
that they're all defined early.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2267>
2024-02-28 22:10:22 +01:00
Florian Müllner
290e705c89 windowMenu: Pass missing argument when starting grab op
The function now requires an additional position-hint argument.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3214>
2024-02-28 16:00:11 +00:00
Florian Müllner
be0800ea17 panel: Pass position hint when starting window drag
Since mutter@4b1e24fcc, starting a drag op requires an additional
argument, pass it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3214>
2024-02-28 16:00:11 +00:00
Daniel van Vugt
d09509b2cb theme: Don't give login-dialog another background-color
Its parent `lockDialogGroup` has exactly the same background-color
set in the same file. Giving them both the same wasted render time on
overdraw, and caused multi-layer blending artifacts (slight flickering
of the grey background) when the login dialog fades in/out.

While the flicker can also be fixed using `set_offscreen_redirect`,
there's no point adding that overhead when the extra layer doesn't need
to be painted. Removing it halves the average render time of the login
animation.

Closes: https://bugs.launchpad.net/bugs/2036388
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3207>
2024-02-28 14:55:39 +00:00
Sam Hewitt
e46b137b42 style: Restore missing insensitive menuitem style
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3213>
2024-02-28 14:38:27 +00:00
Julian Sparber
bb73bf548c FdoNotificationDaemon: Emit ActivationToken before ActionInvoked signal
Two years ago FDO notifications spec gained the ability to pass an
activation token (often called startup id) let's finally implement it.

See: https://gitlab.freedesktop.org/xdg/xdg-specs/-/commit/b9a470004d

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/358
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3199>
2024-02-28 13:51:18 +00:00
Julian Sparber
7d6f465a47 GTKNotificationDaemon: Use ShellApp methods to activate apps
`ShellApp` gained the ability to activated actions and it sets the correct
platform data. Therefore drop the current implementation in favor for it.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7409
Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/5239
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>
2024-02-28 11:35:38 +01:00
Julian Sparber
3abf7e4662 status/backgroundApps: Use ShellApp.activate_action() to quit apps
`ShellApp` gained the ability to activated actions, therefore drop the current
implementation in favor for it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>
2024-02-28 11:28:06 +01:00
Julian Sparber
d6779f34da status/network: Use ShellApp.activate_action() to launch settings panel
`ShellApp` gained the ability to activated actions and sets the correct
platform data, therefore drop the current implementation in favor for it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>
2024-02-28 11:28:06 +01:00
Julian Sparber
90e9f56f79 shell/global: Don't force active workspace for launch context
Since the launch context may also be used to activate an action on an
running application with an already existing window, which we don't
necessarily want to move to a different workspace, don't set a workspace
for the launch context. If no active window exists for an application
then it will be place on the currently active workspace anyways.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>
2024-02-28 11:28:06 +01:00
Julian Sparber
54bc3aa4f5 shell/app: Add method to activate an action via FDO DBus activation
There are multiple different places where we activate an app action,
but none set the correct activation token. Therefore this adds an async
method to to call `ActivateAction` on `org.freedesktop.Appliaction`
with the correct activation token/startup id as platform data.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3198>
2024-02-28 11:27:40 +01:00
Jürgen Benvenuti
fbc8c28c0e Update German translation 2024-02-26 19:58:23 +00:00
Florian Müllner
6f250dd4dc ci: Rebase image to F40
After the main image was rebased, let's do the same for our
JS tooling.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3208>
2024-02-25 22:06:46 +00:00
Florian Müllner
36754d0479 ci: Don't install entire Development group
With dependencies, the group pulls in about 150 packages. We only
need a tiny tiny subset of that, so only specify what we really
need to not blow up the image size unnecessarily.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3208>
2024-02-25 22:06:46 +00:00
Florian Müllner
19592e0a67 ci: Bump mutter image
The image was rebased to f40, pull that in.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3208>
2024-02-25 22:06:46 +00:00
Guillaume Bernard
b199f466a5 Update French translation 2024-02-25 10:18:15 +00:00
Chao-Hsiung Liao
2311d766f6 Update Chinese (Taiwan) translation 2024-02-25 10:04:30 +00:00
Asier Sarasua Garmendia
1bafac4fde Update Basque translation 2024-02-25 06:42:13 +00:00
Rūdolfs Mazurs
d8014d35a7 Update Latvian translation 2024-02-24 19:44:10 +00:00
Baurzhan Muftakhidinov
51087d7016 Update Kazakh translation 2024-02-24 17:17:43 +00:00
Quentin PAGÈS
d16cd1ede2 Update Occitan translation 2024-02-24 17:04:35 +00:00
Bruce Cowan
bd992f7dca Update British English translation 2024-02-24 16:01:21 +00:00
Brage Fuglseth
22c5415f8a Update Norwegian Bokmål translation 2024-02-24 13:35:25 +00:00
Jordi Mas i Hernandez
eb0269148f Update Catalan translation 2024-02-23 08:37:06 +00:00
Fran Dieguez
7860746a04 Update Galician translation 2024-02-22 18:08:52 +00:00
Luming Zh
477b3ff0bb Update Chinese (China) translation 2024-02-22 15:19:43 +00:00
Kukuh Syafaat
d8787f5e77 Update Indonesian translation 2024-02-22 13:48:48 +00:00
Irénée THIRION
5afd7f405b Update French translation 2024-02-22 09:31:55 +00:00
Vasil Pupkin
3df6372055 Update Belarusian translation 2024-02-22 00:30:54 +00:00
Sabri Ünal
ade0b7902c Update Turkish translation 2024-02-21 17:25:13 +00:00
Florian Müllner
a1dd5d5e1e shell: Remove left-over function declaration
The function itself was removed in commit 4b80cbe1cd9e back
in 2016.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3206>
2024-02-21 16:10:40 +01:00
Florian Müllner
9af81e44bc notificationDaemon: Fix auto-closing FDO notifications
We auto-close FDO notifications when the sender leaves the bus,
given that the protocol was created without persistency in mind
and any action will become invalid.

However that broke when moving the public-facing implementation
into a separate service, as we now track the (always running)
service instead of the original sender.

Fix that by forwarding the sender to the internal implementation
via a private hint, just like we already do for the PID.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3204>
2024-02-20 21:09:32 +01:00
Florian Müllner
f0b1cf5f8d notificationDaemon: Namespace private sender-pid hint
The hint is a private implementation detail between the public
and internal services, not something anybody else should set
(*cough* libnotify *cough*).

Prefix the name to hopefully make that clearer.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3204>
2024-02-20 21:09:32 +01:00
Bilal Elmoussaoui
8b6e1fe896 plugin: Stop overriding xevent_filter
The vfunc was used to register profiling hooks for glx.swapComplete
as we have sysprof nowadays and as that code path is x11 specific
anyways, let us drop it

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3201>
2024-02-20 13:51:30 +00:00
Florian Müllner
3504a6a8a9 extensions-app: Fix service activation mix-up
Starting the D-Bus service should not pop-up a window by itself,
it should just register and wait for an explicit call to Activate().

The .desktop file on the other hand should fully activate the
app when using the Exec line.

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

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3202>
2024-02-20 12:46:24 +00:00
Julian Sparber
a80e0bba5c components/networkAgent: Fix small mistake
Fixes: c1ff00c01 ("notification: Use the same Source for showing system notifications")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3200>
2024-02-20 11:55:06 +01:00
Quique Serrano
f71c25891a Update Catalan translation 2024-02-19 13:56:18 +00:00
Daniel Mustieles
3d626b0901 Updated Spanish translation 2024-02-19 13:27:07 +01:00
Matej Urbančič
a28f66f541 Update Slovenian translation 2024-02-19 10:09:32 +00:00
Matej Urbančič
692f6078b5 Update Slovenian translation 2024-02-19 10:03:43 +00:00
Aurimas Černius
f8229628ef Update Lithuanian translation 2024-02-18 20:34:40 +00:00
Nathan Follens
ac10cae1e3 Update Dutch translation 2024-02-18 16:42:31 +00:00
Emin Tufan Çetin
d76d773acc Update Turkish translation 2024-02-18 15:41:55 +00:00
Sabri Ünal
ab19afa9f8 Update Turkish translation 2024-02-18 09:23:01 +00:00
Brage Fuglseth
0f287d8196 Update Norwegian Bokmål translation 2024-02-17 22:25:01 +00:00
Ray Strode
3dd5dcd9bb authPrompt: Disregard smartcard status changes if VERIFICATION_IN_PROGRESS
commit c8bb45b41c3a13ef161103f649aa18938e028a70 introduced a new
verification state, VERIFICATION_IN_PROGRESS, to detect when the user
has already interacted with the authentication prompt, so the
prompt can rate limit the number of times the user can cancel
authentication attempts with the escape key (without also rate limiting
the number of times they can hit escape to go back to the clock without
interacting with the prompt).

That means there are now two states that represent the user actively
undergoing verification: VERIFYING and VERIFICATION_IN_PROGRESS.

It's inappropriate to reset the smartcard service if the user is
actively conversing with it. We try to check for that by looking at the
original verification state, VERIFYING, but we unfortunately, neglect
to account for the new VERIFICATION_IN_PROGRESS state.

The result is that if a user types their smartcard pin at the clock,
and then inserts their smartcard, the pin will get cleared instead of
used, and they have to retype it again.

This commit fixes the oversight, and allows users to again pre-type
their smartcard pin at the clock before inserting their smartcard.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2765>
2024-02-17 14:04:04 +00:00
Daniel Rusek
aebef54a1d Update Czech translation 2024-02-17 13:58:20 +00:00
Danial Behzadi
974f747f6b Update Persian translation 2024-02-17 12:42:53 +00:00
Florian Müllner
d6651706fe sessionMode: Use property spread to sync mode
The parameters here come from a fixed set of mode definitions rather
than a function parameter, so the additional check performed by
Params.parse() isn't relevant here.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3196>
2024-02-17 12:02:25 +01:00