public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/haruna] epel10: haruna-1.8.0-fix-hang-on-start.patch added
@ 2026-07-30 15:38 Yaroslav Sidlovsky
0 siblings, 0 replies; only message in thread
From: Yaroslav Sidlovsky @ 2026-07-30 15:38 UTC (permalink / raw)
To: git-commits
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++
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-30 15:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-30 15:38 [rpms/haruna] epel10: haruna-1.8.0-fix-hang-on-start.patch added Yaroslav Sidlovsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox