public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaroslav Sidlovsky <zawertun@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/haruna] epel10: haruna-1.8.0-fix-hang-on-start.patch added
Date: Thu, 30 Jul 2026 15:38:39 GMT [thread overview]
Message-ID: <178542591971.1.2811491452011672350.rpms-haruna-3f1f05a42223@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/haruna
Branch : epel10
Commit : 3f1f05a42223a63dc9e39181749a1a376f80496f
Author : Yaroslav Sidlovsky <zawertun@gmail.com>
Date : 2026-05-18T16:39:20+03:00
Stats : +80/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/haruna/c/3f1f05a42223a63dc9e39181749a1a376f80496f?branch=epel10
Log:
haruna-1.8.0-fix-hang-on-start.patch added
---
diff --git a/haruna-1.8.0-fix-hang-on-start.patch b/haruna-1.8.0-fix-hang-on-start.patch
new file mode 100644
index 0000000..1fb6292
--- /dev/null
+++ b/haruna-1.8.0-fix-hang-on-start.patch
@@ -0,0 +1,75 @@
+From 410dc2accb033f4fa837156ec1f91cd87708bef8 Mon Sep 17 00:00:00 2001
+From: Yaroslav Sidlovsky <zawertun@gmail.com>
+Date: Mon, 18 May 2026 16:33:40 +0300
+Subject: [PATCH] Revert "Playlist: add mainWindow property and replace
+ Window.window usage with it"
+
+This reverts commit 27dccce62ca2136641325e8cd425cd01cf81f314.
+---
+ src/playlist/Playlist.qml | 15 +++++++--------
+ 1 file changed, 7 insertions(+), 8 deletions(-)
+
+diff --git a/src/playlist/Playlist.qml b/src/playlist/Playlist.qml
+index 4854a21a..cb29b005 100644
+--- a/src/playlist/Playlist.qml
++++ b/src/playlist/Playlist.qml
+@@ -26,13 +26,12 @@ Page {
+ required property MpvVideo m_mpv
+ required property Loader m_advancedSortWindowLoader
+
+- property Main mainWindow: Window.window as Main
+- property bool isSmallWindowSize: mainWindow.width < 600
++ property bool isSmallWindowSize: Window.window.width < 600
+ property int buttonSize: isSmallWindowSize ? Kirigami.Units.iconSizes.small : Kirigami.Units.iconSizes.smallMedium
+ property alias scrollPositionTimer: scrollPositionTimer
+ property alias playlistView: playlistView
+ property real customWidth: PlaylistSettings.playlistWidth
+- property real fsScale: mainWindow.isFullScreen() && PlaylistSettings.bigFontFullscreen ? 1.36 : 1
++ property real fsScale: Window.window.isFullScreen() && PlaylistSettings.bigFontFullscreen ? 1.36 : 1
+
+ width: limitWidth(customWidth) * fsScale
+
+@@ -40,11 +39,11 @@ Page {
+ if (PlaylistSettings.style === "compact") {
+ return 380
+ } else {
+- return Math.min(Math.max(pWidth, 260), mainWindow.width - 50)
++ return Math.min(Math.max(pWidth, 260), Window.window.width - 50)
+ }
+ }
+
+- x: PlaylistSettings.position === "right" ? mainWindow.width : -width
++ x: PlaylistSettings.position === "right" ? Window.window.width : -width
+ y: 0
+ padding: 0
+ state: PlaylistSettings.rememberState
+@@ -558,7 +557,7 @@ Page {
+
+ if (PlaylistSettings.position === "right") {
+ let mX = root.m_mpv.mapFromItem(this, mouseX, mouseY).x
+- var w = root.limitWidth(root.mainWindow.width - mX)
++ var w = root.limitWidth(Window.window.width - mX)
+ } else {
+ let mX = playlistView.mapFromItem(this, mouseX, mouseY).x
+ var w = root.limitWidth(mX)
+@@ -994,7 +993,7 @@ Page {
+
+ PropertyChanges {
+ root.x: PlaylistSettings.position === "right"
+- ? root.mainWindow.width
++ ? root.Window.window.width
+ : -width
+ root.visible: false
+ }
+@@ -1004,7 +1003,7 @@ Page {
+
+ PropertyChanges {
+ root.x: PlaylistSettings.position === "right"
+- ? root.mainWindow.width - root.width + 2
++ ? root.Window.window.width - root.width + 2
+ : 0
+ root.visible: true
+ }
+--
+2.54.0
+
diff --git a/haruna.spec b/haruna.spec
index 49b96cb..44d8650 100644
--- a/haruna.spec
+++ b/haruna.spec
@@ -11,6 +11,11 @@ Source2: gpgkey-4E421C6554B89766DF9B7A37E12AB207C8755905.gpg
## upstream patches
+## upstreamable patches
+# Reverting commit 27dccce62ca2136641325e8cd425cd01cf81f314 that causes hang on start
+# (https://invent.kde.org/multimedia/haruna/-/commit/27dccce62ca2136641325e8cd425cd01cf81f314)
+Patch0: haruna-1.8.0-fix-hang-on-start.patch
+
BuildRequires: cmake
BuildRequires: gnupg2
BuildRequires: gcc-c++
reply other threads:[~2026-07-30 15:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178542591971.1.2811491452011672350.rpms-haruna-3f1f05a42223@fedoraproject.org \
--to=zawertun@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox