metercai / SimpleSDXL

Enhanced version of Fooocus for SDXL, more suitable for Chinese and Cloud
GNU General Public License v3.0
658 stars 31 forks source link

[Feature Request]: Extend the Preset Limit: No More than 14 Presets are Displayed #62

Open DavidDragonsage opened 2 months ago

DavidDragonsage commented 2 months ago

Is there an existing issue for this?

What would your feature do?

REVISED REQUEST:

Allow the preset topbar to be limited to a higher number of presets. Instead of 14, allow the count to go to at least 30 presets. There is no need to switch to the mainline Fooocus preset selector.

OBSOLETE REQUEST: As shown in the screen shot, only about 12 presets are displayed so that they can be selected - and those are overlapped. But I actually have 21 presets in the folder, so many of them cannot be selected.

I hope that the preset selector from Fooocus 2.55 can be implemented so that all presets can be selected.

NEW Proposed workflow

Please refer to the last post in this thread - adjust the BUTTON_NUM shared parameter to a higher value.

OBSOLETE:

  1. Use a dropdown arrow to open a panel that displays all the presets that are available in the preset folder.
  2. Allow the user to select one of those presets for use

SimpleSDXL_presets

  1. ...

Additional information

No response

metercai commented 2 months ago

The role and status of Presets in SimpleSDXL and Fooocus are not exactly the same, and the Chinese name is usually shorter, while the English name is usually longer, so the processing methods may be different. I may need some time to think about a solution

DavidDragonsage commented 2 months ago

Thank you, I understand. I was wondering how folks were using this preset interface because it seemed so small. Fooocus 2.55 does have a workable preset interface that theoretically has no limit to the number of presets.

DavidDragonsage commented 2 months ago

The preset selector is currently very difficult to use for Western language users. But I have been thinking of a way to automatically preserve the current interface but switch to the Fooocus style selector when necessary.

The first attachment shows the current Fooocus preset selector. If this interface were invoked automatically only when the user has the "En" language selector in use (shown in the second attachment), this could be a way to maintain convenience for Chinese users and promote usability for Western language users.

FooocusPresetSelector

SimpleSDXL-LanguageSelector

DavidDragonsage commented 2 months ago

Actually, there is no reason to switch out the preset topbar to the Fooocus mainline standard. The preset topbar will simply wrap the entries to the next line as required, as shown in the attachment.

There is really no problem for English users with displaying the preset names. The preset filenames simply need to be shortened by the user, as shown in the attachment.

The only limitation is that the topbar is currently limited to displaying only 14 entries (15 if you count the word "Presets"). If that parameter could be expanded to at least 30 entries I believe the preset selection problem would be solved for the majority of users - in both languages.

From a preliminary inspection I see that this parameter is "shared.BUTTON_NUM".

Preset Topbar

metercai commented 2 months ago

The next version will release this and set the quantity based on the number of JSON files.

By the way, there is a difference between SimpleSDXL's preset and Fooocus' in that it not only adjusts the parameters, but also adjusts the interface layout.

DavidDragonsage commented 2 months ago

Wonderful! Thank you very much! 👍

That is intriguing about how the interface layout changes, I did not know that. I will have to have a look at how that works in the JSON files.

DavidDragonsage commented 1 month ago

No change in today's v20240916.2952150 version, the presets are still limited to a maximum of 14.

metercai commented 1 month ago

This method has distorted and deformed pages, which is not encouraged. We will change other solutions in the future.

DavidDragonsage commented 1 month ago

I'm just curious, which options are you looking at, the topbar that is in SimpleSDXL or the dropdown menu from Fooocus?