Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libadwaita for openSUSE:Factory checked in at 2022-06-09 14:09:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libadwaita (Old) and /work/SRC/openSUSE:Factory/.libadwaita.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libadwaita" Thu Jun 9 14:09:35 2022 rev:9 rq:981301 version:1.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libadwaita/libadwaita.changes 2022-04-30 00:45:32.582951672 +0200 +++ /work/SRC/openSUSE:Factory/.libadwaita.new.1548/libadwaita.changes 2022-06-09 14:09:48.400368276 +0200 @@ -1,0 +2,18 @@ +Wed Jun 1 11:57:44 UTC 2022 - Dominique Leuenberger <dims...@opensuse.org> + +- Update to version 1.1.2: + + AdwLeaflet: Fix child sizing with + fold-threshold-policy=natural. + + AdwStyleManager: Correctly handle removing a GdkDisplay. + + AdwSwipeTracker: + - Fix a memory leak. + - Fix high contrast setting name when using a portal. + + AdwTabBar: Fix middle click when inside GtkWindowHandle. + + Stylesheet: + - Fix action row title and subtitle inside GtkHeaderBar. + - Fix progressbar.osd overriding text color. + - Ensure active states consistently work with touchscreens. + - Fix GtkDropDown visual glitch when pressed on touchscreen. + + Updated translations. + +------------------------------------------------------------------- Old: ---- libadwaita-1.1.1.obscpio New: ---- libadwaita-1.1.2.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libadwaita.spec ++++++ --- /var/tmp/diff_new_pack.9Igu5i/_old 2022-06-09 14:09:49.352369552 +0200 +++ /var/tmp/diff_new_pack.9Igu5i/_new 2022-06-09 14:09:49.356369558 +0200 @@ -17,7 +17,7 @@ Name: libadwaita -Version: 1.1.1 +Version: 1.1.2 Release: 0 Summary: Building blocks for modern GNOME applications License: LGPL-2.1-or-later ++++++ _service ++++++ --- /var/tmp/diff_new_pack.9Igu5i/_old 2022-06-09 14:09:49.388369601 +0200 +++ /var/tmp/diff_new_pack.9Igu5i/_new 2022-06-09 14:09:49.392369606 +0200 @@ -3,7 +3,7 @@ <service name="obs_scm" mode="disabled"> <param name="url">https://gitlab.gnome.org/GNOME/libadwaita.git</param> <param name="scm">git</param> - <param name="revision">refs/tags/1.1.1</param> + <param name="revision">refs/tags/1.1.2</param> <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> <param name="versionrewrite-pattern">(.*)\+0</param> <param name="versionrewrite-replacement">\1</param> ++++++ libadwaita-1.1.1.obscpio -> libadwaita-1.1.2.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/NEWS new/libadwaita-1.1.2/NEWS --- old/libadwaita-1.1.1/NEWS 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/NEWS 2022-06-01 12:44:36.000000000 +0200 @@ -1,4 +1,26 @@ ============= +Version 1.1.2 +============= + +- AdwLeaflet + - Fix child sizing with fold-threshold-policy=natural +- AdwStyleManager + - Correctly handle removing a GdkDisplay +- AdwSwipeTracker + - Fix a memory leak + - Fix high contrast setting name when using a portal +- AdwTabBar + - Fix middle click when inside GtkWindowHandle +- Stylesheet + - Fix action row title and subtitle inside GtkHeaderBar + - Fix progressbar.osd overriding text color + - Ensure active states consistently work with touchscreens + - Fix GtkDropDown visual glitch when pressed on touchscreen +- Translation updates: + - Chinese (Taiwan) + - Nepali + +============= Version 1.1.1 ============= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/meson.build new/libadwaita-1.1.2/meson.build --- old/libadwaita-1.1.1/meson.build 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/meson.build 2022-06-01 12:44:36.000000000 +0200 @@ -1,5 +1,5 @@ project('libadwaita', 'c', - version: '1.1.1', + version: '1.1.2', license: 'LGPL-2.1-or-later', meson_version: '>= 0.59.0', default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 'c_std=gnu11' ], @@ -29,7 +29,7 @@ # to 0. When bumping the second version, set the third one to zero. # # A lot easier than libtool, right? -libversion = '0.1.3' +libversion = '0.1.4' # The so major version of the library soversion = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/po/LINGUAS new/libadwaita-1.1.2/po/LINGUAS --- old/libadwaita-1.1.1/po/LINGUAS 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/po/LINGUAS 2022-06-01 12:44:36.000000000 +0200 @@ -21,6 +21,7 @@ kk ko lt +ne nl oc pl @@ -36,3 +37,4 @@ uk vi zh_CN +zh_TW diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/po/ne.po new/libadwaita-1.1.2/po/ne.po --- old/libadwaita-1.1.1/po/ne.po 1970-01-01 01:00:00.000000000 +0100 +++ new/libadwaita-1.1.2/po/ne.po 2022-06-01 12:44:36.000000000 +0200 @@ -0,0 +1,79 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: Gnome Nepali Translation Project\n" +"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/libadwaita/issues\n" +"POT-Creation-Date: 2022-05-02 11:16+0000\n" +"PO-Revision-Date: 2022-05-09 10:37+0545\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: ne\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" + +#: src/adw-inspector-page.c:76 +msgid "No Preference" +msgstr "?????????????????????????????? ?????????" + +#: src/adw-inspector-page.c:78 +msgid "Prefer Dark" +msgstr "????????????????????? ????????? ?????????????????????????????? ?????????????????????" + +#: src/adw-inspector-page.c:80 +msgid "Prefer Light" +msgstr "?????????????????? ??????????????????????????????" + +#. Translators: The name of the library, not the stylesheet +#: src/adw-inspector-page.c:98 +msgid "Adwaita" +msgstr "???????????????" + +#: src/adw-inspector-page.ui:10 +msgid "System Appearance" +msgstr "????????????????????? ??????????????????" + +#: src/adw-inspector-page.ui:11 +msgid "" +"Override settings for this application. They will be reset upon closing the " +"inspector." +msgstr "" +"?????? ????????????????????????????????? ???????????? ??????????????? ????????????????????? ??????????????????????????? ??? ???????????????????????? ???????????? ??????????????? ????????????????????? ??????????????? ????????????????????????" + +#: src/adw-inspector-page.ui:14 +msgid "System Supports Color Schemes" +msgstr "??????????????????????????? ?????? ??????????????? ?????????????????? ???????????????" + +#: src/adw-inspector-page.ui:26 +msgid "Preferred Color Scheme" +msgstr "???????????????????????? ?????? ???????????????" + +#: src/adw-inspector-page.ui:43 +msgid "High Contrast" +msgstr "???????????? ????????????????????????" + +#: src/adw-preferences-window.c:226 +msgid "Untitled page" +msgstr "?????????????????? ??????????????? ???????????????" + +#: src/adw-preferences-window.ui:8 +msgid "Preferences" +msgstr "??????????????????????????????" + +#: src/adw-preferences-window.ui:69 +msgid "Search" +msgstr "??????????????????????????????" + +#: src/adw-preferences-window.ui:139 +msgid "No Results Found" +msgstr "??????????????? ??????????????????" + +#: src/adw-preferences-window.ui:140 +msgid "Try a different search." +msgstr "????????? ????????? ??????????????? ??????????????????????????? ???." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/po/zh_TW.po new/libadwaita-1.1.2/po/zh_TW.po --- old/libadwaita-1.1.1/po/zh_TW.po 1970-01-01 01:00:00.000000000 +0100 +++ new/libadwaita-1.1.2/po/zh_TW.po 2022-06-01 12:44:36.000000000 +0200 @@ -0,0 +1,77 @@ +# Chinese (Taiwan) translation for libadwaita. +# Copyright (C) 2022 libadwaita's COPYRIGHT HOLDER +# This file is distributed under the same license as the libadwaita package. +# Cheng-Chia Tseng <pswo10...@gmail.com>, 2022. +# +msgid "" +msgstr "" +"Project-Id-Version: libadwaita libadwaita-1-1\n" +"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/libadwaita/issues\n" +"POT-Creation-Date: 2022-05-09 04:57+0000\n" +"PO-Revision-Date: 2022-05-11 23:39+0800\n" +"Last-Translator: Cheng-Chia Tseng <pswo10...@gmail.com>\n" +"Language-Team: Chinese (Taiwan) <chinese-l...@googlegroups.com>\n" +"Language: zh_TW\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 3.0.1\n" + +#: src/adw-inspector-page.c:76 +msgid "No Preference" +msgstr "????????????" + +#: src/adw-inspector-page.c:78 +msgid "Prefer Dark" +msgstr "????????????" + +#: src/adw-inspector-page.c:80 +msgid "Prefer Light" +msgstr "????????????" + +#. Translators: The name of the library, not the stylesheet +#: src/adw-inspector-page.c:98 +msgid "Adwaita" +msgstr "Adwaita" + +#: src/adw-inspector-page.ui:10 +msgid "System Appearance" +msgstr "????????????" + +#: src/adw-inspector-page.ui:11 +msgid "" +"Override settings for this application. They will be reset upon closing the " +"inspector." +msgstr "?????????????????????????????????????????????????????????????????????????????????" + +#: src/adw-inspector-page.ui:14 +msgid "System Supports Color Schemes" +msgstr "????????????????????????" + +#: src/adw-inspector-page.ui:26 +msgid "Preferred Color Scheme" +msgstr "?????????????????????" + +#: src/adw-inspector-page.ui:43 +msgid "High Contrast" +msgstr "?????????" + +#: src/adw-preferences-window.c:226 +msgid "Untitled page" +msgstr "???????????????" + +#: src/adw-preferences-window.ui:8 +msgid "Preferences" +msgstr "????????????" + +#: src/adw-preferences-window.ui:69 +msgid "Search" +msgstr "??????" + +#: src/adw-preferences-window.ui:139 +msgid "No Results Found" +msgstr "???????????????" + +#: src/adw-preferences-window.ui:140 +msgid "Try a different search." +msgstr "???????????????????????????" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/adw-leaflet.c new/libadwaita-1.1.2/src/adw-leaflet.c --- old/libadwaita-1.1.1/src/adw-leaflet.c 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/adw-leaflet.c 2022-06-01 12:44:36.000000000 +0200 @@ -1116,16 +1116,17 @@ { GtkWidget *widget = GTK_WIDGET (self); GtkOrientation orientation = gtk_orientable_get_orientation (GTK_ORIENTABLE (widget)); - GtkAllocation remaining_alloc; GList *directed_children, *children; AdwLeafletPage *page, *visible_child; int min_size, extra_size; - int per_child_extra, n_extra_widgets; + int per_child_extra = 0, n_extra_widgets = 0; int n_visible_children, n_expand_children; int start_pad = 0, end_pad = 0; + int i = 0, position = 0; AdwLeafletTransitionType mode_transition_type; GtkTextDirection direction; gboolean under; + GtkRequestedSize *sizes; visible_child = self->visible_child; if (!visible_child) @@ -1150,6 +1151,8 @@ } } + sizes = g_newa (GtkRequestedSize, n_visible_children); + /* Compute repartition of extra space. */ min_size = 0; @@ -1157,70 +1160,84 @@ for (children = directed_children; children; children = children->next) { page = children->data; - min_size += page->nat.width; + if (!page->visible) + continue; + + min_size += page->min.width; + + sizes[i].minimum_size = page->min.width; + sizes[i].natural_size = page->nat.width; + i++; } - } - else { + + extra_size = MAX (min_size, width); + } else { for (children = directed_children; children; children = children->next) { page = children->data; - min_size += page->nat.height; + if (!page->visible) + continue; + + min_size += page->min.height; + + sizes[i].minimum_size = page->min.height; + sizes[i].natural_size = page->nat.height; + i++; } + + extra_size = MAX (min_size, height); } - remaining_alloc.x = 0; - remaining_alloc.y = 0; - remaining_alloc.width = width; - remaining_alloc.height = height; - - extra_size = orientation == GTK_ORIENTATION_HORIZONTAL ? - remaining_alloc.width - min_size : - remaining_alloc.height - min_size; + g_assert (extra_size >= 0); - per_child_extra = 0, n_extra_widgets = 0; + /* Bring children up to size */ + extra_size -= min_size; + extra_size = MAX (0, extra_size); + extra_size = gtk_distribute_natural_allocation (extra_size, n_visible_children, sizes); + + /* Calculate space which hasn't been distributed yet, + * and is available for expanding children. + */ if (n_expand_children > 0) { per_child_extra = extra_size / n_expand_children; n_extra_widgets = extra_size % n_expand_children; } - /* Compute children allocation */ + /* Allocate sizes */ + i = 0; for (children = directed_children; children; children = children->next) { + int allocated_size; + page = children->data; if (!page->visible) continue; - page->alloc.x = remaining_alloc.x; - page->alloc.y = remaining_alloc.y; + allocated_size = sizes[i].minimum_size; - if (orientation == GTK_ORIENTATION_HORIZONTAL) { - page->alloc.width = page->nat.width; - if (gtk_widget_compute_expand (page->widget, orientation)) { - page->alloc.width += per_child_extra; - if (n_extra_widgets > 0) { - page->alloc.width++; - n_extra_widgets--; - } - } - page->alloc.height = remaining_alloc.height; + if (gtk_widget_compute_expand (page->widget, orientation)) { + allocated_size += per_child_extra; - remaining_alloc.x += page->alloc.width; - remaining_alloc.width -= page->alloc.width; - } - else { - page->alloc.height = page->nat.height; - if (gtk_widget_compute_expand (page->widget, orientation)) { - page->alloc.height += per_child_extra; - if (n_extra_widgets > 0) { - page->alloc.height++; - n_extra_widgets--; - } + if (n_extra_widgets > 0) { + allocated_size++; + n_extra_widgets--; } - page->alloc.width = remaining_alloc.width; + } - remaining_alloc.y += page->alloc.height; - remaining_alloc.height -= page->alloc.height; + if (orientation == GTK_ORIENTATION_HORIZONTAL) { + page->alloc.x = position; + page->alloc.y = 0; + page->alloc.width = allocated_size; + page->alloc.height = height; + } else { + page->alloc.x = 0; + page->alloc.y = position; + page->alloc.width = width; + page->alloc.height = allocated_size; } + + position += allocated_size; + i++; } /* Apply animations. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/adw-settings.c new/libadwaita-1.1.2/src/adw-settings.c --- old/libadwaita-1.1.1/src/adw-settings.c 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/adw-settings.c 2022-06-01 12:44:36.000000000 +0200 @@ -232,7 +232,7 @@ return; } - if (!g_strcmp0 (namespace, "org.gnome.desktop.interface.a11y") && + if (!g_strcmp0 (namespace, "org.gnome.desktop.a11y.interface") && !g_strcmp0 (name, "high-contrast")) { set_high_contrast (self, g_variant_get_boolean (value)); @@ -285,7 +285,7 @@ g_variant_unref (variant); } - if (read_portal_setting (self, "org.gnome.desktop.interface.a11y", + if (read_portal_setting (self, "org.gnome.desktop.a11y.interface", "high-contrast", "b", &variant)) { self->has_high_contrast = TRUE; self->high_contrast = g_variant_get_boolean (variant); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/adw-style-manager.c new/libadwaita-1.1.2/src/adw-style-manager.c --- old/libadwaita-1.1.1/src/adw-style-manager.c 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/adw-style-manager.c 2022-06-01 12:44:36.000000000 +0200 @@ -96,7 +96,7 @@ static void unregister_display (GdkDisplay *display) { - g_assert (!g_hash_table_contains (display_style_managers, display)); + g_assert (g_hash_table_contains (display_style_managers, display)); g_hash_table_remove (display_style_managers, display); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/adw-swipe-tracker.c new/libadwaita-1.1.2/src/adw-swipe-tracker.c --- old/libadwaita-1.1.1/src/adw-swipe-tracker.c 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/adw-swipe-tracker.c 2022-06-01 12:44:36.000000000 +0200 @@ -915,6 +915,16 @@ } static void +adw_swipe_tracker_finalize (GObject *object) +{ + AdwSwipeTracker *self = ADW_SWIPE_TRACKER (object); + + g_array_free (self->event_history, TRUE); + + G_OBJECT_CLASS (adw_swipe_tracker_parent_class)->finalize (object); +} + +static void adw_swipe_tracker_get_property (GObject *object, guint prop_id, GValue *value, @@ -997,6 +1007,7 @@ object_class->constructed = adw_swipe_tracker_constructed; object_class->dispose = adw_swipe_tracker_dispose; + object_class->finalize = adw_swipe_tracker_finalize; object_class->get_property = adw_swipe_tracker_get_property; object_class->set_property = adw_swipe_tracker_set_property; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/adw-tab-box.c new/libadwaita-1.1.2/src/adw-tab-box.c --- old/libadwaita-1.1.1/src/adw-tab-box.c 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/adw-tab-box.c 2022-06-01 12:44:36.000000000 +0200 @@ -2784,8 +2784,11 @@ button = gtk_gesture_single_get_current_button (GTK_GESTURE_SINGLE (gesture)); - if (button == GDK_BUTTON_MIDDLE) + if (button == GDK_BUTTON_MIDDLE) { + gtk_gesture_set_state (gesture, GTK_EVENT_SEQUENCE_CLAIMED); + return; + } if (button != GDK_BUTTON_PRIMARY) { gtk_gesture_set_state (gesture, GTK_EVENT_SEQUENCE_DENIED); @@ -2825,7 +2828,6 @@ button = gtk_gesture_single_get_current_button (GTK_GESTURE_SINGLE (gesture)); if (button == GDK_BUTTON_MIDDLE) { - gtk_gesture_set_state (gesture, GTK_EVENT_SEQUENCE_CLAIMED); adw_tab_view_close_page (self->view, info->page); return; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_checks.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_checks.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_checks.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_checks.scss 2022-06-01 12:44:36.000000000 +0200 @@ -29,11 +29,13 @@ box-shadow: inset 0 0 0 2px $trough_color; } - &:not(:checked):not(:indeterminate):hover { - @if $contrast == 'high' { - box-shadow: inset 0 0 0 2px gtkalpha(currentColor, .6); - } @else { - box-shadow: inset 0 0 0 2px $trough_hover_color; + &:not(:checked):not(:indeterminate) { + &:hover { + @if $contrast == 'high' { + box-shadow: inset 0 0 0 2px gtkalpha(currentColor, .6); + } @else { + box-shadow: inset 0 0 0 2px $trough_hover_color; + } } &:active { @@ -52,11 +54,8 @@ color: $fill_text_color; box-shadow: none; - &:hover { - background-image: image(gtkalpha(currentColor, .1)); - - &:active { background-image: image(transparentize(black, .8)); } - } + &:hover { background-image: image(gtkalpha(currentColor, .1)); } + &:active { background-image: image(transparentize(black, .8)); } } &:disabled { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_dropdowns.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_dropdowns.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_dropdowns.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_dropdowns.scss 2022-06-01 12:44:36.000000000 +0200 @@ -3,8 +3,8 @@ dropdown > button > box { border-spacing: 6px; - > stack > row.activatable:hover { - background: none; + > stack > row.activatable { + &:hover, &:active { background: none; } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_emoji-chooser.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_emoji-chooser.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_emoji-chooser.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_emoji-chooser.scss 2022-06-01 12:44:36.000000000 +0200 @@ -28,10 +28,10 @@ &:focus, &:hover { background: $view_selected_color; + } - &:active { - background: $view_active_color; - } + &:active { + background: $view_active_color; } } @@ -72,9 +72,9 @@ &:hover { background-color: $view_selected_color; color: $view_fg_color; + } - &:active { - background-color: $view_active_color; // matching buttons - } + &:active { + background-color: $view_active_color; // matching buttons } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_expanders.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_expanders.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_expanders.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_expanders.scss 2022-06-01 12:44:36.000000000 +0200 @@ -20,7 +20,8 @@ opacity: .7; } - &:hover > expander { + &:hover > expander, + &:active > expander { opacity: 1; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_header-bar.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_header-bar.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_header-bar.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_header-bar.scss 2022-06-01 12:44:36.000000000 +0200 @@ -114,7 +114,7 @@ } &:hover > image { background-color: $button_hover_color; } - &:hover:active > image { background-color: $button_active_color; } + &:active > image { background-color: $button_active_color; } } > .icon { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_lists.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_lists.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_lists.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_lists.scss 2022-06-01 12:44:36.000000000 +0200 @@ -95,6 +95,15 @@ margin-top: 6px; margin-bottom: 6px; border-spacing: 3px; + padding: 0; + + // Specificity bump for header bar + &, + > .title, + > .subtitle { + padding: 0; + font-weight: inherit; + } } } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_menus.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_menus.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_menus.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_menus.scss 2022-06-01 12:44:36.000000000 +0200 @@ -82,7 +82,10 @@ &, &:hover:checked, &:hover:indeterminate, - &:hover:not(:checked):not(:indeterminate) { + &:hover:not(:checked):not(:indeterminate), + &:active:checked, + &:active:indeterminate, + &:active:not(:checked):not(:indeterminate), { background: none; box-shadow: none; color: inherit; @@ -127,10 +130,10 @@ &:hover, &:selected { background-color: $view_selected_color; + } - &:active { - background-color: $view_selected_active_color; // matching buttons - } + &:active { + background-color: $view_selected_active_color; // matching buttons } arrow { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_notebook.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_notebook.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_notebook.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_notebook.scss 2022-06-01 12:44:36.000000000 +0200 @@ -124,7 +124,7 @@ font-weight: normal; - &:hover { + &:hover, &:active { background-color: $view_hover_color; } @@ -143,7 +143,7 @@ // colors the button like the label, overridden otherwise button.flat { color: gtkalpha(currentColor, 0.3); - &:hover { color: currentColor; } + &:hover, &:active { color: currentColor; } padding: 0; margin-top: 4px; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_progress-bar.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_progress-bar.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_progress-bar.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_progress-bar.scss 2022-06-01 12:44:36.000000000 +0200 @@ -56,10 +56,12 @@ } } - &.osd { // progressbar.osd used for epiphany page loading progress + &.osd { + // Thin progress bar with no trough, usually goes under the header bar min-width: 2px; min-height: 2px; background-color: transparent; + color: inherit; > trough { border-style: none; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_scale.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_scale.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_scale.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_scale.scss 2022-06-01 12:44:36.000000000 +0200 @@ -53,7 +53,7 @@ } } - &:hover { + &:hover, &:active { > trough { background-color: $trough_hover_color; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_scrolling.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_scrolling.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_scrolling.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_scrolling.scss 2022-06-01 12:44:36.000000000 +0200 @@ -33,13 +33,13 @@ &:hover { background-color: gtkalpha(currentColor, .6); } - &:hover:active { background-color: currentColor; } + &:active { background-color: currentColor; } } @else { background-color: gtkalpha(currentColor, .2); &:hover { background-color: gtkalpha(currentColor, .4); } - &:hover:active { background-color: gtkalpha(currentColor, .6); } + &:active { background-color: gtkalpha(currentColor, .6); } } &:disabled { opacity: 0; } @@ -156,7 +156,7 @@ &.vertical > range > trough > slider { min-height: $_slider_min_length; } > range.fine-tune > trough > slider { - &, &:hover, &:hover:active { + &, &:hover, &:active { background-color: if($contrast == 'high', $accent_color, gtkalpha($accent_color, .6)); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_switch.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_switch.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_switch.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_switch.scss 2022-06-01 12:44:36.000000000 +0200 @@ -7,11 +7,8 @@ background-color: $trough_color; - &:hover:not(:checked) { - background-color: $trough_hover_color; - - &:active { background-color: $trough_active_color; } - } + &:hover { background-color: $trough_hover_color; } + &:active { background-color: $trough_active_color; } > image { color: if($contrast == 'high', white, transparent); } @@ -33,7 +30,8 @@ } } - &:hover > slider { + &:hover > slider, + &:active > slider { background: $slider_hover_color; } @@ -41,11 +39,8 @@ color: $fill_text_color; background-color: $fill_color; - &:hover { - background-image: image(gtkalpha(currentColor, .1)); - - &:active { background-image: image(transparentize(black, .8)); } - } + &:hover { background-image: image(gtkalpha(currentColor, .1)); } + &:active { background-image: image(transparentize(black, .8)); } > slider { background-color: $slider_hover_color; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_tab-view.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_tab-view.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_tab-view.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_tab-view.scss 2022-06-01 12:44:36.000000000 +0200 @@ -88,14 +88,14 @@ background-color: transparent; } - &:hover { + &:hover, &:active { background-image: image(gtkalpha(currentColor, .03)); } &.needs-attention { background-image: $tab_needs_attention_gradient; - &:hover { + &:hover, &:active { background-image: image(gtkalpha(currentColor, .03)), $tab_needs_attention_gradient; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_toolbars.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_toolbars.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_toolbars.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_toolbars.scss 2022-06-01 12:44:36.000000000 +0200 @@ -195,7 +195,7 @@ background-image: image(gtkalpha(currentColor, .05)); } - &.action:hover:active > revealer > box { + &.action:active > revealer > box { background-image: image(gtkalpha(currentColor, .1)); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libadwaita-1.1.1/src/stylesheet/widgets/_trees.scss new/libadwaita-1.1.2/src/stylesheet/widgets/_trees.scss --- old/libadwaita-1.1.1/src/stylesheet/widgets/_trees.scss 2022-04-22 23:57:45.000000000 +0200 +++ new/libadwaita-1.1.2/src/stylesheet/widgets/_trees.scss 2022-06-01 12:44:36.000000000 +0200 @@ -46,7 +46,7 @@ color: gtkalpha(currentColor, .7); - &:hover { color: currentColor; } + &:hover, &:active { color: currentColor; } &:checked { -gtk-icon-source: -gtk-icontheme('pan-down-symbolic'); } ++++++ libadwaita.obsinfo ++++++ --- /var/tmp/diff_new_pack.9Igu5i/_old 2022-06-09 14:09:49.668369976 +0200 +++ /var/tmp/diff_new_pack.9Igu5i/_new 2022-06-09 14:09:49.672369982 +0200 @@ -1,5 +1,5 @@ name: libadwaita -version: 1.1.1 -mtime: 1650664665 -commit: 5ec9f624b23bf78b29dd708e77ccdfcee0a9867a +version: 1.1.2 +mtime: 1654080276 +commit: 284e8e698b8438ea6b02a4a46e5531137efc4c89