Re: [PATCH] kconfig: qconf/xconfig: show the OptionsMode radio button setting at startup

From: Nicolas Schier
Date: Sat Aug 16 2025 - 14:51:39 EST


On Tue, Aug 12, 2025 at 03:35:02PM -0700, Randy Dunlap wrote:
> When qconf (xconfig) exits, it saves the current Option settings
> for Show Name, Show Debug Info, and Show {Normal|All|Prompt} Options.
> When it is next run, it loads these Option settings from its
> config file. It correctly shows the flag settings for Show Name
> and Show Debug Info, but it does not show which of the 3 Show...Options
> is set. This can lead to confusing output, e.g., if the user thinks
> that xconfig is in Show All Options mode but kconfig options which
> have an unmet dependency are still being listed.
>
> Add code to show the radio button for the current Show...Options
> mode during startup so that it will reflect the current config
> setting.
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> ---
> Nathan, Nicolas: do you want me to ask someone else to merge this?
> I don't mind doing that;
> or throw it into your tree and see what breaks.
>
> I know next to nothing about the Qt toolkit, so any comments or
> testing are appreciated. There could easily be a better fix for this.
> Thanks.

Thanks for the fix! I cannot review this properly but reasoning is
straightforward and testing reveals that its really useful.

Tested-by: Nicolas Schier <nsc@xxxxxxxxxx>
Acked-by: Nicolas Schier <nsc@xxxxxxxxxx>


Nathan, can you take this into kbuild-next?

Kind regards,
Nicolas

Attachment: signature.asc
Description: PGP signature