anapnoe / stable-diffusion-webui-ux

Stable Diffusion web UI UX
GNU Affero General Public License v3.0
964 stars 60 forks source link

[Feature Request]: Make text2img Metadata Panel Resizable #197

Closed Neverdusk closed 8 months ago

Neverdusk commented 8 months ago

Is there an existing issue for this?

What would your feature do ?

When viewing an image's info / metadata in the text2img window, the actual images shrink based on metadata size. If using a lot of extensions that add to metadata (e.g.: ControlNet, Adetailer, Cutoff), multiple Lora, or simply long prompts, the metadata panel can get pushed very high up, to the point of turning images miniscule. Saving multiple images only worsens the issue. Screenshot 2023-11-06 132155

The ability to manually adjust the size of the metadata panel, images could be adjusted to reasonable sizes. Potentially, a scroll bar could be added to the metadata panel, dynamically changing as the panel is increased or decreased, making it possible to scroll through and read all metadata while keeping images at a practical size - which would be the best of both worlds.

Proposed workflow

  1. Go to text2img
  2. Create an image with a lot of metadata
  3. Press the View Info / Metadata button
  4. Resize panel and scroll metadata to more easily view and compare image info

Additional information

No response

anapnoe commented 8 months ago

added max height for info panel

Neverdusk commented 8 months ago

added max height for info panel

I updated to the latest commit, and I didn't see any change on my end. At one point, I downloaded a large batch of images, and the info panel's buttons completely disappeared into the UI. Screenshot 2023-11-07 201314

Neverdusk commented 8 months ago

I've also noticed that batch count seems to repeat and stack embedding information, for some reason. Each successive image has the embeddings repeated one additional time, until the take up several lines of meta. Screenshot 2023-11-07 203709 The first image is normal, the second doubles the embeddings, the third triples the embeddings, and so-on.

anapnoe commented 8 months ago

no issue, can't reproduce, no stack embedding info repeat, a scrollbar should appear when info height is greater than 33vh probably some issue with an extension or you haven't updated to the last commit or issue with your browser use a chromium based browser no_issue

Neverdusk commented 8 months ago

Reopened the UX and it works now. Not sure why it didn't update for me yesterday, but thanks for the fix!