[feat] - browser mode - autofocus cause video file lock
Posted: Fri Sep 30, 2022 8:24 pm
XnView MP 1.3.0 64bits
Windows10 64bit (21H1)
XnViewMP in Browser mode switchs focus to the file that has been renamed in File explorer.
That cause file lock in case of video file.
To reproduce:
1. download XnViewMP archive, extract and run program
2. place video and image file(s) in the same folder
3. open folder in Browser mode (eg open image and press Enter)
4. rename video file in windows File explorer (it shall be succesful)
what happens: XnViewMP (in Browser mode) automatically updates file list, place newly renamed file in the end of this list and changes focus to this file and if Preview panel is on (default state) that cause file lock.
5. try to rename/move/delete video file in windows File explorer.
I also tried to untick the following checkboxes in Settings, but it does not help:
- Catalog -> Enable Catalog
- View -> Misc -> Show Video, Autoplay (video), Loop video playing
Actual behaviour:
When file renamed outside of XnViewMP (eg in File Explorer),
XnViewMP (in Browser mode) automatically:
- updates file list and places newly renamed file in the end
- sets focus on this newly renamed file
Expected behaviour:
When file renamed outside of XnViewMP (eg in File Explorer),
XnViewMP (in Browser mode) automatically:
- should updates file list and sort files accordingly (eg A-Z)
- should keep existing focus
Windows10 64bit (21H1)
XnViewMP in Browser mode switchs focus to the file that has been renamed in File explorer.
That cause file lock in case of video file.
To reproduce:
1. download XnViewMP archive, extract and run program
2. place video and image file(s) in the same folder
3. open folder in Browser mode (eg open image and press Enter)
4. rename video file in windows File explorer (it shall be succesful)
what happens: XnViewMP (in Browser mode) automatically updates file list, place newly renamed file in the end of this list and changes focus to this file and if Preview panel is on (default state) that cause file lock.
5. try to rename/move/delete video file in windows File explorer.
I also tried to untick the following checkboxes in Settings, but it does not help:
- Catalog -> Enable Catalog
- View -> Misc -> Show Video, Autoplay (video), Loop video playing
Actual behaviour:
When file renamed outside of XnViewMP (eg in File Explorer),
XnViewMP (in Browser mode) automatically:
- updates file list and places newly renamed file in the end
- sets focus on this newly renamed file
Expected behaviour:
When file renamed outside of XnViewMP (eg in File Explorer),
XnViewMP (in Browser mode) automatically:
- should updates file list and sort files accordingly (eg A-Z)
- should keep existing focus