.mp4 files locked after viewing

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

Moderator: Dreamer

Post Reply
User avatar
Brother Gabriel-Marie
Posts: 259
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

.mp4 files locked after viewing

Post by Brother Gabriel-Marie » Tue Sep 12, 2017 4:18 am

With my camera I take a lot of photos and an occasional movie (mp4).
Then I view them all the same in MP.
So I double click on the files to view them - images and movies alike.

I also don't use tabs - so I have the settings all set so there is only ever a single tab open and then I hide all tabs. That way I can simply double click to switch between browser and viewer without ever having to close tabs.

However, I have problems with movies.
After I watch part of one, I double-click on it to go back to the browser mode. I can still hear the movie playing - which means that the file is still open in the background. This file keeps playing even though I am in browser mode and have clicked on other files.

And of course, the file is locked, too, so I can't move it.

ALSO, I notice that if I select a movie file and copy/cut it, and then try to paste it in Explorer, I can't because MP has it locked because that movie is showing in the preview panel. So I have to cut the file, then select some other file, and THEN I can paste it in explorer.

So there are two places the mp4 is getting locked: whilst it plays in a hidden background tab, and when it is displayed in the preview panel.

User avatar
xnview
Author of XnView
Posts: 30018
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: .mp4 files locked after viewing

Post by xnview » Tue Sep 12, 2017 9:41 am

if you show tabs, do you see 2 tabs?
Pierre.

User avatar
Brother Gabriel-Marie
Posts: 259
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Re: .mp4 files locked after viewing

Post by Brother Gabriel-Marie » Tue Sep 12, 2017 2:34 pm

Pierre, yes - one for browser and one for the mp4 file.

So the mp4 keeps playing in the tab until I "view" another file. If I double-click on a jpg then *that* opens in that second tab and the movie stops playing.

But if I don't open another file in view mode, then the mp4 is locked because MP still has it in that other tab.
So the file will be locked if it is open in the hidden tab, AND/OR if it is open in the preview panel.

Oh, and the reason I don't like tabs is because I like to view a lot of files by switching between browser and view - and I hate having to close tabs all the time. So I try to use MP's settings to get a sort of "tabless" mode.

User avatar
Brother Gabriel-Marie
Posts: 259
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Re: .mp4 files locked after viewing

Post by Brother Gabriel-Marie » Mon Jul 02, 2018 3:02 pm

So, is there a way to get out of having to close tabs all the time?

Maybe there can be an auto-close tab option which happens when you select a different file?

User avatar
xnview
Author of XnView
Posts: 30018
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: .mp4 files locked after viewing

Post by xnview » Tue Jul 03, 2018 2:31 pm

Brother Gabriel-Marie wrote:
Mon Jul 02, 2018 3:02 pm
So, is there a way to get out of having to close tabs all the time?

Maybe there can be an auto-close tab option which happens when you select a different file?
and pressing ESC or double click to close the current tab is not good?
Pierre.

User avatar
Brother Gabriel-Marie
Posts: 259
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Re: .mp4 files locked after viewing

Post by Brother Gabriel-Marie » Tue Jul 03, 2018 2:35 pm

Well, sure I could close the tab myself. But when you move through alot of files, it adds extra steps and stresses the workflow with actions that are not necessary to accomplish anything. It's like using an umbrella in the rain and you have to keep pushing it back up because the catch doesn't work right.

User avatar
xnview
Author of XnView
Posts: 30018
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: .mp4 files locked after viewing

Post by xnview » Tue Jul 03, 2018 3:00 pm

but how do you return to browser?
Pierre.

User avatar
Brother Gabriel-Marie
Posts: 259
Joined: Thu Aug 23, 2007 2:33 pm
Location: United States

Re: .mp4 files locked after viewing

Post by Brother Gabriel-Marie » Tue Jul 03, 2018 3:05 pm

I just double click the image to switch between browser and viewer.

In Settings > Interface > Switching Mode
I use

Use Double Click to Switch Between:
Browser <> Viewer

Sometimes I also use:
Use ENTER to Switch Between
Browser <> Viewer

In either case, I wouldn't ever have a reason to close a tab. (also, all these problems persist if tabs are hidden, anyway. I'd hide my tabs, but there are certain times where I'm forced to close the tabs manually, so I *can't* hide the tabs). The problem here (I think) is that the tab *locks* the file - that's why you can't rename or move a file when it's open in a tab.

User avatar
xnview
Author of XnView
Posts: 30018
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: .mp4 files locked after viewing

Post by xnview » Sun Aug 05, 2018 3:17 pm

the video file is opened when you open the tab
Pierre.

Post Reply