Hello,
I have added the
Global Plugin code to the existing theme entry in the ventoy.json file.
Ventoy is startin in treemode as described. Works fine so far.
At the bottom line there is a permanent hint "F3: Treemode".
When pressing F3, the system switched to default mode. But the hint doesn't change.
When pressing F3 again nothing happens. When playing around, I found that I have to press alternating ESC and F3, to switch between modes. Confusing.
I would like to have a correct hint

Hi,
When you define VTOY_DEFAULT_MENU_MODE="1"
Then the hint will become F3:ListView
ESC is used to return back to the default mode. That's noted in the document.
Hi,
you are right. If "VTOY_DEFAULT_MENU_MODE" is set to "1" the hint is "F3:ListView". My fault.
I agree that everyone should read the documentation first. But ....
After changing the view mode by pressing F3 the hint doesn't change to ESC. It's still "F3:ListView" or "F3:TreeView", depending on the choosen "VTOY_DEFAULT_MENU_MODE".
If you don't remeber the docs, you may rember that you have pressed F3 a few seconds ago. You are looking at the hint, and find "F3:...". So you will press F3 intuitive. There is something flickering on the screen, but nothing happens. And you did not realize why.
I think it would be better to change the hint according to the actual environment like:
F3:ListView -> ESC:TreeView -> F3:ListView -> ESC:TreeView -> ...
The most intuitive solution would be, to let F3 work as a real toggle like the MemDisk switch. Of course with correct hint's
F3:ListView -> F3:TreeView -> F3:ListView -> F3:TreeView -> ...
Ventoy-1.0.12 released.
I add return item when you switch mode, so maybe much reasonable
Tested the new function with 1.0.13 today.
Well done. Thank you very much.
You made a wrong json level in the file.
This is the correct format:
Code:
{
"theme": {
"file": "/ventoy/vimix/theme.txt",
"gfxmode": "1920x1080",
"ventoy_left": "5%",
"ventoy_top": "95%",
"ventoy_color": "#000000ff"
},
"control": [
{ "VTOY_DEFAULT_MENU_MODE": "1" },
{ "VTOY_DEFAULT_SEARCH_ROOT": "/ISOs" }
]
}