Open rbtk1 opened 4 weeks ago
This is a bugbear of mine, too, so thank you very much for raising it as an issue! The underlying reason is related to the fact that the old previewer is removed and a new one created every time you navigate to a new file, which leads to the window background being shown briefly. It may be that keeping the old previewer around until the new one has finished loading the new file would be a viable solution, but there's some subtlety about how long to wait before showing that Peek has registered your input, so perhaps a new way of showing progress would be needed.
I'd like to look at this, but it's a medium-to-large complexity task affecting some fundamentals of how the different previewers are created and managed, so may take a while.
go for it @daverayment
@rbtk1 Can I ask you a couple of questions about this, please?
Thank you!
@daverayment Thanks for taking a look at this, and good to hear others agree these smaller visual issues are important too 😁
For images its more noticable when flicking through very bright images since it will breifly flash dark (im using dark theme, so might be different reversed with the light OS theme), but i actually started this thread when i preview a whole bunch of folder and Peek unsupported files where it just shows the icon and the metadata, and got a bit annoyed the icon and text flashed every time selecting next/previous. for images its especially annoying if comparing 2 similar images and go back and forth between them.
The window resizing im not sure about what i would prefer. As long as the image is not starting scaled down then scaled up afterwards along with the window frame and thereby would again appear to flicker, then i dont think i have a preference.
@rbtk1 It's a small, but certainly not a minor issue, so thanks again for raising it. It's not just a comfort issue, as some people are very susceptible to flashing lights.
Thanks so much for answering the questions; it's really going to help prioritise the work and give me an idea what's important to test for. I have a fix for the image previewer now, and it's much more pleasant to rapidly move through a folder now.
Microsoft PowerToys version
0.83.0
Installation method
WinGet
Running as admin
Yes
Area(s) with issue?
Peek
Steps to reproduce
Jumping from one file to the next using he arrow keys with Peek open, the preview area flickers every single time it previews the next file. This might be considered a minor issue, but it looks quite bad and it reflect badly on the polish of the app.
✔️ Expected Behavior
No flickering when switching between previewed files with the arrow keys
❌ Actual Behavior
The preview area is cleared for a milisec before displaying the next file, making it flicker, especially if you quickly preview a bunch of files after one another.
Other Software
No response