1.9.2: Keypress buffering on intensive operations

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
phinet
Posts: 1
Joined: Tue Jul 08, 2025 7:08 pm

1.9.2: Keypress buffering on intensive operations

Post by phinet »

XnView: MP 1.9.2 64 bit (Flatpak)
OS: Linux 64bit

I use XnView to quickly browse large sets of images, because it as fast, but also guarantees the image is on screen for at least on frame. If the images I am looking over are large enough that it takes a moment for the program show the photo, keypresses become extremely buffered.

Effect: Releasing key does not immediately (within reason) register with program.

To reproduce:
1. Open folder with large number of images
2. Open image and hold next on keyboard
3. Release keyboard after some time

Actual behaviour (bug): XnView will continue loading and showing many images before it realizes that you let go of key :bug:

Expected behaviour: XnView stops opening images as soon as last image finishes loading

Notes:
Attached is a video of the behavior.
There are 2 folders: One labeled "small" with images that do not trigger the bug, One labeled "large" with images the do trigger the bug.
The top right shows keyboard event, so you can see when I let go of the key
The images are generated with this script (for small folder $size is '100x100', $count is '1000', and $scale is '100'):

Code: Select all

#!/bin/bash

size=1000x1000
count=100
scale=1000

for ((i=0; i<count; i++)); do
    n=$(printf "%04d" "$i");
    magick -size $size xc:white \
        -attenuate 0.5 +noise Random -negate -colorspace Gray \
        -background none label:$n \
        -flatten -scale $scale% $n.jpg;
done
Screencast_20250708_152221.mp4
(1.64 MiB) Downloaded 572 times
Post Reply