Re: [PATCH 43/66] kconfig: gconf: preserve menu selection when switching view mode
From: Masahiro Yamada
Date: Mon Jun 30 2025 - 01:42:57 EST
On Wed, Jun 25, 2025 at 12:08 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> Preserve the current menu selection when switching to a different view
> mode, as it improves usability.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
There is a corner case where this does not work in Split view.
One example is a top-level symbol, such as CONFIG_64BIT.
For x86, CONFIG_64BIT is located at the top-level,
and it does not belong to any menu.
This works in Single and Full views.
[1] Choose Full view (default)
[2] Select "64-bit kernel"
[3] Choose Single view and Full view back-and-forth
[4] "64-bit kernel" is still selected
However, this does not work in Split View:
[1] Choose Full view (default)
[2] Select "64-bit kernel"
[3] Choose Split view
[4] "64-bit kernel" is not selected
The Split view never works in a consistent way.
I will consider whether I should fix such a corner case or not.
--
Best Regards
Masahiro Yamada