Compare commits
No commits in common. "c4f1e74a9c0d232e70c7b39aadb260467ae7bf40" and "fe1f6f05f11a8c890d1b973605622e1d2baa17c3" have entirely different histories.
c4f1e74a9c
...
fe1f6f05f1
12
debian/changelog
vendored
12
debian/changelog
vendored
@ -1,15 +1,3 @@
|
|||||||
lxqt-runner (1.2.0-0ubuntu1) lunar; urgency=medium
|
|
||||||
|
|
||||||
* New upstream release.
|
|
||||||
* Fix the watch file, for real this time.
|
|
||||||
* Bump build dependencies in debian/control.
|
|
||||||
* Bump Standards-version to 4.6.1, no changes needed.
|
|
||||||
* Lubuntuify the package slightly, to make debhelper happy.
|
|
||||||
* Remove reverse-applicable upstream patches.
|
|
||||||
* Less Rs.
|
|
||||||
|
|
||||||
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 18 Nov 2022 22:12:50 -0600
|
|
||||||
|
|
||||||
lxqt-runner (1.1.0-0ubuntu2) kinetic; urgency=medium
|
lxqt-runner (1.1.0-0ubuntu2) kinetic; urgency=medium
|
||||||
|
|
||||||
* Backport upstream patches:
|
* Backport upstream patches:
|
||||||
|
12
debian/control
vendored
12
debian/control
vendored
@ -8,16 +8,16 @@ Section: x11
|
|||||||
Priority: optional
|
Priority: optional
|
||||||
Build-Depends: debhelper-compat (= 13),
|
Build-Depends: debhelper-compat (= 13),
|
||||||
libkf5windowsystem-dev,
|
libkf5windowsystem-dev,
|
||||||
liblxqt-globalkeys-ui1-dev (>= 1.2.0),
|
liblxqt-globalkeys-ui1-dev (>= 1.1.0),
|
||||||
liblxqt-globalkeys1-dev (>= 1.2.0),
|
liblxqt-globalkeys1-dev (>= 1.1.0),
|
||||||
liblxqt1-dev (>= 1.2.0),
|
liblxqt1-dev (>= 1.1.0),
|
||||||
libmuparser-dev,
|
libmuparser-dev,
|
||||||
libqt5svg5-dev,
|
libqt5svg5-dev,
|
||||||
libqt5x11extras5-dev,
|
libqt5x11extras5-dev,
|
||||||
libx11-dev
|
libx11-dev
|
||||||
Standards-Version: 4.6.1
|
Standards-Version: 4.5.1
|
||||||
Vcs-Browser: https://git.lubuntu.me/Lubuntu/lxqt-runner-packaging
|
Vcs-Browser: https://phab.lubuntu.me/source/lxqt-runner/
|
||||||
Vcs-Git: https://git.lubuntu.me/Lubuntu/lxqt-runner-packaging.git
|
Vcs-Git: https://phab.lubuntu.me/source/lxqt-runner.git
|
||||||
XS-Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/lxqt-runner
|
XS-Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/lxqt-runner
|
||||||
XS-Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/lxqt-runner.git
|
XS-Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/lxqt-runner.git
|
||||||
Homepage: https://github.com/lxqt/lxqt-runner
|
Homepage: https://github.com/lxqt/lxqt-runner
|
||||||
|
52
debian/patches/221-1.patch
vendored
Normal file
52
debian/patches/221-1.patch
vendored
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
From 703db225dfa722af66e330547a3353238e76ec38 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Palo Kisa <palo.kisa@gmail.com>
|
||||||
|
Date: Wed, 27 Apr 2022 08:27:06 +0200
|
||||||
|
Subject: [PATCH] dialog: Force correct position after move from outside
|
||||||
|
|
||||||
|
..of application.
|
||||||
|
|
||||||
|
For some reason the dialog gets repositioned by "outer world" (VM?) to
|
||||||
|
wrong position (0,0). The root cause of this move is yet unknown and
|
||||||
|
this is a workaround to avoid wong position of the window.
|
||||||
|
---
|
||||||
|
dialog.cpp | 14 ++++++++++++++
|
||||||
|
dialog.h | 1 +
|
||||||
|
2 files changed, 15 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/dialog.cpp b/dialog.cpp
|
||||||
|
index 7164c65..5667817 100644
|
||||||
|
--- a/dialog.cpp
|
||||||
|
+++ b/dialog.cpp
|
||||||
|
@@ -183,6 +183,20 @@ void Dialog::resizeEvent(QResizeEvent *event)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
+/************************************************
|
||||||
|
+
|
||||||
|
+ ************************************************/
|
||||||
|
+void Dialog::moveEvent(QMoveEvent *event)
|
||||||
|
+{
|
||||||
|
+ // Note: For some reason the dialog gets repositioned by "outer world" (VM?) to
|
||||||
|
+ // wrong position (0,0). The root cause of this move is yet unknown and
|
||||||
|
+ // this is a workaround to avoid wong position of the window.
|
||||||
|
+ if (event->spontaneous())
|
||||||
|
+ QTimer::singleShot(0, this, &Dialog::realign);
|
||||||
|
+ return QDialog::moveEvent(event);
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+
|
||||||
|
/************************************************
|
||||||
|
|
||||||
|
************************************************/
|
||||||
|
diff --git a/dialog.h b/dialog.h
|
||||||
|
index 0ca29bf..a71dd3d 100644
|
||||||
|
--- a/dialog.h
|
||||||
|
+++ b/dialog.h
|
||||||
|
@@ -64,6 +64,7 @@ class Dialog : public QDialog
|
||||||
|
protected:
|
||||||
|
void closeEvent(QCloseEvent *event);
|
||||||
|
void resizeEvent(QResizeEvent *event);
|
||||||
|
+ void moveEvent(QMoveEvent *event);
|
||||||
|
bool eventFilter(QObject *object, QEvent *event);
|
||||||
|
bool editKeyPressEvent(QKeyEvent *event);
|
||||||
|
bool listKeyPressEvent(QKeyEvent *event);
|
75
debian/patches/221-2.patch
vendored
Normal file
75
debian/patches/221-2.patch
vendored
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
From 88a4d2fb49bc37794a14b7d86b90d515f472d372 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Palo Kisa <palo.kisa@gmail.com>
|
||||||
|
Date: Wed, 27 Apr 2022 08:32:54 +0200
|
||||||
|
Subject: [PATCH] dialog: Listen to KwindowSystem signals only when shown
|
||||||
|
|
||||||
|
Most of the time the runner window is not shown and we don't need to be
|
||||||
|
notified about all the focus/desktop changes.
|
||||||
|
---
|
||||||
|
dialog.cpp | 25 ++++++++++++++++++++++---
|
||||||
|
dialog.h | 2 ++
|
||||||
|
2 files changed, 24 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/dialog.cpp b/dialog.cpp
|
||||||
|
index 5667817..0b9a0e9 100644
|
||||||
|
--- a/dialog.cpp
|
||||||
|
+++ b/dialog.cpp
|
||||||
|
@@ -133,8 +133,6 @@ Dialog::Dialog(QWidget *parent) :
|
||||||
|
|
||||||
|
connect(mGlobalShortcut, &GlobalKeyShortcut::Action::activated, this, &Dialog::showHide);
|
||||||
|
connect(mGlobalShortcut, &GlobalKeyShortcut::Action::shortcutChanged, this, &Dialog::shortcutChanged);
|
||||||
|
- connect(KWindowSystem::self(), &KWindowSystem::activeWindowChanged, this, &Dialog::onActiveWindowChanged);
|
||||||
|
- connect(KWindowSystem::self(), &KWindowSystem::currentDesktopChanged, this, &Dialog::onCurrentDesktopChanged);
|
||||||
|
|
||||||
|
resize(mSettings->value(QL1S("dialog/width"), 400).toInt(), size().height());
|
||||||
|
|
||||||
|
@@ -197,6 +195,28 @@ void Dialog::moveEvent(QMoveEvent *event)
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
+/************************************************
|
||||||
|
+
|
||||||
|
+ ************************************************/
|
||||||
|
+void Dialog::showEvent(QShowEvent *event)
|
||||||
|
+{
|
||||||
|
+ connect(KWindowSystem::self(), &KWindowSystem::activeWindowChanged, this, &Dialog::onActiveWindowChanged);
|
||||||
|
+ connect(KWindowSystem::self(), &KWindowSystem::currentDesktopChanged, this, &Dialog::onCurrentDesktopChanged);
|
||||||
|
+ return QDialog::showEvent(event);
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+/************************************************
|
||||||
|
+
|
||||||
|
+ ************************************************/
|
||||||
|
+void Dialog::hideEvent(QHideEvent *event)
|
||||||
|
+{
|
||||||
|
+ QDialog::hideEvent(event);
|
||||||
|
+ disconnect(KWindowSystem::self(), &KWindowSystem::currentDesktopChanged, this, &Dialog::onCurrentDesktopChanged);
|
||||||
|
+ disconnect(KWindowSystem::self(), &KWindowSystem::activeWindowChanged, this, &Dialog::onActiveWindowChanged);
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+
|
||||||
|
/************************************************
|
||||||
|
|
||||||
|
************************************************/
|
||||||
|
@@ -397,7 +417,6 @@ void Dialog::applySettings()
|
||||||
|
mCommandItemModel->showHistoryFirst(mSettings->value(QL1S("dialog/history_first"), true).toBool());
|
||||||
|
ui->commandList->setShownCount(mSettings->value(QL1S("dialog/list_shown_items"), 4).toInt());
|
||||||
|
|
||||||
|
- realign();
|
||||||
|
mSettings->sync();
|
||||||
|
}
|
||||||
|
|
||||||
|
diff --git a/dialog.h b/dialog.h
|
||||||
|
index a71dd3d..8b7b36f 100644
|
||||||
|
--- a/dialog.h
|
||||||
|
+++ b/dialog.h
|
||||||
|
@@ -65,6 +65,8 @@ class Dialog : public QDialog
|
||||||
|
void closeEvent(QCloseEvent *event);
|
||||||
|
void resizeEvent(QResizeEvent *event);
|
||||||
|
void moveEvent(QMoveEvent *event);
|
||||||
|
+ void showEvent(QShowEvent *event);
|
||||||
|
+ void hideEvent(QHideEvent *event);
|
||||||
|
bool eventFilter(QObject *object, QEvent *event);
|
||||||
|
bool editKeyPressEvent(QKeyEvent *event);
|
||||||
|
bool listKeyPressEvent(QKeyEvent *event);
|
2
debian/patches/series
vendored
Normal file
2
debian/patches/series
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
221-1.patch
|
||||||
|
221-2.patch
|
2
debian/upstream/metadata
vendored
2
debian/upstream/metadata
vendored
@ -3,4 +3,4 @@ Bug-Database: https://github.com/lxqt/lxqt-runner/issues
|
|||||||
Bug-Submit: https://github.com/lxqt/lxqt-runner/issues/new
|
Bug-Submit: https://github.com/lxqt/lxqt-runner/issues/new
|
||||||
Changelog: https://github.com/lxqt/lxqt-runner/blob/master/CHANGELOG
|
Changelog: https://github.com/lxqt/lxqt-runner/blob/master/CHANGELOG
|
||||||
Repository: https://github.com/lxqt/lxqt-runner
|
Repository: https://github.com/lxqt/lxqt-runner
|
||||||
Repository-Browse: https://github.com/lxqt/lxqt-runner
|
Repository-Browser: https://github.com/lxqt/lxqt-runner
|
||||||
|
6
debian/watch
vendored
6
debian/watch
vendored
@ -1,5 +1,3 @@
|
|||||||
version=4
|
version=4
|
||||||
opts="searchmode=plain, \
|
opts="pgpsigurlmangle=s/$/.asc/" \
|
||||||
pgpsigurlmangle=s/$/.asc/, \
|
https://github.com/lxqt/lxqt-runner/releases .*/lxqt-runner-([\d\.]+).tar.xz
|
||||||
uversionmangle=s/(\d+\.\d+\.\d+).*/$1/" \
|
|
||||||
https://api.github.com/repos/lxqt/@PACKAGE@/releases https:\/\/github.com\/lxqt\/@PACKAGE@\/releases\/download\/@ANY_VERSION@\/@PACKAGE@-@ANY_VERSION@.tar.xz
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user