stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Left and Right Arrow only work once you've clicked one of the arrow in the big picture gallery

Open Mozoloa opened this issue 3 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

Left and Right Arrow shortcuts only work once you've clicked one of the arrow in the big picture gallery, before that they do nothing

Steps to reproduce the problem

  1. Generate a bunch of images
  2. Click on one of them to open the big image viewer
  3. Click left or right arrow on the keyboard
  4. Nothing should happen
  5. Click with the mouse on one of the arrows at the edge of the screen, it will change to the next(or previous) image correctly
  6. Now the keyboard shortcuts suddenly work

What should have happened?

The arrow shortcuts should have worked right away, as they did before

Commit where the problem happens

b663ee2cff6831354e1b5326800c8d1bf300cafe

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Brave

Command Line Arguments

--xformers --ckpt-dir 'C:\AI\Models\Stable-diffusion' --vae-path 'C:\AI\Models\Stable-diffusion\NewVAE.vae.pt'

Additional information, context and logs

Windows 11 with Brave, shield disabled on the WebUI

Mozoloa avatar Jan 05 '23 00:01 Mozoloa

Reverting the change from https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/b663ee2cff6831354e1b5326800c8d1bf300cafe fixes the problem, as does changing the event to pointerdown as suggested by a commenter on that commit. No idea how it impacts FireFox

DocHoncho avatar Jan 05 '23 21:01 DocHoncho

fixed by https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/6635

mezotaken avatar Jan 11 '23 09:01 mezotaken