diff --git a/debian/changelog b/debian/changelog index 0925763..12beabb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +qterminal (0.9.0-3ubuntu3) UNRELEASED; urgency=medium + + * The preferences menu should never be larger than the screen (LP: #1784198). + + -- Simon Quigley Sun, 29 Jul 2018 15:03:10 -0500 + qterminal (0.9.0-3ubuntu2) cosmic; urgency=medium * Remember the maximization state of the window (LP: #1754496). diff --git a/debian/patches/fix-too-large-settings-dialog.patch b/debian/patches/fix-too-large-settings-dialog.patch new file mode 100644 index 0000000..0f4f930 --- /dev/null +++ b/debian/patches/fix-too-large-settings-dialog.patch @@ -0,0 +1,18 @@ +Description: Smaller settings dialog +Author: Tsu Jan +Origin: upstream +Bug: https://github.com/lxqt/qterminal/issues/412 +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1784198 +Applied-Upstream: commit:9f82b04 +Last-Update: 2018-07-29 +--- a/src/propertiesdialog.cpp ++++ b/src/propertiesdialog.cpp +@@ -180,6 +180,8 @@ PropertiesDialog::PropertiesDialog(QWidg + + trimPastedTrailingNewlinesCheckBox->setChecked(Properties::Instance()->trimPastedTrailingNewlines); + confirmMultilinePasteCheckBox->setChecked(Properties::Instance()->confirmMultilinePaste); ++ ++ resize(sizeHint()); // show it compact but not too much + } + + diff --git a/debian/patches/series b/debian/patches/series index a781e80..6e7d3af 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ appdata.patch fix-memory-api.patch remember-window-maximization-state.patch +fix-too-large-settings-dialog.patch