From patchwork Mon Nov 28 00:19:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 9448931 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 30D6060235 for ; Mon, 28 Nov 2016 00:19:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 245E9203B9 for ; Mon, 28 Nov 2016 00:19:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 171D32074F; Mon, 28 Nov 2016 00:19:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_TVD_MIME_EPI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 724CC203B9 for ; Mon, 28 Nov 2016 00:19:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751015AbcK1ATd (ORCPT ); Sun, 27 Nov 2016 19:19:33 -0500 Received: from merlin.infradead.org ([205.233.59.134]:32828 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750797AbcK1ATd (ORCPT ); Sun, 27 Nov 2016 19:19:33 -0500 Received: from static-50-53-43-78.bvtn.or.frontiernet.net ([50.53.43.78] helo=[192.168.1.19]) by merlin.infradead.org with esmtpsa (Exim 4.85_2 #1 (Red Hat Linux)) id 1cB9fO-0006c6-Gr; Mon, 28 Nov 2016 00:19:31 +0000 To: Boris Barbulovski , Michal Marek Cc: linux-kbuild From: Randy Dunlap Subject: xconfig patches to be merged Message-ID: <870ad06b-d43f-e627-118b-8b5c2eddb677@infradead.org> Date: Sun, 27 Nov 2016 16:19:29 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 MIME-Version: 1.0 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Boris, [one of my mail "folders" is mucked up; it happens to contain linux-kbuild emails, so I cannot reply to them directly] Please resend 2 (or 3; see below) xconfig patches to Michal and the linux-kbuild mailing list. Also please add my Tested-by: Randy Dunlap to both of them. 1. your xconfig - Fix 'Show Debug' functionality patch. Same as https://patchwork.kernel.org/patch/9407305/ 2. your qconfig initial slider sizes fix https://patchwork.kernel.org/patch/9380811/ However, I don't have a record that this patch was needed or used in my testing. 3. your QSlider sizes issues patch which I cannot find in email archives, so I am attaching it below. Thanks. From f7e1fcd11f88e0f7bc256c758c6f70c1e621fd1d Mon Sep 17 00:00:00 2001 From: Boris Barbulovski Date: Mon, 17 Oct 2016 20:33:10 +0200 Subject: [PATCH] qconfig initial slider sizes fix. On first `make xconfig`, suboption and help panels were hidden. Now we properly detect the first run, and show those panels. --- scripts/kconfig/qconf.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) --- lnx-48.orig/scripts/kconfig/qconf.cc +++ lnx-48/scripts/kconfig/qconf.cc @@ -1291,6 +1291,8 @@ ConfigSearchWindow::ConfigSearchWindow(C QList sizes = configSettings->readSizes("/split", &ok); if (ok) split->setSizes(sizes); + else + split->setSizes(QList() << 1 << 1); configSettings->endGroup(); connect(configApp, SIGNAL(aboutToQuit()), SLOT(saveSettings())); } @@ -1511,12 +1513,17 @@ ConfigMainWindow::ConfigMainWindow(void) // UI setup done, restore splitter positions QList sizes = configSettings->readSizes("/split1", &ok); - if (ok) + if ((ok)&&(sizes.length() == 2)) split1->setSizes(sizes); + else + split1->setSizes(QList() << 1 << 1); + sizes = configSettings->readSizes("/split2", &ok); - if (ok) + if ((ok)&&(sizes.length() == 2)) split2->setSizes(sizes); + else + split2->setSizes(QList() << 1 << 1); } void ConfigMainWindow::loadConfig(void)