gnome-shell/data
Jonas Dreßler 3eb40df06b panel: Don't change text color when entering the overview or lockscreen
With the introduction of the transparent panel in the overview, we
started making the panel text/icon color slightly brighter in the
overview and on the lockscreen to ensure best contrast. Now
unfortunately, setting the text color incurred a relayout of the
underlying ClutterText actor (fixed with
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1750), and
setting the icon color causes the icon texture to get regenerated
(fixed with
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/932).
Regenerating the icon texture will replace the icon actor, which also
causes a relayout.

This relayout of the panel has been measured to add at least 1
millisecond (the numbers fluctuated a lot) to about 5 ms it takes to
layout the first frame when showing the overview.

Since https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/932 is
unlikely to land this cycle, this commit proposes a different solution:
Simply don't use a different color for text in the overview. To avoid
issues with contrast in the overview, make the default color slightly
brighter and change it from #ccc to #ddd.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1733>
2021-03-09 13:15:09 +00:00
..
cldr2json *: Fix spelling mistakes found by codespell 2020-08-21 18:25:09 +00:00
dbus-interfaces endSessionDialog: Only show logout inhibiting apps 2021-02-24 15:31:03 +00:00
icons data: Add extension-portal desktop file 2020-04-05 13:36:35 +00:00
osk-layouts osk-layouts: Add additional keys to Thai layout 2021-02-13 17:28:23 +00:00
theme panel: Don't change text color when entering the overview or lockscreen 2021-03-09 13:15:09 +00:00
00_org.gnome.shell.gschema.override Replace custom override schema with per-desktop override 2018-07-31 18:36:26 +00:00
50-gnome-shell-system.xml build: Say good-bye to intltool 2016-08-19 22:13:14 +02:00
emoji.json keyboard: Add Emoji keyboard 2019-02-05 16:25:57 +01:00
gnome-shell-dbus-interfaces.gresource.xml fingerprint: Show different strings depending on type 2021-02-08 19:19:14 +00:00
gnome-shell-osk-layouts.gresource.xml osk-layouts: Fix French layout 2019-03-04 20:55:15 +00:00
gnome-shell-overrides-migration.desktop.in tools: fix XDG desktop syntax in gnome-shell-overrides-migration 2018-08-03 00:49:49 +02:00
gnome-shell-overrides.convert data: Do not convert 'button-layout' setting 2014-06-10 12:32:28 +02:00
gnome-shell-theme.gresource.xml appDisplay: Add carousel arrows to app grid 2021-03-02 22:02:56 +00:00
gnome-shell.portal Provide org.freedesktop.impl.portal.access implementation 2016-07-20 17:14:12 +02:00
meson.build theme: Pre-generate stylesheets as well 2020-12-29 00:40:47 +01:00
org.gnome.Shell-disable-extensions.service data: Use org.gnome.Shell prefix for systemd units 2020-07-31 13:53:31 +00:00
org.gnome.Shell.desktop.in.in data: Drop old bugzilla references in .desktop files 2020-01-07 12:41:57 +01:00
org.gnome.Shell.Extensions.desktop.in.in data: Add extension-portal desktop file 2020-04-05 13:36:35 +00:00
org.gnome.shell.gschema.xml.in schemas: Define default app grid arrangement 2021-02-23 12:10:20 +00:00
org.gnome.Shell.PortalHelper.desktop.in.in Add translator comments to .desktop files 2016-08-19 23:15:20 +02:00
org.gnome.Shell.PortalHelper.service.in Add a helper to handle captive portal logins 2014-06-26 19:54:58 +02:00
org.gnome.Shell.target data: Fix description of org.gnome.Shell.target 2020-08-20 08:11:11 +00:00
org.gnome.Shell@wayland.service.in Clarify comments on ConditionEnvironment placement 2020-12-09 15:08:15 +00:00
org.gnome.Shell@x11.service.in Clarify comments on ConditionEnvironment placement 2020-12-09 15:08:15 +00:00
perf-background.xml.in Add a special background to use for performance testing 2014-08-18 10:54:42 -04:00
README.osk-layouts data: Add README and supporting script to update keyboard layouts from CLDR 2018-02-05 17:46:57 +01:00
update-osk-layouts.sh data: Don't clone cldr2json when updating OSK layouts 2020-03-27 16:44:27 +00:00

Gnome-shell OSK layouts are extracted from CLDR layout definitions:
https://www.unicode.org/cldr/charts/latest/keyboards/layouts/index.html

Updating these involves several steps:

1) Downloading and unzipping the tarball found at:
   http://www.unicode.org/Public/cldr/latest/keyboards.zip

   This file contains XML files describing the keyboard layouts.

2) Cloning the cldr2json script at:
   git://repo.or.cz/cldr2json.git

   It will be used to convert the XML files into JSON that can be
   directly consumed by gnome-shell.

3) Running the script to produce the files:
   ./cldr2json <input-directory> <output-directory>

   We shall usually use the "android" folder, since that's most
   complete, and similar to our UI and target sizes. And the target
   directory must be data/osk-layouts in this repository.

4) Modify gnome-shell-osk-layouts.gresource.xml to include the files

5) Do git add on the updated/new files, and git commit.


Or alternatively:

1) Run update-osk-layouts.sh

2) Do git add and git commit