Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 "resolution_fit": "1" doesn't work.
#4
Bug 
(09-12-2023, 12:03 AM)nguyen ha thai trong Wrote: I don't see any errors in ventoy and your code, when you remove "default_file": "0" it means "default_file": "0" because ventoy defaults like that, setting "resolution_fit": " 1", Ventoy selects the number of themes equal to the number of themes you provide, so there is no error here.

What? Seems like you missunderstood purpose of "resolution_fit": "1" key. Please read this documentation https://www.ventoy.net/en/plugin_theme.h...me_res_fit
The entire point of "resolution_fit": "1" is to filter out themes with resolution that match Screen/UEFI/Ventoy resolution and automatically apply this specific theme on boot.
This is why it is required to rename theme folder or file "theme.txt" with resolution affix, e.g. XYZ_1920x1080, XYZ_1024x768, XYZ_800x600... and add their paths to ventoy.json.
For some reason "resolution_fit": "1" filters out all themes regardless of specified resolution in ventoy.json theme > file plugin. This is not how it supposed to work according to documentation.

[Image: bcJnbLb.png]

So, when I boot in Screen/UEFI/Ventoy resolution 1920x1080, theme XYZ_1920x1080 should be automatically selected on boot and the other themes should be ignored.
When I boot in Screen/UEFI/Ventoy resolution 1024x768, theme XYZ_1024x768 should be automatically selected on boot and the other themes should be ignored.
When I boot in Screen/UEFI/Ventoy resolution 800x600, theme XYZ_800x600 should be automatically selected on boot and the other themes should be ignored.
Reply


Messages In This Thread
"resolution_fit": "1" doesn't work. - by Divzed - 09-11-2023, 01:23 PM
RE: "resolution_fit": "1" doesn't work. - by Divzed - 09-12-2023, 01:04 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)