0.99.1: XnView MP flashes a blank gray page and a blank white page when I open it to the viewer mode.

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

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
Dark Magician
Posts: 12
Joined: Fri Sep 13, 2019 1:21 am

0.99.1: XnView MP flashes a blank gray page and a blank white page when I open it to the viewer mode.

Post by Dark Magician »

XnView: MP 0.99.1 (occurs in versions as early as 0.98.4) - 64-bit
OS: Windows 10 - 64-bit

Effect: XnView MP flashes a blank gray page and a blank white page when I open it to the viewer mode.

To reproduce:

1. In browser mode, select an image.
2. Press enter to open the image in viewer mode.
3. Close XnView MP and save the session.
4. Launch XnView MP, restoring the session.

Also:

1. In Settings > General, set "Mode when starting with a file" to "Normal."
2. Close XnView MP.
3. Open an image with XnView MP.

This problem is a severe accessibility issue that negatively impacts people with sensitive eyes, especially in low-light environments.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.1: XnView MP flashes a blank gray page and a blank white page when I open it to the viewer mode.

Post by xnview »

i don't have page flash, do you open a jpeg file? big one?
Pierre.
Dark Magician
Posts: 12
Joined: Fri Sep 13, 2019 1:21 am

Re: 0.99.1: XnView MP flashes a blank gray page and a blank white page when I open it to the viewer mode.

Post by Dark Magician »

I tested images of varying file sizes and file types. I attached a GIF illustrating the problem. For the GIF, I tested a single JPG image that is 378 KB.
Attachments
XnViewMP - Flash.gif
XnViewMP - Flash.gif (376.63 KiB) Viewed 2070 times
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.1: XnView MP flashes a blank gray page and a blank white page when I open it to the viewer mode.

Post by xnview »

Dark Magician wrote: Fri Oct 15, 2021 12:21 pm I tested images of varying file sizes and file types. I attached a GIF illustrating the problem. For the GIF, I tested a single JPG image that is 378 KB.
could you send me the jpg file? you open it from browser right? a lot of files in the folder?
Pierre.
Dark Magician
Posts: 12
Joined: Fri Sep 13, 2019 1:21 am

Re: 0.99.1: XnView MP flashes a blank gray page and a blank white page when I open it to the viewer mode.

Post by Dark Magician »

I opened the image in viewer mode, closed XnView MP, saving the session, and then launched XnView MP, loading the session. Also, I set "Mode when starting with a file" to "Normal" in settings and then opened the file with XnView MP in File Explorer. There are only two images in the folder. XnView MP flashes a bright blank white page when I maximize it, too:
XnViewMP - Flash (2).gif
XnViewMP - Flash (2).gif (134.86 KiB) Viewed 2045 times
You can download the image from here.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.1: XnView MP flashes a blank gray page and a blank white page when I open it to the viewer mode.

Post by xnview »

Dark Magician wrote: Fri Oct 15, 2021 11:57 pm I opened the image in viewer mode, closed XnView MP, saving the session, and then launched XnView MP, loading the session. Also, I set "Mode when starting with a file" to "Normal" in settings and then opened the file with XnView MP in File Explorer. There are only two images in the folder. XnView MP flashes a bright blank white page when I maximize it, too:
Could you send me your xnview.ini?
Pierre.
Dark Magician
Posts: 12
Joined: Fri Sep 13, 2019 1:21 am

Re: 0.99.1: XnView MP flashes a blank gray page and a blank white page when I open it to the viewer mode.

Post by Dark Magician »

xnview wrote: Mon Oct 18, 2021 6:49 am
Dark Magician wrote: Fri Oct 15, 2021 11:57 pm I opened the image in viewer mode, closed XnView MP, saving the session, and then launched XnView MP, loading the session. Also, I set "Mode when starting with a file" to "Normal" in settings and then opened the file with XnView MP in File Explorer. There are only two images in the folder. XnView MP flashes a bright blank white page when I maximize it, too:
Could you send me your xnview.ini?
I sent a private message containing a link to the INI file.

This problem also occurs in other Windows software (their Linux counterparts are unaffected), e.g., Shotcut, which the developer thinks may be related to Qt behavior. Is this relevant to XnView MP?

See:

https://github.com/mltframework/shotcut/issues/1168
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.1: XnView MP flashes a blank gray page and a blank white page when I open it to the viewer mode.

Post by xnview »

Dark Magician wrote: Tue Oct 26, 2021 1:12 am This problem also occurs in other Windows software (their Linux counterparts are unaffected), e.g., Shotcut, which the developer thinks may be related to Qt behavior. Is this relevant to XnView MP?
I have a very quick white area when maximized but it's not like you
Pierre.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.99.1: XnView MP flashes a blank gray page and a blank white page when I open it to the viewer mode.

Post by xnview »

not easy, the blank is less than 1/15s
Pierre.
Dark Magician
Posts: 12
Joined: Fri Sep 13, 2019 1:21 am

Re: 0.99.1: XnView MP flashes a blank gray page and a blank white page when I open it to the viewer mode.

Post by Dark Magician »

xnview wrote: Mon Nov 01, 2021 2:06 pm not easy, the blank is less than 1/15s
The white page is usually much slower and more noticeable on my system, as depicted by the GIFs. So much so that it is blinding. Does XnView MP use Qt? The lead developer slated a fix for the same problem in Shotcut for version 21.11. Since that version is not available yet, I am unsure how well it works in practice, but it involves adjusting the window opacity. See the GitHub link for details. Can you apply a similar workaround to XnView MP?
dbplunkett
Posts: 4
Joined: Sun Apr 16, 2023 2:44 am

Re: 0.99.1: XnView MP flashes a blank gray page and a blank white page when I open it to the viewer mode.

Post by dbplunkett »

Is it possible to change the color of the flash to black? It seems like a small thing, but as it is, every time I open an image the entire room gets lit up as if by a camera flash (which is disturbing to others in the room) and I'm slightly blinded.
Post Reply