Custom keyboard shortcuts reset after restart

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

corr
Posts: 26
Joined: Tue Jun 13, 2017 8:00 am

Custom keyboard shortcuts reset after restart

Post by corr »

When I set custom keyboard shortcuts (interface > shortcuts) and restart xnview my settings are gone. Other settings are saved.

Version 0.99.0 64bit on Win10
Franky
Posts: 81
Joined: Fri Mar 06, 2020 1:28 pm

Re: Custom keyboard shortcuts reset after restart

Post by Franky »

Hi

I tested with XNView MP, and it works.
corr
Posts: 26
Joined: Tue Jun 13, 2017 8:00 am

Re: Custom keyboard shortcuts reset after restart

Post by corr »

Hm, strange

EDIT:
My settings are saved in ini and User (System)
Franky
Posts: 81
Joined: Fri Mar 06, 2020 1:28 pm

Re: Custom keyboard shortcuts reset after restart

Post by Franky »

For me the shortcuts are saved in default.keys
corr
Posts: 26
Joined: Tue Jun 13, 2017 8:00 am

Re: Custom keyboard shortcuts reset after restart

Post by corr »

I can save the settings if I start xnview as admin. But can't with standard user. default.keys is in programs. Seems the reason why it can't be saved.
corr
Posts: 26
Joined: Tue Jun 13, 2017 8:00 am

Re: Custom keyboard shortcuts reset after restart

Post by corr »

Now I understand it. It does not import the data from the key file. It uses the key file as a new file from which it reads the data at every restart and when you delete it, it returns to the defaults. This is unexpected behavior for me.
User avatar
xnview
Author of XnView
Posts: 36433
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Custom keyboard shortcuts reset after restart

Post by xnview »

corr wrote: Wed Sep 22, 2021 6:39 am Now I understand it. It does not import the data from the key file. It uses the key file as a new file from which it reads the data at every restart and when you delete it, it returns to the defaults. This is unexpected behavior for me.
Why default.keys is in program folder?
Pierre.
corr
Posts: 26
Joined: Tue Jun 13, 2017 8:00 am

Re: Custom keyboard shortcuts reset after restart

Post by corr »

No clue. Have removed it.