hi Randy, Frankly I don't have answer to your questions, but I did reproduced the issues you described. And found that: * `Show Debug Info` menu item was(created, but) not added to the menu. * if the `showDebug` setting was set to true, the the initial widgets state will not be set correctly. I did a patch of those issues fixed. If you choose to keep the `showDebug` stuff in, you can checkout/test the patch. On Tue, Nov 1, 2016 at 3:47 AM, Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote: > On 10/17/16 10:28, Randy Dunlap wrote: >> Boris or Thiago, >> >> Any comments, suggestions, or patches about this? >> >> thanks. > > Hi Boris and Thiago, > > Other than you patch of Oct. 17 (which needs to be added to linux-kconfig for > linux-next testing), the OP (Jason) mentioned that the xconfig "Help, Introduction" > mentions a toggle called "Show Debug Info" but there is no such option under > the Option menu. > > The qconf.cc source file does contain a boolean called _showDebug. How is it > used? It appears to only be settable by editing the .config/kernel.org/qconf.conf > file: > qconf\help\showDebug=false > and changing that 'false' to 'true'. Doing that still does not show any debug options > in the xconfig windows. What it appears to do is to highlight (via html) the kconfig > keywords so that the user can click on them, but when I do that, nothing useful > happens (they just disappear!). > > So the questions are basically: > > 1. should be Help/Introduction text be cleaned up so that it does not refer to > Show Debug Options? or should that toggle be reinstated? > > 2. how is /showDebug used? should it be documented? should it be fixed? > should it be deleted? > > Thanks. > >> On 10/15/16 04:09, Jason Vas Dias wrote: >>> Aha, thanks! I never would have known this without being told - >>> there is no visible indication that the symbol info pane exists >>> at all until one tries to drag the lower right corner of the window >>> notth-eastwards - is this meant to be somehow an intuitive thing to >>> do these days to view more info ? >>> >>> I did manage to view the option documentation with nconfig / >>> using emacs to view the KConf files (preferable). >>> >>> Really, it would be nice if xconfig had some 'View' Menu & one could select >>> View -> Option Documentation or press <F1> over an option to view the >>> documentation for it , and if the geometry of the different panes was >>> correct at >>> startup .- the whole Option value pane initially appears on the far right hand >>> side, about 10 pixels wide , until resized ; and there really is no sign of the >>> documentation pane at all until lower right-hand corner dragged. >>> >>> Also, in the Help -> Introduction panel, it says : >>> "Toggling Show Debug Info under the Options menu will show the >>> dependencies..." >>> but there is no "Show Debug Info" option on the Options menu - sounds like >>> it might be a useful feature - should I be seeing a "Show Debug Info" option ? >>> why don't I see one ? Maybe the Options menu might be a good place to put >>> an "Expand Option Documentation Pane" option ? >>> >>> Thanks anyway for the info. >>> >>> Regards, >>> Jason >>> >>> >>> >>> >>> On 11/10/2016, Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote: >>>> [changed linux-config to linux-kbuild list] >>>> >>>> On 10/09/16 13:46, Jason Vas Dias wrote: >>>>> Hi - >>>>> I've been doing 'make xconfig' to configure the kernel for many years >>>>> now, and >>>>> always there used to be some option documentation pane populated with >>>>> summary documentation for the specific option selected . >>>>> But now, when built for Qt 5.7.0, (also tried Qt 4.8 and GTK) there >>>>> is no option >>>>> documentation pane - this is a real pain ! The option documentation also >>>>> is not displayed with any other gui, eg. 'make menuconfig' / 'make >>>>> gtkconfig' - >>>>> I'm sure it used to be . This is a regression IMHO . >>>>> How can I restore display of documentation for each selected option ? >>>>> Will older xconfig work for Linux 4.8 ? it appears not ... >>>>> Thanks in advance for any replies, >>>>> Jason >>>> >>>> That's odd. I see the help info in all of xconfig, gconfig, menuconfig, & >>>> nconfig. >>>> >>>> In xconfig, if the right hand side of the config window only lists some >>>> kernel config >>>> options and no symbol help/info, the symbol info portion may be hidden. Try >>>> pointing >>>> to the bottom of the right side of the window and hold down the left mouse >>>> button >>>> and then drag the mouse pointer upward to open the symbol info pane. >>>> At least that is what works for me. > > > -- > ~Randy -- Boris Barbulovski http://mkfusion.bokicsoft.com/
From 51a101f256183aed840e40c09c4b3739fd82540a Mon Sep 17 00:00:00 2001 From: Boris Barbulovski <bbarbulovski@xxxxxxxxx> Date: Tue, 1 Nov 2016 09:54:15 +0100 Subject: [PATCH 1/1] xconfig - Fix `Show Debug` functionality. * Add `Show debug` menu to the main menu. * Properly load showDebug settings. Signed-off-by: Boris Barbulovski <bbarbulovski@xxxxxxxxx> --- scripts/kconfig/qconf.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index fc55559..45e3169 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -1014,7 +1014,7 @@ ConfigInfoView::ConfigInfoView(QWidget* parent, const char *name) if (!objectName().isEmpty()) { configSettings->beginGroup(objectName()); - _showDebug = configSettings->value("/showDebug", false).toBool(); + setShowDebug(configSettings->value("/showDebug", false).toBool()); configSettings->endGroup(); connect(configApp, SIGNAL(aboutToQuit()), SLOT(saveSettings())); } @@ -1474,6 +1474,7 @@ ConfigMainWindow::ConfigMainWindow(void) optionMenu->addSeparator(); optionMenu->addActions(optGroup->actions()); optionMenu->addSeparator(); + optionMenu->addAction(showDebugAction); // create help menu menu->addSeparator(); -- 2.10.2