Commit Graph

1694 Commits

Author SHA1 Message Date
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
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
Sam Hewitt
49c69d0eaf style: Clean up lockscreen styles to improve HC support
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3154>
2024-02-02 18:38:16 +00:00
Julian Sparber
8fed0b83d0 notification: Show symbolic icons in a circle and smaller
Huge symbolic icons look bad therefore we special case them, this
obviously can only work for icons that use the system icons.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3066>
2024-02-01 10:31:24 +01:00
Julian Sparber
c5cd195506 mpris: Use player Identity if the player app isn't known
For players that don't match to an app, we can still do better than
the generic fallback if the client provides a valid `Identity` value.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3103>
2024-01-30 17:05:23 +00:00
Julian Sparber
8fdea10e33 notifications: Add header like in the new designs
See:
9e2bed6f37/notifications-calendar/notifications-grouping.png

This also increases the size of the icon to 48px.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6743
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3103>
2024-01-30 17:05:23 +00:00
Julian Sparber
00a375ce9b messageTray: Expose Source icon as GObject property
As the notification redesign affects the API anyway, we can just
as well use the opportunity to modernize the code.

Turning the icon into a GObject property means we no longer need
a custom signal for change notifications, and the icon becomes
usable in bindings.

Since setting an `GThemedIcon` is common this also adds a convenience
property to set the icon name directly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3103>
2024-01-30 17:05:23 +00:00
Julian Sparber
eb9118674d notifications: Never use source icon for notifications
With the new design we will show the source icon in the header of a
notification.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3103>
2024-01-30 17:05:23 +00:00
Julian Sparber
89c602cb62 messageList: Remove secondary actor API from Message
The secondary actor isn't used for anything anymore.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3103>
2024-01-30 17:05:23 +00:00
Sam Hewitt
d373e10a44 switchMonitor: New assets for switcher items
- include new assets in the symbolic source
- update existing screenshot assets with new display design

Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6013
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3128>
2024-01-29 22:47:10 +00:00
Sam Hewitt
e97175d2bf calendar: Stylesheet clean up & fixes
- added style class for when there are no world clocks present
- restructured the scss to match the widget structure
- cleaned up padding and font color styles
- improved high contrast support

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7324
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3120>
2024-01-26 16:01:37 -03:30
Sam Hewitt
e58cd282e7 style: Be consistent with Adwaita flat elements in High Contrast
- update drawing mixin for buttons to override HC inset in flat style
- drop outlines for app icons in dash

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3143>
2024-01-25 16:46:41 +00:00
Sam Hewitt
703ac12b4a style: Fix issues with OSD buttons in light style
- update drawing mixin to account for missing always_dark colors
- fix button in app grid folder not being always dark

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3139>
2024-01-25 14:33:46 +00:00
Sam Hewitt
b14623c664 dash: Resolve padding and alignment issues with dash items
- revert a change to y-expand on dash items
- clean up the manual padding on dash items in stylesheet
- fix an issue with the running dot being misaligned

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7322
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3119>
2024-01-24 17:51:16 +00:00
Sam Hewitt
38944e1c8f style: Fix color and margin issue in notification and dialog buttons
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3138>
2024-01-24 14:08:12 +00:00
Allan Day
c991239ca2 data: Add Text Editor to the dash by default
Add another app to the dash, to prevent it from being too empty by
default in some situations.

Fixes #7027

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3135>
2024-01-23 12:07:03 +00:00
Florian Müllner
672ca4a1c5 popupMenu/switch: Use icons for state indicators
The indicators are currently part of the background image in the
high contrast theme. Using symbolic icons instead allows separating
the switch shapes from the high-contrast setting in the future.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3107>
2024-01-17 04:30:11 +00:00
Florian Müllner
3dec080324 data: Strip blanks from SVG icons
The size reduction will be modest, but given that there's no downside,
it's still a good idea.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3107>
2024-01-17 04:30:11 +00:00
Sam Hewitt
7abe91918f style: Add lockscreen style to entry drawing mixin
- include style condition to entry drawing mixin to accommodate transparent bg on lockscreen
- see https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6802 and https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3109#note_1970652

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7326
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3118>
2024-01-15 22:45:25 +00:00
Sam Hewitt
b3d3fb79ae style: Fix panel and dash to account for mouse travel
- rework overview-icon styles for the dash so they extend to the edge of the screen once again
- revert changes to panel_button mixin
- rework panel_button mixin to be more flexible
- fixes #7318

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3112>
2024-01-12 16:14:59 +00:00
Sam Hewitt
a917644fad style: Refactor the button and entry drawing css
- use a single button mixin for all buttons with a saner 'style' parameter
- rework the entry mixins to be similar to the buttons'
- clear out all unused or deprecated mixins
- create some drawing functions for focus ring and high contrast inset
- replace instances of old mixins with the new

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3109>
2024-01-11 19:27:59 +00:00
Georges Basile Stavracas Neto
36b3a995eb data: Remove gnome-shell.portal
Now that xdg-desktop-portal-gnome implements the Access portal
interface, GNOME Shell doesn't have to be the portal backend for
that anymore.

The D-Bus implementation is still preserved, because internally,
xdg-desktop-portal-gnome may still proxy the Access call to GNOME
Shell when the parent window is not available. That's a private
exchange between xdg-desktop-portal-gnome and GNOME Shell though,
and doesn't require GNOME Shell to be a full portal backend.

See https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/-/merge_requests/140

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3106>
2024-01-10 15:36:01 +00:00
Sam Hewitt
075df42d01 calendar: Stylesheet follow-ups and fixes
- drop extraneous calendar-day style_class on week headings
- fix wrong variable in insensitive button mixin
- add some missing focus styles to calendar month header
- fix the asset for today with-events in light theme
- adjust HighContrast visuals for other month days
- make pager buttons circular

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3102>
2024-01-10 03:02:09 +00:00
Sam Hewitt
e57bf0791e style: Use system base color for screenshot overview
- Fixes #7289

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3084>
2024-01-09 20:22:47 +00:00
Sam Hewitt
ea73e4f1e9 style: Clean up color definitions and High Contrast
- clean out unused colors; add desaturated light color
- remove long unused drawing functions; add high contrast color mixin
- de-duplicate and move common colors to a default-colors stylesheet
- rework how HighContrast is defined; clean up HC cruft
- bring over named color defines and other colors from libadwaita
- change how panel colors are defined

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3097>
2024-01-09 20:17:24 +00:00
Sam Hewitt
d3b2784db0 style: Card style rework for light scheme
- clean up button mixin
- add new card-specific styles and colors
- fixes #7153
2024-01-09 14:09:40 -03:30
Sam Hewitt
5f9a626061 style: Update panel_button mixin to have HighContrast support
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3076>
2024-01-09 17:24:54 +00:00
Sam Hewitt
21a6c22fc6 style: Change text styles in calendar popover for better visibility
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3076>
2024-01-09 17:24:54 +00:00
Sam Hewitt
43e45d4b5f style: Change insensitive style on quick settings submenu
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3076>
2024-01-09 17:24:54 +00:00
Sam Hewitt
d3c3e02d52 style: Fix HighContrast issues with notifications
- define a new hc_mix_color for mixing functions that was making bg color transparent
- fix missing HC outline on banner notifications
- fix notification timestamp not changing in HC due to color
- closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7283

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3075>
2024-01-09 17:20:21 +00:00
Sam Hewitt
15e0440a8b appDisplay: CSS cleanup & fixes for app dialog
- change the container and dialog actor alignments
- pad the container to not have dialog overlap panel
- clean up extraneous app-folder css

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3044>
2024-01-09 17:14:09 +00:00
Sam Hewitt
54a0c49d32 style: Update panel styles to use appropriately contrasty text color
- new always light fg color definition
- update panel button style to use new fg color
- fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7270

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3063>
2024-01-08 21:06:14 +00:00
Florian Müllner
e6624f8ba1 extensionSytem: Rename ENABLED/DISABLED states
The ENABLED state means that an extension's `enable()` method
was called successfully.

This usually matches whether an extension *should* be enabled
according to the enabled-extensions/disabled-extensions settings,
but not necessarily: If an extension had an error or does not
support the currently active mode, its actual state is different.

We currently only expose the actual state to external tooling,
but whether an extension should be enabled is relevant as well,
for example to disable a lock-screen only extension from the
regular session.

For that purpose we will expose a separate `enabled` property.
To avoid confusion with the existing states, change the exposed
names to (IN)ACTIVE.

This does not affect the D-Bus API, as the numeric values of
the states remain unchanged.

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

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3073>
2024-01-03 20:05:05 +00:00
Sam Hewitt
32d4bc43ea data: Update symbolic assets for pagination buttons
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3085>
2024-01-02 16:28:44 -03:30
Florian Müllner
1dda339395 animation: Use appropriate spinner asset in light variant
Ideally we would replace the sliced-image based animation with a
themed `process-working-symbolic` icon and rotate it, so the spinner
simply picks up the current foreground color.

Unfortunately the `repeat-count` property does not work for rotations,
so to fix the broken spinner in the light variant
in the meantime, include assets for both variants and swap them
out at runtime.

Not everything in the light variant is actually light (overview,
OSDs, ...), so use a simple heuristic on the text color to decide
which asset to use.

Close https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6783

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3080>
2023-12-27 10:10:35 +00:00
Leleat
d429ab5e08 windowManager: Add shortcuts to open new window of nth pinned app
Add new shortcuts to open a new instance of an app by pressing
Super + Ctrl + Number. This is analogous to ctrl-activating
(LMB/Enter) an app icon.

Close https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4129

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1829>
2023-12-24 10:56:09 +00:00
Florian Müllner
d3a18be0f2 data: Update descriptions of switch-to-app-n shortcuts
The user-visibility terminology switched from "favorite" to
"pin"/"unpin" a while ago, so update the description accordingly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1829>
2023-12-24 10:56:09 +00:00
Georges Basile Stavracas Neto
ee150f2949 screenshot: Add and implement new D-Bus method
The new InteractiveScreenshot() D-Bus method is implemented using
the signals introduced by the previous commit, and is fundamentally
very simple: take the screenshot, and return the GFile URI.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2999>
2023-12-21 17:59:17 +00:00
Sam Hewitt
b4c15d5a7b style: Fix missing light theme color definitions
- Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7267

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3062>
2023-12-19 12:37:54 +00:00
Sam Hewitt
745667a825 style: Rewrote app grid tile drawing functions
- updated mixin for tile_button
- dropped the overview_button mixin
- minor changes to dash, appDisplay and switcherPopup JS to accommodate new stylesheet
- new focus style for all tile buttons
- improved high contrast style support for app grid and dash
- renamed some style-classes
- tidied up dash stylesheet

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3017>
2023-12-14 18:30:52 +00:00
Cassidy James Blaede
a0a3bf8bf1 schema: Better describe always-show-log-out key
- The "user menu" was replaced with "system menu" years ago, so
  update the terminology in the summary and description
- Remove the full stop from the end of the summary for consistency
- More verbosely describe the behavior that's being overridden to
  reduce confusion

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3050>
2023-12-13 14:03:14 +00:00