[SCM] kjobwidgets packaging branch, master, updated. debian/5.28.0-1-4-g3ea7ead

Maximiliano Curia maxy at moszumanska.debian.org
Wed Apr 5 09:31:01 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/kjobwidgets.git;a=commitdiff;h=3f17a5e

The following commit has been merged in the master branch:
commit 3f17a5ee0590b9cdb0ec625227c0b1a2a6b5540a
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Wed Apr 5 11:06:30 2017 +0200

    Add new upstream patch: Don-t-focus-progress-windows.patch to improve the use of remote files
---
 debian/patches/Don-t-focus-progress-windows.patch | 28 +++++++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 29 insertions(+)

diff --git a/debian/patches/Don-t-focus-progress-windows.patch b/debian/patches/Don-t-focus-progress-windows.patch
new file mode 100644
index 0000000..fb9fa29
--- /dev/null
+++ b/debian/patches/Don-t-focus-progress-windows.patch
@@ -0,0 +1,28 @@
+From: "Martin T. H. Sandsmark" <martin.sandsmark at kde.org>
+Date: Mon, 26 Dec 2016 15:58:47 +0100
+Subject: Don't focus progress windows
+
+Show the job tracking widget without stealing focus, e. g. from Kate
+when saving to FTP. This is especially important since there's a 0.5s
+delay before the window is shown so people often start interacting with
+the original window when the job progress is shown.
+
+BUG: 333934
+REVIEW: 129706
+---
+ src/kwidgetjobtracker.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/kwidgetjobtracker.cpp b/src/kwidgetjobtracker.cpp
+index 585867a..dbea4a4 100644
+--- a/src/kwidgetjobtracker.cpp
++++ b/src/kwidgetjobtracker.cpp
+@@ -53,6 +53,8 @@ void KWidgetJobTracker::Private::_k_showProgressWidget()
+     QWidget *widget = q->widget(job);
+ 
+     if (widget) {
++        // Don't steal the focus from the current widget (e. g. Kate)
++        widget->setAttribute(Qt::WA_ShowWithoutActivating);
+         widget->show();
+     }
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5b45ab2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+Don-t-focus-progress-windows.patch

-- 
kjobwidgets packaging



More information about the pkg-kde-commits mailing list