1.7.1 Fullscreen stops working after visualizing a video

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

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
Zheitk
Posts: 75
Joined: Sun May 01, 2011 3:44 am

1.7.1 Fullscreen stops working after visualizing a video

Post by Zheitk »

XnView: MP 1.7.1 - 64 bit
OS: Windows 64bit

I've had this problem for a while and recently updated to MP 1.7
I use the middle mouse click to enter fullscreen, and the keyboard arrows to navigate.
If a video (only tested mp4 and webm) is visualized, I can no longer exit fullscreen with the mouse. Using the 'esc' key works, but the problem persist if entering fullscreen again. The bug goes away after closing and reopening XnView.
User avatar
Zheitk
Posts: 75
Joined: Sun May 01, 2011 3:44 am

Re: 1.7.1 Fullscreen stops working after visualizing a video

Post by Zheitk »

It bugs a little different with my settings and a clean installation, but the problem is there in both.

Tried with XnView: MP 1.7.1 - 64-bit, zip with default settings on Windows 10 - 64-bit

.- Browse a folder with several jpeg images and a mp4 video
.- Enter fullscreen on a jpeg image (f11 or middle mouse click), navigate with the arrow keys to the video, then to another image.
.- Exit fullscreen mode.

The first time it exits fullscreen, but after repeating the steps, sometimes it exists fullscreen, and sometimes don't.
When it doesn't, It seems the screen actually freezes, as the fullscreen becomes unresponsive: no navigation with arrow keys, the Esc key and middle click doesn't work to exit fullscreen. The windows keys does. Using F11 actually 'opens' the fullscreen again, then everything seems to work again.
Furthermore, it seems as xnview is receiving the click events underneath, as sometimes it has navigated to a random folder or selected another image.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.7.1 Fullscreen stops working after visualizing a video

Post by xnview »

Zheitk wrote: Sun Apr 28, 2024 7:28 pm .- Browse a folder with several jpeg images and a mp4 video
.- Enter fullscreen on a jpeg image (f11 or middle mouse click), navigate with the arrow keys to the video, then to another image.
.- Exit fullscreen mode.
are you able to reproduce each time?
Pierre.
User avatar
Zheitk
Posts: 75
Joined: Sun May 01, 2011 3:44 am

Re: 1.7.1 Fullscreen stops working after visualizing a video

Post by Zheitk »

are you able to reproduce each time?
Yes, I am. In a fresh zip in portable mode 1.7.1.
If I exit fullscreen before moving to another picture, it works normally.
If it got stuck, pressing F11 'opens' the fullscreen again and enables the navigation, then f11 exits normally. And it keeps working after "passing" another video in fullscreen.

Here a 1m30s video: https://streamable.com/4t5c76
---
At first it got stuck while navigating (the arrow turns into a cursor when middle clicking the mouse). I used the f11 key to exit (the last blink before exiting) (0:06-0:21)
Then in works one time (0:23-0:27)
Then it got stuck again and used the windows key to exit (0:30-0:40)
Then it works fine for a little while (0:45-1:05)
Finally toggling fullscreen without navigating it got stuck again on the video and used windows key to exit (the blinks are middle mouse clicks) (1:05-1:30)
User avatar
Zheitk
Posts: 75
Joined: Sun May 01, 2011 3:44 am

Re: 1.7.1 Fullscreen stops working after visualizing a video

Post by Zheitk »

On the fresh settings, after opening Xnview and navigating jpeg > mp4 > jpeg in fullscreen, it happens every time the first time. Then it seem to be random.

On my current settings (a mess after updating for years), after viewing a mp4/webm it will get stuck everytime, and no f11/esc/middle click works, only the windows key (and restarting xnview).
User avatar
Zheitk
Posts: 75
Joined: Sun May 01, 2011 3:44 am

Re: 1.7.1 Fullscreen stops working after visualizing a video

Post by Zheitk »

Solved it changing a setting on my nvidia drivers!

I'm using a desktop with a nvidia card gt 1030 with 2023 drivers
I confirmed a similar issue on an old laptop with nvidia quadro with 2015 driver.
On this laptop, the issue doesn't happen if connected using a Remote Desktop Connection, it seems RDP doesn't use the GPU by default.

So I searched the forum for how to disable the GPU rendering, as xnviewmp appears in my nvidia panel under "Applications running on this GPU"

I tried this viewtopic.php?p=187363#p187363

Code: Select all

useInternalVideoPlayer=false
This fixed the issue but obviously no video support. On my desktop It also stopped the fullscreen from rendering! (only the empty background)

Then tried this viewtopic.php?p=193411#p193411

Code: Select all

nvidia control panel > manage 3d settings > program settings > add (manually add the portable xnview mp) and setting "Vulkan/OpenGL present method" to "Prefer layered on DXGI swapchain"
This fixed it, but only on the xnviewmp selected, as I didn't wanted to mess some other program.
Post Reply