Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package aurorae6 for openSUSE:Factory checked in at 2026-06-18 21:34:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aurorae6 (Old) and /work/SRC/openSUSE:Factory/.aurorae6.new.1981 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aurorae6" Thu Jun 18 21:34:40 2026 rev:19 rq:1359137 version:6.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/aurorae6/aurorae6.changes 2026-05-13 21:37:19.570725442 +0200 +++ /work/SRC/openSUSE:Factory/.aurorae6.new.1981/aurorae6.changes 2026-06-18 21:34:45.893432225 +0200 @@ -1,0 +2,37 @@ +Fri Jun 12 19:07:03 UTC 2026 - Fabian Vogt <[email protected]> + +- Update to 6.7.0: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.7.0 +- Changes since 6.6.91: + * Update version for new release 6.7.0 + * Refresh decoration geometry when maximized state changes without resizing + +------------------------------------------------------------------- +Thu May 28 18:43:37 UTC 2026 - Fabian Vogt <[email protected]> + +- Update to 6.6.91: + * New bugfix release + * For more details see https://kde.org/announcements/plasma/6/6.6.91 +- Changes since 6.6.90: + * Update version for new release 6.6.91 + * v2: Fix rendering with scale factors less than 100% (kde#520272) + +------------------------------------------------------------------- +Sun May 24 11:15:48 UTC 2026 - Fabian Vogt <[email protected]> + +- Update to 6.6.90: + * New feature release + * For more details see https://kde.org/announcements/plasma/6/6.6.90 +- Changes since 6.6.5: + * Update version for new release 6.6.90 + * Don't include quiet packages in feature_summary + * Port to declarative type registration + * Port to ecm_add_qml_module + * v2: Make decoration-maximized-inactive fallback to decoration-maximized (kde#516189) + * Require passing tests and enable LSAN + * v2: Fix menu button (kde#492567) + * Make KF6::Svg a required buildtime dependency + * Update version for new release 6.6.80 + +------------------------------------------------------------------- Old: ---- aurorae-6.6.5.tar.xz aurorae-6.6.5.tar.xz.sig New: ---- aurorae-6.7.0.tar.xz aurorae-6.7.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aurorae6.spec ++++++ --- /var/tmp/diff_new_pack.XQDHok/_old 2026-06-18 21:34:46.853472372 +0200 +++ /var/tmp/diff_new_pack.XQDHok/_new 2026-06-18 21:34:46.853472372 +0200 @@ -16,8 +16,8 @@ # -%define kf6_version 6.18.0 -%define qt6_version 6.9.0 +%define kf6_version 6.26.0 +%define qt6_version 6.10.0 %define rname aurorae # Full Plasma 6 version (e.g. 6.0.0) @@ -26,14 +26,14 @@ %{!?_plasma6_version: %define _plasma6_version %(echo %{_plasma6_bugfix} | awk -F. '{print $1"."$2}')} %bcond_without released Name: aurorae6 -Version: 6.6.5 +Version: 6.7.0 Release: 0 Summary: Themeable window decoration for KWin License: GPL-2.0-or-later URL: https://www.kde.org/ -Source0: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz +Source0: %{rname}-%{version}.tar.xz %if %{with released} -Source1: https://download.kde.org/stable/plasma/%{version}/%{rname}-%{version}.tar.xz.sig +Source1: %{rname}-%{version}.tar.xz.sig Source2: plasma.keyring %endif BuildRequires: kf6-extra-cmake-modules >= %{kf6_version} ++++++ aurorae-6.6.5.tar.xz -> aurorae-6.7.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/.kde-ci.yml new/aurorae-6.7.0/.kde-ci.yml --- old/aurorae-6.6.5/.kde-ci.yml 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/.kde-ci.yml 2026-06-11 11:30:12.000000000 +0200 @@ -13,3 +13,7 @@ 'frameworks/kpackage': '@latest-kf6' 'frameworks/ksvg': '@latest-kf6' 'plasma/kdecoration': '@same' + +Options: + require-passing-tests-on: ['Linux', 'FreeBSD'] + enable-lsan: True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/CMakeLists.txt new/aurorae-6.7.0/CMakeLists.txt --- old/aurorae-6.6.5/CMakeLists.txt 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/CMakeLists.txt 2026-06-11 11:30:12.000000000 +0200 @@ -1,15 +1,15 @@ cmake_minimum_required(VERSION 3.16) -set(PROJECT_VERSION "6.6.5") # Handled by release scripts +set(PROJECT_VERSION "6.7.0") # Handled by release scripts project(aurorae VERSION ${PROJECT_VERSION}) set(CMAKE_C_STANDARD 99) set(CMAKE_CXX_STANDARD 23) set(CMAKE_CXX_STANDARD_REQUIRED ON) -set(PROJECT_DEP_VERSION "6.6.5") +set(PROJECT_DEP_VERSION "6.7.0") set(QT_MIN_VERSION "6.10.0") -set(KF6_MIN_VERSION "6.22.0") +set(KF6_MIN_VERSION "6.26.0") set(KDE_COMPILERSETTINGS_LEVEL "5.82") find_package(ECM ${KF6_MIN_VERSION} REQUIRED NO_MODULE) @@ -29,6 +29,7 @@ include(ECMDeprecationSettings) include(ECMSetupVersion) +include(ECMQmlModule) find_package(Qt6 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Core @@ -121,4 +122,4 @@ ${KDE_INSTALL_LIBEXECDIR} ) -feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) +feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/config/kcm_auroraeconfig.json new/aurorae-6.7.0/config/kcm_auroraeconfig.json --- old/aurorae-6.6.5/config/kcm_auroraeconfig.json 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/config/kcm_auroraeconfig.json 2026-06-11 11:30:12.000000000 +0200 @@ -48,6 +48,7 @@ "Name[hu]": "Aurorae ablakdekoráció", "Name[ia]": "Decoration de fenestra dse Aurorae", "Name[it]": "Decorazione delle finestre Aurorae", + "Name[ja]": "Aurorae ウィンドウの装飾", "Name[ka]": "ფანჯრის დეკორაცია Aurorae", "Name[ko]": "Aurorae 창 장식", "Name[lt]": "Aurorae langų dekoracijos", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/po/ja/aurorae.po new/aurorae-6.7.0/po/ja/aurorae.po --- old/aurorae-6.6.5/po/ja/aurorae.po 1970-01-01 01:00:00.000000000 +0100 +++ new/aurorae-6.7.0/po/ja/aurorae.po 2026-06-11 11:30:12.000000000 +0200 @@ -0,0 +1,126 @@ +# SPDX-FileCopyrightText: 2026 Mint <[email protected]> +msgid "" +msgstr "" +"Project-Id-Version: aurorae\n" +"Report-Msgid-Bugs-To: https://bugs.kde.org\n" +"POT-Creation-Date: 2025-11-20 00:43+0000\n" +"PO-Revision-Date: 2026-05-10 12:51+0900\n" +"Last-Translator: Mint <[email protected]>\n" +"Language-Team: Japanese <[email protected]>\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Accelerator-Marker: &\n" +"X-Text-Markup: kde4\n" +"X-Generator: Lokalize 26.04.1\n" + +#: config/auroraeconfig.cpp:48 +#, kde-format +msgctxt "@item:inlistbox Button size:" +msgid "Tiny" +msgstr "" + +#: config/auroraeconfig.cpp:49 +#, kde-format +msgctxt "@item:inlistbox Button size:" +msgid "Normal" +msgstr "" + +#: config/auroraeconfig.cpp:50 +#, kde-format +msgctxt "@item:inlistbox Button size:" +msgid "Large" +msgstr "" + +#: config/auroraeconfig.cpp:51 +#, kde-format +msgctxt "@item:inlistbox Button size:" +msgid "Very Large" +msgstr "" + +#: config/auroraeconfig.cpp:52 +#, kde-format +msgctxt "@item:inlistbox Button size:" +msgid "Huge" +msgstr "" + +#: config/auroraeconfig.cpp:53 +#, kde-format +msgctxt "@item:inlistbox Button size:" +msgid "Very Huge" +msgstr "" + +#: config/auroraeconfig.cpp:54 +#, kde-format +msgctxt "@item:inlistbox Button size:" +msgid "Oversized" +msgstr "" + +#: config/auroraeconfig.cpp:57 +#, kde-format +msgid "Button size:" +msgstr "" + +#. i18n: ectx: property (windowTitle), widget (QWidget, PlastikConfigDialog) +#: v1/themes/plastik/package/contents/ui/config.ui:14 +#, kde-format +msgid "Config Dialog" +msgstr "" + +#. i18n: ectx: property (title), widget (KButtonGroup, titleAlign) +#: v1/themes/plastik/package/contents/ui/config.ui:23 +#, kde-format +msgid "Title &Alignment" +msgstr "タイトルの配置(&A)" + +#. i18n: ectx: property (text), widget (QRadioButton, kcfg_titleAlignLeft) +#: v1/themes/plastik/package/contents/ui/config.ui:29 +#, kde-format +msgid "Left" +msgstr "左" + +#. i18n: ectx: property (text), widget (QRadioButton, kcfg_titleAlignCenter) +#: v1/themes/plastik/package/contents/ui/config.ui:36 +#, kde-format +msgid "Center" +msgstr "中央" + +#. i18n: ectx: property (text), widget (QRadioButton, kcfg_titleAlignRight) +#: v1/themes/plastik/package/contents/ui/config.ui:43 +#, kde-format +msgid "Right" +msgstr "右" + +#. i18n: ectx: property (whatsThis), widget (QCheckBox, kcfg_coloredBorder) +#: v1/themes/plastik/package/contents/ui/config.ui:53 +#, kde-format +msgid "" +"Check this option if the window border should be painted in the titlebar " +"color. Otherwise it will be painted in the background color." +msgstr "" +"ウィンドウの枠をタイトルバーの色で描画させるには、このオプションをチェックし" +"てください。選択されていない場合、背景色で描画します。" + +#. i18n: ectx: property (text), widget (QCheckBox, kcfg_coloredBorder) +#: v1/themes/plastik/package/contents/ui/config.ui:56 +#, kde-format +msgid "Colored window border" +msgstr "色付きのウィンドウ枠" + +#. i18n: ectx: property (whatsThis), widget (QCheckBox, kcfg_animateButtons) +#: v1/themes/plastik/package/contents/ui/config.ui:66 +#, kde-format +msgid "" +"Check this option if you want the buttons to fade in when the mouse pointer " +"hovers over them and fade out again when it moves away." +msgstr "" +"マウスがボタン上に来たらフェードイン、外れたらフェードアウトさせるには、この" +"オプションをチェックしてください。" + +#. i18n: ectx: property (text), widget (QCheckBox, kcfg_animateButtons) +#: v1/themes/plastik/package/contents/ui/config.ui:69 +#, kde-format +msgid "Animate buttons" +msgstr "ボタンのアニメーション表示" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/po/nb/aurorae.po new/aurorae-6.7.0/po/nb/aurorae.po --- old/aurorae-6.6.5/po/nb/aurorae.po 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/po/nb/aurorae.po 2026-06-11 11:30:12.000000000 +0200 @@ -7,7 +7,7 @@ "POT-Creation-Date: 2025-11-20 00:43+0000\n" "PO-Revision-Date: 2025-03-22 18:24+0100\n" "Last-Translator: Martin Hansen <[email protected]>\n" -"Language-Team: Norwegian Bokmål <[email protected]>\n" +"Language-Team: Norwegian Bokmål <[email protected]>\n" "Language: nb\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/po/nn/aurorae.po new/aurorae-6.7.0/po/nn/aurorae.po --- old/aurorae-6.6.5/po/nn/aurorae.po 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/po/nn/aurorae.po 2026-06-11 11:30:12.000000000 +0200 @@ -7,7 +7,7 @@ "POT-Creation-Date: 2025-11-20 00:43+0000\n" "PO-Revision-Date: 2026-04-26 13:44+0200\n" "Last-Translator: Karl Ove Hufthammer <[email protected]>\n" -"Language-Team: Norwegian Nynorsk <[email protected]>\n" +"Language-Team: Norwegian Nynorsk <[email protected]>\n" "Language: nn\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/v1/CMakeLists.txt new/aurorae-6.7.0/v1/CMakeLists.txt --- old/aurorae-6.6.5/v1/CMakeLists.txt 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/v1/CMakeLists.txt 2026-06-11 11:30:12.000000000 +0200 @@ -31,11 +31,10 @@ install(TARGETS aurorae_v1 DESTINATION ${KDE_INSTALL_PLUGINDIR}/org.kde.kdecoration3) -add_library(decorationplugin SHARED) +ecm_add_qml_module(decorationplugin URI org.kde.kwin.decoration VERSION 0.1 GENERATE_PLUGIN_SOURCE) target_sources(decorationplugin PRIVATE colorhelper.cpp decorationoptions.cpp - decorationplugin.cpp ) target_compile_definitions(decorationplugin PRIVATE -DTRANSLATION_DOMAIN=\"aurorae\" @@ -45,7 +44,16 @@ KF6::ColorScheme Qt::Quick ) -install(TARGETS decorationplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kwin/decoration) + +ecm_target_qml_sources(decorationplugin SOURCES + qml/AppMenuButton.qml + qml/ButtonGroup.qml + qml/Decoration.qml + qml/DecorationButton.qml + qml/MenuButton.qml +) + +ecm_finalize_qml_module(decorationplugin) install( FILES @@ -61,16 +69,4 @@ ${KDE_INSTALL_DATADIR}/kwin/aurorae ) -install( - FILES - qml/AppMenuButton.qml - qml/ButtonGroup.qml - qml/Decoration.qml - qml/DecorationButton.qml - qml/MenuButton.qml - qml/qmldir - DESTINATION - ${KDE_INSTALL_QMLDIR}/org/kde/kwin/decoration -) - add_subdirectory(themes) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/v1/colorhelper.h new/aurorae-6.7.0/v1/colorhelper.h --- old/aurorae-6.6.5/v1/colorhelper.h 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/v1/colorhelper.h 2026-06-11 11:30:12.000000000 +0200 @@ -8,6 +8,8 @@ #include <QColor> #include <QObject> +#include <qqmlregistration.h> + /** * @short Helper to manipulate colors. * @@ -16,6 +18,7 @@ class ColorHelper : public QObject { Q_OBJECT + QML_ELEMENT /** * Same as KGlobalSettings::contrastF. */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/v1/decorationoptions.h new/aurorae-6.7.0/v1/decorationoptions.h --- old/aurorae-6.6.5/v1/decorationoptions.h 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/v1/decorationoptions.h 2026-06-11 11:30:12.000000000 +0200 @@ -11,6 +11,7 @@ #include <QFont> #include <QObject> #include <QPalette> +#include <qqmlregistration.h> namespace Aurorae { @@ -132,6 +133,8 @@ class DecorationOptions : public QObject { Q_OBJECT + QML_ELEMENT + /** * The decoration Object for which this set of options should be used. The decoration is * required to get the correct colors and fonts depending on whether the decoration represents @@ -255,6 +258,8 @@ class Borders : public QObject { Q_OBJECT + QML_ELEMENT + Q_PROPERTY(int left READ left WRITE setLeft NOTIFY leftChanged) Q_PROPERTY(int right READ right WRITE setRight NOTIFY rightChanged) Q_PROPERTY(int top READ top WRITE setTop NOTIFY topChanged) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/v1/decorationplugin.cpp new/aurorae-6.7.0/v1/decorationplugin.cpp --- old/aurorae-6.6.5/v1/decorationplugin.cpp 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/v1/decorationplugin.cpp 1970-01-01 01:00:00.000000000 +0100 @@ -1,19 +0,0 @@ -/* - SPDX-FileCopyrightText: 2012 Martin Gräßlin <[email protected]> - - SPDX-License-Identifier: GPL-2.0-or-later -*/ -#include "decorationplugin.h" -#include "colorhelper.h" -#include "decorationoptions.h" -#include <QQmlEngine> - -void DecorationPlugin::registerTypes(const char *uri) -{ - Q_ASSERT(QLatin1String(uri) == QLatin1String("org.kde.kwin.decoration")); - qmlRegisterType<ColorHelper>(uri, 0, 1, "ColorHelper"); - qmlRegisterType<Aurorae::DecorationOptions>(uri, 0, 1, "DecorationOptions"); - qmlRegisterType<Aurorae::Borders>(uri, 0, 1, "Borders"); -} - -#include "moc_decorationplugin.cpp" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/v1/decorationplugin.h new/aurorae-6.7.0/v1/decorationplugin.h --- old/aurorae-6.6.5/v1/decorationplugin.h 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/v1/decorationplugin.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,15 +0,0 @@ -/* - SPDX-FileCopyrightText: 2012 Martin Gräßlin <[email protected]> - - SPDX-License-Identifier: GPL-2.0-or-later -*/ -#pragma once -#include <QQmlExtensionPlugin> - -class DecorationPlugin : public QQmlExtensionPlugin -{ - Q_PLUGIN_METADATA(IID "org.kde.kwin.decoration") - Q_OBJECT -public: - void registerTypes(const char *uri) override; -}; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/v1/qml/qmldir new/aurorae-6.7.0/v1/qml/qmldir --- old/aurorae-6.6.5/v1/qml/qmldir 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/v1/qml/qmldir 1970-01-01 01:00:00.000000000 +0100 @@ -1,8 +0,0 @@ -module org.kde.kwin.decoration -plugin decorationplugin - -Decoration 0.1 Decoration.qml -DecorationButton 0.1 DecorationButton.qml -MenuButton 0.1 MenuButton.qml -AppMenuButton 0.1 AppMenuButton.qml -ButtonGroup 0.1 ButtonGroup.qml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/v1/themes/plastik/package/metadata.json new/aurorae-6.7.0/v1/themes/plastik/package/metadata.json --- old/aurorae-6.6.5/v1/themes/plastik/package/metadata.json 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/v1/themes/plastik/package/metadata.json 2026-06-11 11:30:12.000000000 +0200 @@ -54,6 +54,7 @@ "Description[hu]": "A KDE 3-ból ismert klasszikus téma", "Description[ia]": "Le thema classic cognoscite ex KDE 3", "Description[it]": "Il tema classico conosciuto dai tempi di KDE 3", + "Description[ja]": "KDE 3 の昔懐かしいテーマ", "Description[ka]": "კლასიკური თემა KDE 3 -დან", "Description[ko]": "KDE 3의 고전 테마", "Description[lt]": "Klasikinis apipavidalinimas, žinomas iš KDE 3", @@ -89,6 +90,7 @@ "Name[hu]": "Plastik", "Name[ia]": "Plastik", "Name[it]": "Plastik", + "Name[ja]": "Plastik", "Name[ka]": "Plastik", "Name[ko]": "Plastik", "Name[lt]": "Plastik", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/v2/decoration.cpp new/aurorae-6.7.0/v2/decoration.cpp --- old/aurorae-6.6.5/v2/decoration.cpp 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/v2/decoration.cpp 2026-06-11 11:30:12.000000000 +0200 @@ -10,6 +10,7 @@ #include "decorationbuttongroup.h" #include "decorationtheme.h" #include "decorationthemeprovider.h" +#include "util.h" #include <KConfigGroup> #include <KDecoration3/DecoratedWindow> @@ -67,43 +68,43 @@ m_auroraerc = KSharedConfig::openConfig(QStringLiteral("auroraerc")); updateButtonSizeFactor(); - const qreal devicePixelRatio = window()->scale(); + const qreal svgDevicePixelRatio = frameSvgScale(window()->scale()); m_decoration = std::make_unique<KSvg::FrameSvg>(); m_decoration->setImagePath(m_theme->decorationPath()); m_decoration->setElementPrefix(QStringLiteral("decoration")); m_decoration->setEnabledBorders(KSvg::FrameSvg::AllBorders); - m_decoration->setDevicePixelRatio(devicePixelRatio); + m_decoration->setDevicePixelRatio(svgDevicePixelRatio); m_decorationInactive = std::make_unique<KSvg::FrameSvg>(); m_decorationInactive->setImagePath(m_theme->decorationPath()); m_decorationInactive->setElementPrefix(m_decoration->hasElementPrefix(QStringLiteral("decoration-inactive")) ? QStringLiteral("decoration-inactive") : m_decoration->prefix()); m_decorationInactive->setEnabledBorders(KSvg::FrameSvg::AllBorders); - m_decorationInactive->setDevicePixelRatio(devicePixelRatio); + m_decorationInactive->setDevicePixelRatio(svgDevicePixelRatio); m_decorationMaximized = std::make_unique<KSvg::FrameSvg>(); m_decorationMaximized->setImagePath(m_theme->decorationPath()); m_decorationMaximized->setElementPrefix(m_decoration->hasElementPrefix(QStringLiteral("decoration-maximized")) ? QStringLiteral("decoration-maximized") : m_decoration->prefix()); m_decorationMaximized->setEnabledBorders(KSvg::FrameSvg::NoBorder); - m_decorationMaximized->setDevicePixelRatio(devicePixelRatio); + m_decorationMaximized->setDevicePixelRatio(svgDevicePixelRatio); m_decorationMaximizedInactive = std::make_unique<KSvg::FrameSvg>(); m_decorationMaximizedInactive->setImagePath(m_theme->decorationPath()); m_decorationMaximizedInactive->setElementPrefix(m_decorationInactive->hasElementPrefix(QStringLiteral("decoration-maximized-inactive")) ? QStringLiteral("decoration-maximized-inactive") : m_decorationMaximized->prefix()); m_decorationMaximizedInactive->setEnabledBorders(KSvg::FrameSvg::NoBorder); - m_decorationMaximizedInactive->setDevicePixelRatio(devicePixelRatio); + m_decorationMaximizedInactive->setDevicePixelRatio(svgDevicePixelRatio); if (m_decoration->hasElementPrefix(QStringLiteral("innerborder"))) { m_innerBorder = std::make_unique<KSvg::FrameSvg>(); m_innerBorder->setImagePath(m_theme->decorationPath()); m_innerBorder->setElementPrefix(QStringLiteral("innerborder")); - m_innerBorder->setDevicePixelRatio(devicePixelRatio); + m_innerBorder->setDevicePixelRatio(svgDevicePixelRatio); } if (m_decoration->hasElementPrefix(QStringLiteral("innerborder-inactive"))) { m_innerBorderInactive = std::make_unique<KSvg::FrameSvg>(); m_innerBorderInactive->setImagePath(m_theme->decorationPath()); m_innerBorderInactive->setElementPrefix(QStringLiteral("innerborder-inactive")); - m_innerBorderInactive->setDevicePixelRatio(devicePixelRatio); + m_innerBorderInactive->setDevicePixelRatio(svgDevicePixelRatio); } if (m_decoration->hasElementPrefix(QStringLiteral("mask"))) { @@ -307,6 +308,7 @@ { updateBorders(); updateResizeOnlyBorders(); + updateSize(); updateTitleBar(); positionButtons(); updateCaption(); @@ -323,18 +325,18 @@ void Decoration::onWindowScaleChanged() { - const qreal devicePixelRatio = window()->scale(); + const qreal svgDevicePixelRatio = frameSvgScale(window()->scale()); - m_decoration->setDevicePixelRatio(devicePixelRatio); - m_decorationInactive->setDevicePixelRatio(devicePixelRatio); - m_decorationMaximized->setDevicePixelRatio(devicePixelRatio); - m_decorationMaximizedInactive->setDevicePixelRatio(devicePixelRatio); + m_decoration->setDevicePixelRatio(svgDevicePixelRatio); + m_decorationInactive->setDevicePixelRatio(svgDevicePixelRatio); + m_decorationMaximized->setDevicePixelRatio(svgDevicePixelRatio); + m_decorationMaximizedInactive->setDevicePixelRatio(svgDevicePixelRatio); if (m_innerBorder) { - m_innerBorder->setDevicePixelRatio(devicePixelRatio); + m_innerBorder->setDevicePixelRatio(svgDevicePixelRatio); } if (m_innerBorderInactive) { - m_innerBorderInactive->setDevicePixelRatio(devicePixelRatio); + m_innerBorderInactive->setDevicePixelRatio(svgDevicePixelRatio); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/v2/decorationbutton.cpp new/aurorae-6.7.0/v2/decorationbutton.cpp --- old/aurorae-6.6.5/v2/decorationbutton.cpp 2026-05-12 12:21:33.000000000 +0200 +++ new/aurorae-6.7.0/v2/decorationbutton.cpp 2026-06-11 11:30:12.000000000 +0200 @@ -5,6 +5,7 @@ */ #include "decorationbutton.h" +#include "util.h" #include <KDecoration3/DecoratedWindow> @@ -242,7 +243,7 @@ : DecorationButton(type, decoration, parent) { connect(decoration->window(), &KDecoration3::DecoratedWindow::scaleChanged, this, [this, decoration]() { - m_svgs.setDevicePixelRatio(decoration->window()->scale()); + m_svgs.setDevicePixelRatio(frameSvgScale(decoration->window()->scale())); }); connect(decoration->window(), &KDecoration3::DecoratedWindow::activeChanged, this, &SvgDecorationButton::updateFrame); @@ -254,7 +255,7 @@ void SvgDecorationButton::setImagePath(const QString &path, const QSizeF &implicitSize) { - m_svgs = SvgFrameSet::from(path, implicitSize, decoration()->window()->scale()); + m_svgs = SvgFrameSet::from(path, implicitSize, frameSvgScale(decoration()->window()->scale())); updateFrame(); setGeometry(QRectF(QPointF(0, 0), implicitSize)); @@ -313,7 +314,7 @@ : DecorationButton(KDecoration3::DecorationButtonType::Maximize, decoration, parent) { connect(decoration->window(), &KDecoration3::DecoratedWindow::scaleChanged, this, [this, decoration]() { - const qreal devicePixelRatio = decoration->window()->scale(); + const qreal devicePixelRatio = frameSvgScale(decoration->window()->scale()); m_maximize.setDevicePixelRatio(devicePixelRatio); if (m_restore) { @@ -336,7 +337,7 @@ void MaximizeDecorationButton::setImagePath(const QString &maximizeImagePath, const QString &restoreImagePath, const QSizeF &implicitSize) { - const qreal devicePixelRatio = decoration()->window()->scale(); + const qreal devicePixelRatio = frameSvgScale(decoration()->window()->scale()); m_maximize = SvgFrameSet::from(maximizeImagePath, implicitSize, devicePixelRatio); if (!restoreImagePath.isEmpty()) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aurorae-6.6.5/v2/util.h new/aurorae-6.7.0/v2/util.h --- old/aurorae-6.6.5/v2/util.h 1970-01-01 01:00:00.000000000 +0100 +++ new/aurorae-6.7.0/v2/util.h 2026-06-11 11:30:12.000000000 +0200 @@ -0,0 +1,24 @@ +/* + SPDX-FileCopyrightText: 2026 Vlad Zahorodnii <[email protected]> + + SPDX-License-Identifier: GPL-2.0-or-later +*/ + +#pragma once + +#include <QtGlobal> + +namespace Aurorae +{ + +static inline qreal frameSvgScale(qreal scale) +{ + // FrameSvg rendering breaks with scale factors less than 100%. + if (scale < 1) { + return 1; + } else { + return scale; + } +} + +}
