XNViewMP 0.93 Portable looses keyboard shortcuts changing computers

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

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
User avatar
duarte.framos
Posts: 10
Joined: Fri Dec 19, 2014 5:46 pm
Location: Lisbon, Portugal
Contact:

XNViewMP 0.93 Portable looses keyboard shortcuts changing computers

Post by duarte.framos »

Subject: 0.93: Loss of keyboard shortcuts when run from different path

XnView: MP 0.93 - 64 bit
OS: Windows 10 64bit
OS: Windows 7 64bit

Keyboard shortcuts are lost when XNViewMP Portable runs from a different installation path

Effect: There are no keyboard shortcuts on launch

To reproduce:
1. Configure XNViewMP Portable on a certain path use program folder for all files
2. Load a custom keyboard shortcut file from the program folder
3. Move installation folder to a different path
4. Run from new location
Actual behaviour (bug): No keyboard shortcuts work

Expected behaviour: Previously configured keyboard shortcuts should be maintained

______________________________________________________

I use XnViewMP Portable 0.93 64bits (Jan 31 2019) in two computers, home (Windows 7 64Bits) and work (Windows 10 64Bits) running from a thumb drive with a different file letter.

In the xnview.ini preferences file custom .key keymap files are stored as a full path so it is not found when run from a different location and I have to set it up again on every first run.
My custom key map is store in the program folder, and in Settings > Integration > Paths > Folder for Other Files I have it set Program(XNView) but it doesn't seem to find the file anyway. I also tried manually inserting a relative path in shortcut=MyCustomKeys.keys, but it is not recognized and resets to a full path.

Is it possible to change behavior so program folder is searched on startup for the current key file, or make it accept a relative paths to the file in portable mode?
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: XNViewMP 0.93 Portable looses keyboard shortcuts changing computers

Post by xnview »

strange by default .keys use same path as .ini
Pierre.
Post Reply