[Pkg-cli-apps-commits] [keepass2] 04/04: increase-tabheight.patch: workaround database tab crash (LP: #891029)
Julian Taylor
jtaylor.debian at googlemail.com
Thu Jun 22 05:43:04 UTC 2017
This is an automated email from the git hooks/post-receive script.
jtaylor-guest pushed a commit to branch master
in repository keepass2.
commit accb86e472976a67d6ca05203aaf7015212fd6a6
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date: Thu Jun 22 07:40:01 2017 +0200
increase-tabheight.patch: workaround database tab crash (LP: #891029)
---
debian/changelog | 1 +
debian/patches/increase-tabheight.patch | 25 +++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 27 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index ca21eb2..e1ddb3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ keepass2 (2.36+dfsg-1) unstable; urgency=medium
* Update rules for new icon path
* remove debian/patches/use-installed-ico-files.patch:
does not appear to be necessary with current mono anymore
+ * increase-tabheight.patch: workaround database tab crash (LP: #891029)
-- Julian Taylor <jtaylor.debian at googlemail.com> Sun, 18 Jun 2017 19:28:14 +0200
diff --git a/debian/patches/increase-tabheight.patch b/debian/patches/increase-tabheight.patch
new file mode 100644
index 0000000..74be654
--- /dev/null
+++ b/debian/patches/increase-tabheight.patch
@@ -0,0 +1,25 @@
+From: Julian Taylor <jtaylor.debian at googlemail.com>
+Date: Thu, 22 Jun 2017 07:35:29 +0200
+Subject: increase tabheight
+
+Increase tabheight further to workaround crash when changing database
+tabs.
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1659159
+Bug: https://sourceforge.net/p/keepass/bugs/1634
+---
+ KeePass/Forms/MainForm.cs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: keepass2/KeePass/Forms/MainForm.cs
+===================================================================
+--- keepass2.orig/KeePass/Forms/MainForm.cs
++++ keepass2/KeePass/Forms/MainForm.cs
+@@ -125,7 +125,7 @@ namespace KeePass.Forms
+
+ AssignMenuShortcuts();
+
+- if(MonoWorkarounds.IsRequired(891029)) m_tabMain.Height += 5;
++ if(MonoWorkarounds.IsRequired(891029)) m_tabMain.Height += 10;
+ }
+
+ private bool m_bFormLoadCalled = false;
diff --git a/debian/patches/series b/debian/patches/series
index c7feb75..bd626ab 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ disable-autoupdate-dialog.patch
force_toolsversion_4
dont-display-as-dev-version.patch
disable-clipboard-workaround.patch
+increase-tabheight.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/keepass2.git
More information about the Pkg-cli-apps-commits
mailing list