Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package breeze-gtk for openSUSE:Factory checked in at 2023-04-05 21:26:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/breeze-gtk (Old) and /work/SRC/openSUSE:Factory/.breeze-gtk.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "breeze-gtk" Wed Apr 5 21:26:14 2023 rev:132 rq:1077261 version:5.27.4 Changes: -------- --- /work/SRC/openSUSE:Factory/breeze-gtk/breeze-gtk.changes 2023-03-17 17:01:14.724731961 +0100 +++ /work/SRC/openSUSE:Factory/.breeze-gtk.new.19717/breeze-gtk.changes 2023-04-05 21:33:56.825983563 +0200 @@ -1,0 +2,16 @@ +Tue Apr 4 15:05:32 UTC 2023 - Fabian Vogt <fab...@ritter-vogt.de> + +- Update to 5.27.4 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/plasma/5/5.27.4 +- Changes since 5.27.3: + * gtk4/windowcontrols: reduce right margin of close button + * gtk3/titlebutton: extend control area to window borders + * gtk4/windowcontrols: extend control area to window borders (kde#414777) + * iconhelper: Query size via CSS + * gtk4/aboutdialog: set icon size for large icons + * gtk4/theme: Use 0.5 opacity for disabled pictures + * menus: make size react to fractional scaling + +------------------------------------------------------------------- Old: ---- breeze-gtk-5.27.3.tar.xz breeze-gtk-5.27.3.tar.xz.sig New: ---- breeze-gtk-5.27.4.tar.xz breeze-gtk-5.27.4.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ breeze-gtk.spec ++++++ --- /var/tmp/diff_new_pack.UmyGNw/_old 2023-04-05 21:33:57.413986919 +0200 +++ /var/tmp/diff_new_pack.UmyGNw/_new 2023-04-05 21:33:57.421986965 +0200 @@ -19,7 +19,7 @@ %define _name breeze Name: breeze-gtk -Version: 5.27.3 +Version: 5.27.4 Release: 0 Summary: GTK+ theme matching KDE's Breeze License: LGPL-2.1-only ++++++ breeze-gtk-5.27.3.tar.xz -> breeze-gtk-5.27.4.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/breeze-gtk-5.27.3/CMakeLists.txt new/breeze-gtk-5.27.4/CMakeLists.txt --- old/breeze-gtk-5.27.3/CMakeLists.txt 2023-03-14 13:21:08.000000000 +0100 +++ new/breeze-gtk-5.27.4/CMakeLists.txt 2023-04-04 12:35:19.000000000 +0200 @@ -1,5 +1,5 @@ project(breeze-gtk) -set(PROJECT_VERSION "5.27.3") +set(PROJECT_VERSION "5.27.4") set(PROJECT_VERSION_MAJOR 5) cmake_minimum_required(VERSION 3.16) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/breeze-gtk-5.27.3/src/_functions.scss new/breeze-gtk-5.27.4/src/_functions.scss --- old/breeze-gtk-5.27.3/src/_functions.scss 2023-03-14 13:21:08.000000000 +0100 +++ new/breeze-gtk-5.27.4/src/_functions.scss 2023-04-04 12:35:19.000000000 +0200 @@ -254,7 +254,7 @@ Inactive: $InactiveIntensityEffect, ); -$r: 3px; // standard radius +$r: 0.75mm; // standard radius @function internal_insensitive($c) { @return internal_Color( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/breeze-gtk-5.27.3/src/gtk3/widgets/_dialogs.scss new/breeze-gtk-5.27.4/src/gtk3/widgets/_dialogs.scss --- old/breeze-gtk-5.27.3/src/gtk3/widgets/_dialogs.scss 2023-03-14 13:21:08.000000000 +0100 +++ new/breeze-gtk-5.27.4/src/gtk3/widgets/_dialogs.scss 2023-04-04 12:35:19.000000000 +0200 @@ -57,3 +57,13 @@ border-bottom: 1px solid gtk("@borders"); } } + +// Icon sizes + +.normal-icons { + -gtk-icon-size: 16px; +} + +.large-icons { + -gtk-icon-size: 32px; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/breeze-gtk-5.27.3/src/gtk3/widgets/_menus.scss new/breeze-gtk-5.27.4/src/gtk3/widgets/_menus.scss --- old/breeze-gtk-5.27.3/src/gtk3/widgets/_menus.scss 2023-03-14 13:21:08.000000000 +0100 +++ new/breeze-gtk-5.27.4/src/gtk3/widgets/_menus.scss 2023-04-04 12:35:19.000000000 +0200 @@ -17,8 +17,8 @@ } > menuitem { - min-height: 18px; - padding: 5px 10px; + min-height: 4.5mm; + padding: 1.25mm 2.5mm; @if $new-highlight { border-bottom: 3px solid transparent; } @@ -61,7 +61,7 @@ menu, .menu { - padding: 4px; + padding: 1mm; background-color: gtkmix(gtk("@theme_bg_color"), gtk("@theme_base_color"), 0.3); border-radius: $r; @@ -69,20 +69,20 @@ // axes borders in a composited env separator { color: gtk("@borders"); - margin: 3px 0; + margin: 0.75mm 0; } menuitem { text-shadow: none; - min-height: 18px; - min-width: 40px; - padding: 3px 8px; + min-height: 4.5mm; + min-width: 10mm; + padding: 0.75mm 2mm; border: 1px solid transparent; &:hover { background-color: gtkalpha(gtk("@theme_selected_bg_color"), 0.3); border: 1px solid gtk("@theme_button_decoration_focus"); - border-radius: 3px; + border-radius: $r; } &:disabled { @@ -101,39 +101,39 @@ // submenu indicators arrow { - min-height: 16px; - min-width: 16px; + min-height: 4mm; + min-width: 4mm; &:dir(ltr) { -gtk-icon-source: -gtk-icontheme($arrow_right); - margin-left: 10px; + margin-left: 2.5mm; } &:dir(rtl) { -gtk-icon-source: -gtk-icontheme( "go-next-rtl-symbolic" ); - margin-right: 10px; + margin-right: 2.5mm; } } } // overflow arrows > arrow { - min-height: 16px; - min-width: 16px; - padding: 4px; + min-height: 4mm; + min-width: 4mm; + padding: 1mm; background-color: transparent; border-radius: 0; &.top { - margin-top: -6px; + margin-top: -1.5mm; border: none; -gtk-icon-source: -gtk-icontheme($arrow_up); } &.bottom { - margin-bottom: -6px; + margin-bottom: -1.5mm; border: none; -gtk-icon-source: -gtk-icontheme($arrow_down); } @@ -164,10 +164,10 @@ check, radio { &:dir(ltr) { - margin-right: 6px; + margin-right: 1.5mm; } &:dir(rtl) { - margin-left: 6px; + margin-left: 1.5mm; } } } @@ -175,13 +175,13 @@ * Popovers * ***************/ popover { - padding: 4px; + padding: 1mm; } /* menu buttons */ modelbutton.flat, .menuitem.button.flat { - min-height: 16px; - padding: 7px 8px; + min-height: 4mm; + padding: 1.75mm 2mm; border: 1px solid transparent; @extend %undecorated_button; @@ -189,7 +189,7 @@ &:hover { background-color: gtkalpha(gtk("@theme_selected_bg_color"), 0.3); border: 1px solid gtk("@theme_button_decoration_focus"); - border-radius: 3px; + border-radius: 4px; } &:selected { background-color: gtk("@theme_button_decoration_focus"); @@ -239,11 +239,11 @@ $shadow: rgba(0, 0, 0, 0.25); padding: 0px; - border-radius: 3px; + border-radius: $r; background-color: gtk("@theme_bg_color"); - box-shadow: 0px 0px 8px $shadow, - 0px 1px 4px scale-color($shadow, $alpha: -40%); + box-shadow: 0px 0px 2mm $shadow, + 0px 0.25mm 1mm scale-color($shadow, $alpha: -40%); &:backdrop { box-shadow: none; @@ -274,7 +274,7 @@ } separator { - margin: 3px 0; + margin: 0.75mm 0; } list separator { @@ -312,5 +312,5 @@ // } GtkVolumeButton.button { - padding: 5px; + padding: 1.25mm; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/breeze-gtk-5.27.3/src/gtk3/widgets/_window_decorations.scss new/breeze-gtk-5.27.4/src/gtk3/widgets/_window_decorations.scss --- old/breeze-gtk-5.27.3/src/gtk3/widgets/_window_decorations.scss 2023-03-14 13:21:08.000000000 +0100 +++ new/breeze-gtk-5.27.4/src/gtk3/widgets/_window_decorations.scss 2023-04-04 12:35:19.000000000 +0200 @@ -74,13 +74,12 @@ .titlebar { &.default-decoration button.titlebutton { padding: 1px; - min-height: 18px; - min-width: 18px; + min-height: 24px; + min-width: 24px; margin: 0; } - $titlebutton-size: 18px 18px; + $titlebutton-size: 24px 24px; button.titlebutton { - padding: 1px; &:hover, &:active, &:checked, @@ -88,12 +87,29 @@ &:active:hover { } + $extra_margin: 12px; + $extra_padding: $extra_margin*2; // extend to screen border + + margin-top: -$extra_margin; + padding-top: $extra_padding; + margin-bottom: -$extra_margin; + padding-bottom: $extra_padding; + + &:dir(ltr) { + margin-right: -$extra_margin/2; + padding-right: $extra_margin; + } + + &:dir(rtl) { + margin-left: -$extra_margin/2; + padding-left: $extra_margin; + } + image { color: transparent; } &.close { - padding: 1px; border-image: none; box-shadow: none; background-position: center; @@ -128,7 +144,6 @@ } &.maximize { - padding: 1px; border-image: none; box-shadow: none; background-position: center; @@ -141,7 +156,6 @@ &.maximize:hover { border-color: transparent; background-color: transparent; - background-size: contain; background-image: -gtk-recolor( url("../assets/breeze-maximize-hover-symbolic.svg") ); @@ -162,7 +176,6 @@ } &.minimize { - padding: 1px; border-image: none; box-shadow: none; background-position: center; @@ -198,7 +211,6 @@ .maximized & { button.titlebutton { &.maximize { - padding: 1px; border-image: none; box-shadow: none; background-position: center; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/breeze-gtk-5.27.3/src/gtk4/widgets/_base.scss new/breeze-gtk-5.27.4/src/gtk4/widgets/_base.scss --- old/breeze-gtk-5.27.3/src/gtk4/widgets/_base.scss 2023-03-14 13:21:08.000000000 +0100 +++ new/breeze-gtk-5.27.4/src/gtk4/widgets/_base.scss 2023-04-04 12:35:19.000000000 +0200 @@ -250,3 +250,7 @@ } } } + +picture:disabled { + opacity: 0.5; +} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/breeze-gtk-5.27.3/src/gtk4/widgets/_dialogs.scss new/breeze-gtk-5.27.4/src/gtk4/widgets/_dialogs.scss --- old/breeze-gtk-5.27.3/src/gtk4/widgets/_dialogs.scss 2023-03-14 13:21:08.000000000 +0100 +++ new/breeze-gtk-5.27.4/src/gtk4/widgets/_dialogs.scss 2023-04-04 12:35:19.000000000 +0200 @@ -72,3 +72,17 @@ } } } + +// Icon sizes + +.normal-icons { + -gtk-icon-size: 16px; +} + +.large-icons { + -gtk-icon-size: 32px; +} + +window.aboutdialog image.large-icons { + -gtk-icon-size: 128px; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/breeze-gtk-5.27.3/src/gtk4/widgets/_menus.scss new/breeze-gtk-5.27.4/src/gtk4/widgets/_menus.scss --- old/breeze-gtk-5.27.3/src/gtk4/widgets/_menus.scss 2023-03-14 13:21:08.000000000 +0100 +++ new/breeze-gtk-5.27.4/src/gtk4/widgets/_menus.scss 2023-04-04 12:35:19.000000000 +0200 @@ -6,7 +6,7 @@ accelerator { opacity: 0.5; - margin-left: 10px; + margin-left: 2.5mm; } menubar, @@ -21,8 +21,8 @@ } > item { - min-height: 18px; - padding: 5px 10px; + min-height: 4.5mm; + padding: 1.25mm 2.5mm; @if $new-highlight { border-bottom: 3px solid transparent; } @@ -67,28 +67,28 @@ background-color: transparent; contents, > arrow { - padding: 4px; + padding: 4px; // Use px to avoid overflow when using fractional scaling background-color: gtkmix(gtk("@theme_bg_color"), gtk("@theme_base_color"), 0.3); border: 1px solid gtk("@borders"); - border-radius: $r * 2; + border-radius: $r; } // axes borders in a composited env separator { color: gtk("@borders"); - margin: 3px 0; + margin: 0.75mm 0; } modelbutton { text-shadow: none; - min-height: 18px; - min-width: 40px; - padding: 3px 8px; + min-height: 4.5mm; + min-width: 10mm; + padding: 0.75mm 2mm; border: 1px solid transparent; @if $new-highlight { border: 1px solid transparent; - margin: 4px; + margin: 1mm; } accelerator { @@ -97,13 +97,13 @@ check, radio { &:dir(ltr) { - margin-right: 6px; + margin-right: 1.5mm; } &:dir(rtl) { - margin-left: 6px; + margin-left: 1.5mm; } } - + arrow.left { -gtk-icon-source: -gtk-icontheme($arrow_left); } @@ -114,8 +114,8 @@ &:hover { background-color: gtkalpha(gtk("@theme_selected_bg_color"), 0.3); - border: 1px solid gtk("@theme_button_decoration_focus"); - border-radius: 3px; + border: 1px solid gtk("@theme_button_decoration_focus"); // Use px to avoid strange thickness when fractional scaling is used + border-radius: $r; } &:disabled { @@ -135,5 +135,5 @@ } GtkVolumeButton.button { - padding: 5px; + padding: 1.25mm; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/breeze-gtk-5.27.3/src/gtk4/widgets/_window_decorations.scss new/breeze-gtk-5.27.4/src/gtk4/widgets/_window_decorations.scss --- old/breeze-gtk-5.27.3/src/gtk4/widgets/_window_decorations.scss 2023-03-14 13:21:08.000000000 +0100 +++ new/breeze-gtk-5.27.4/src/gtk4/widgets/_window_decorations.scss 2023-04-04 12:35:19.000000000 +0200 @@ -75,171 +75,75 @@ headerbar, .titlebar { - &.default-decoration button.titlebutton { - padding: 1px; - min-height: 18px; - min-width: 18px; - margin: 0; - } - $titlebutton-size: 18px 18px; - button.titlebutton { - padding: 1px; - &:hover, - &:active, - &:checked, - &:backdrop, - &:active:hover { + windowcontrols button { + min-height: 24px; + min-width: 24px; + -gtk-icon-size: 24px; + padding: 0; + + $extra_margin: 14px; + $extra_padding: $extra_margin*2; // extend to screen border + + margin-top: -$extra_margin; + padding-top: $extra_padding; + margin-bottom: -$extra_margin; + padding-bottom: $extra_padding; + + &:dir(ltr) { + margin-right: -$extra_margin/2; + padding-right: $extra_margin; + } + + &:dir(rtl) { + margin-left: -$extra_margin/2; + padding-left: $extra_margin; } &.close { - padding: 1px; - border-image: none; - box-shadow: none; - background-position: center; - background-repeat: no-repeat; - background-size: $titlebutton-size; - background-image: -gtk-recolor( - url("../assets/breeze-close-symbolic.svg"), - color gtk("@theme_text_color") - ); - -gtk-icon-source: none; - image { - color: transparent; + &:dir(ltr) { + margin-right: -$extra_margin; } - } - &.close:hover { - border-color: transparent; - background-color: transparent; - background-image: -gtk-recolor( - url("../assets/breeze-close-hover-symbolic.svg") - ); - } - &.close:active { - border-color: transparent; - background-color: transparent; - background-image: -gtk-recolor( - url("../assets/breeze-close-active-symbolic.svg") - ); - } - &.close:backdrop { - border-color: transparent; - background-color: transparent; - background-image: -gtk-recolor( - url("../assets/breeze-close-symbolic.svg") - ); - } - &.maximize { - padding: 1px; - border-image: none; - box-shadow: none; - background-position: center; - background-repeat: no-repeat; - background-size: $titlebutton-size; - background-image: -gtk-recolor( - url("../assets/breeze-maximize-symbolic.svg") - ); - image { - color: transparent; + &:dir(rtl) { + margin-left: -$extra_margin; } } - &.maximize:hover { - border-color: transparent; - background-color: transparent; - background-size: contain; - background-image: -gtk-recolor( - url("../assets/breeze-maximize-hover-symbolic.svg") - ); - } - &.maximize:active { - border-color: transparent; - background-color: transparent; - background-image: -gtk-recolor( - url("../assets/breeze-maximize-active-symbolic.svg") - ); - } - &.maximize:backdrop { + + &.close, + &.close:hover, + &.close:active, + &.close:backdrop, + &.maximize, + &.maximize:hover, + &.maximize:active, + &.maximize:backdrop, + &.minimize, + &.minimize:hover, + &.minimize:active, + &.minimize:backdrop { border-color: transparent; + box-shadow: none; background-color: transparent; - background-image: -gtk-recolor( - url("../assets/breeze-maximize-symbolic.svg") - ); } - &.minimize { - padding: 1px; - border-image: none; - box-shadow: none; - background-position: center; - background-repeat: no-repeat; - background-size: $titlebutton-size; - background-image: -gtk-recolor( - url("../assets/breeze-minimize-symbolic.svg") - ); - image { - color: transparent; + &.close:hover { + color: gtkmix(gtk("@error_color"), white, 0.75); + + &:backdrop { + color: gtk("@error_color"); } } + &.close:active { + color: gtk("@error_color"); + } + + &.maximize:hover, &.minimize:hover { - border-color: transparent; - background-color: transparent; - background-image: -gtk-recolor( - url("../assets/breeze-minimize-hover-symbolic.svg") - ); + opacity: 0.7; } + &.maximize:active, &.minimize:active { - border-color: transparent; - background-color: transparent; - background-image: -gtk-recolor( - url("../assets/breeze-minimize-active-symbolic.svg") - ); - } - &.minimize:backdrop { - border-color: transparent; - background-color: transparent; - background-image: -gtk-recolor( - url("../assets/breeze-minimize-symbolic.svg") - ); - } - } - - .maximized & { - button.titlebutton { - &.maximize { - padding: 1px; - border-image: none; - box-shadow: none; - background-position: center; - background-size: $titlebutton-size; - background-repeat: no-repeat; - background-image: -gtk-recolor( - url("../assets/breeze-maximized-symbolic.svg") - ); - image { - color: transparent; - } - } - &.maximize:hover { - border-color: transparent; - background-color: transparent; - background-image: -gtk-recolor( - url("../assets/breeze-maximized-hover-symbolic.svg") - ); - } - &.maximize:active { - border-color: transparent; - background-color: transparent; - background-image: -gtk-recolor( - url("../assets/breeze-maximized-active-symbolic.svg") - ); - } - &.maximize:backdrop { - border-color: transparent; - background-color: transparent; - background-image: -gtk-recolor( - url("../assets/breeze-maximized-symbolic.svg") - ); - } + opacity: 0.5; } } }