summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-09-11 19:31:07 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-09-11 19:31:32 +0200
commit1e10a827bb558a47393dc8d4f7b36b925e3a1c10 (patch)
tree2b224e0c6d35caa79d34e20d342fe632cb87e96c /kde-plasma/plasma-workspace/files
parentdev-python/pluggy: add missing dependency (diff)
downloadgentoo-1e10a827bb558a47393dc8d4f7b36b925e3a1c10.tar.gz
gentoo-1e10a827bb558a47393dc8d4f7b36b925e3a1c10.tar.bz2
gentoo-1e10a827bb558a47393dc8d4f7b36b925e3a1c10.zip
kde-plasma/plasma-workspace: MPRIS - change int to double for positions
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'kde-plasma/plasma-workspace/files')
-rw-r--r--kde-plasma/plasma-workspace/files/plasma-workspace-5.13.5-double-positions.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.13.5-double-positions.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.13.5-double-positions.patch
new file mode 100644
index 000000000000..0c294af670aa
--- /dev/null
+++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.13.5-double-positions.patch
@@ -0,0 +1,31 @@
+From 1bb02b98cfedfd6b51ac8de0c34a5778659433f7 Mon Sep 17 00:00:00 2001
+From: Arsen Arsen <arsenarsentmc@outlook.com>
+Date: Thu, 6 Sep 2018 10:29:09 +0200
+Subject: [Media Player] Change int to double for positions
+
+In previous versions of Plasma, media player had an overflow bug in positions, leading to the player resetting to 00:00.
+This only affects files longer than around 33 minutes 20 seconds.
+
+BUG: 397591
+FIXED-IN: 5.12.7
+
+Differential Revision: https://phabricator.kde.org/D15311
+---
+ applets/mediacontroller/contents/ui/ExpandedRepresentation.qml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/applets/mediacontroller/contents/ui/ExpandedRepresentation.qml b/applets/mediacontroller/contents/ui/ExpandedRepresentation.qml
+index 2922f99..904fe49 100644
+--- a/applets/mediacontroller/contents/ui/ExpandedRepresentation.qml
++++ b/applets/mediacontroller/contents/ui/ExpandedRepresentation.qml
+@@ -35,7 +35,7 @@ Item {
+
+ readonly property int controlSize: Math.min(height, width) / 4
+
+- property int position: mpris2Source.currentData.Position || 0
++ property double position: mpris2Source.currentData.Position || 0
+ readonly property real rate: mpris2Source.currentData.Rate || 1
+ readonly property double length: currentMetadata ? currentMetadata["mpris:length"] || 0 : 0
+
+--
+cgit v0.11.2