@Pierre,
I think I know exactly what the OP is experiencing, since I have the exact complaint, though I haven't written a bug report yet: Ever since precisely those days of 1.8.3 or so, in one of the changes -- I think probably to the 1.9.x or perhaps one of the previuos one, I can't tell now -- I noticed
immediately that the program became much, much slower in rendering directories, and in operations as simple as Save as... or selecting a portion of the image and then Save as..., etc.
The situation is, that first, just entering in any directory that has several hundreds or much worse when it's thousands of pictures, the program becomes completely irresponsive for many seconds more than it used to be. Same for the operations that I mentioned before: When I select a portion of an image that is in full mode, then Save as..., then the program is again frozen for many seconds: one can see only the exterior frame of the Save as... dialog, and only after several seconds, in my case sometimes between 5 and 10 seconds, depending on the directories' sizes, (can go to more than 30 seconds if huge directory of ~6000 or more files), then the dialog is visible and accessible for keyboard input. This is a very big difference compared with the previuos version (around 1.8.x). Also, when in full screen mode, to make "Copy to...", (something which I have been doing intensely in every session, since many years, thus my experience is significant), I have to wait about 4 seconds of irresponsive program to get the "Copy to" dialog visible and available for input.
I have been delaying to make a bug report on this, even though it's extremely irritant and disrupted, because I no longer have any of the installers of the old versions, to determine exactly which one was the "good" one and when this annoying problem started. I have tried going to this forum, to the change log section
https://newsgroup.xnview.com/viewforum.php?f=115, where there are links to the AppImages of older versions, I downloaded several of them and started doing experiments, only to find that there were no difference: All behaved bad. That's strange, I thought, but then I realized:
All AppImages links there point to the LATEST version! So all the 6 or 7 files I downloaded from this site are exactly one and the same: the v1.9.3.
So I wasted a lot of time.
But I can guarantee you that the only thing that changed in my system was the XnView version, when all of a sudden
the program became very slow and annoying with those operations, the exact moment when I installed and tried the newest deb of that time, exactly as the OP describes. To the point that I wanted to downgrade, but I had already deleted the older debs.
That's something that now I can't do, since you don't provide the older AppImages (I don't know about the deb installers). If I would have an old deb installer, I would not like to downgrade that way, because it's already integrated with the whole apt system, but if I would have access to AppImage files of older versions, then I can easily run tests to compare and as possible to measure timings.
However, all in all, you know exactly what you have done in those new versions, and it must be easy for you to guess what can be contributing now to delay so significant those actions, anything that may block the GUI while accessing the directory and listing their files or whatever that you were not doing in older than 1.9.x . You can test yourself, just create several directories with say, at least 2000 files each (the more, the better and easier you'll see what I mean), and then spend time just doing those operations. Tell me if you don't see your program irresponsive for a longer time than before.
Please try to reproduce the issue yourself, because I have little time to do troubleshooting and write bug report, plus I don't have the AppImages. I have already filed a bug report on another issue that I am sure it must be related, in any case, to the bad performance in general, please have a look:
https://newsgroup.xnview.com/viewtopic.php?t=49512
Thanks a lot for putting some attention to the issue of performance!