diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-15 17:37:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-15 17:37:09 +0100 |
commit | 586819755b4dbfdffdc8a725ab7c0f86095b8489 (patch) | |
tree | d6790c838cfe9607c996e4913fdf11bad5fdd528 /kde-plasma/plasma-workspace/files | |
parent | 3f71901f8c228f4de570abed1831ce3ee425343e (diff) |
gentoo resync : 15.09.2018
Diffstat (limited to 'kde-plasma/plasma-workspace/files')
-rw-r--r-- | kde-plasma/plasma-workspace/files/plasma-workspace-5.13.5-double-positions.patch | 31 |
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 |