Default and locked settings

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
klementin
Posts: 3
Joined: Mon Sep 18, 2023 12:18 pm

Default and locked settings

Post by klementin »

Hello!
Shouldn't it be possible to set default settings, with the option to lock them for users?

The reason is that if you want to distribute this in a corporate environment, you wouldn't want users to be able to change settings, such as check for updates, for example.

Br,
KLEMENTiN
User avatar
user0
XnThusiast
Posts: 2409
Joined: Sat May 09, 2015 9:37 am

Re: Default and locked settings

Post by user0 »

how about
- install in folder that user have no write rights, eg program files
- disable catalog caching in xnview
klementin
Posts: 3
Joined: Mon Sep 18, 2023 12:18 pm

Re: Default and locked settings

Post by klementin »

Hi!
I understand your thinking, but we still want users to be able to change certain settings in the program, but not things like themes and updates (as an example).
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Default and locked settings

Post by xnview »

klementin wrote: Mon Sep 18, 2023 12:24 pm The reason is that if you want to distribute this in a corporate environment, you wouldn't want users to be able to change settings, such as check for updates, for example.
which settings do you want to lock?
Pierre.
klementin
Posts: 3
Joined: Mon Sep 18, 2023 12:18 pm

Re: Default and locked settings

Post by klementin »

Hi!
This is what I can think of right now:

[Locked] Tools -> Settings -> General -> Check for program updates: Never
[Disable/Remove] Help -> Registration
[Disable/Remove] Help -> Purchase
[Disable/Remove] Help -> Make a donation
[Disable/Remove] Help -> Check for update

And to make a default settings file for the all users. Let's say "%programfiles%\XnViewMP\xnview_default.ini" in the program catalog, which is then merged with the userssettings in "%appdata%\XnViewMP\xnview.ini". We are thinking on buying this program into our corporate Citrix desktop environment.
lololo
Posts: 1
Joined: Fri Jan 12, 2024 8:55 am

Re: Default and locked settings

Post by lololo »

Hello,
I would also be very interested in this implementation
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Default and locked settings

Post by xnview »

See issue for current status and some details.
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Default and locked settings

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.7.2. Please check and confirm the bug fix here.
Pierre.
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Re: Default and locked settings

Post by ckit »

I Cannot Confirm in XnViewMP 1.7.2

The following was copied and pasted into the top of "xnview.ini"
[Policies]
menuHelp=false

Reopened XnViewMP and help menu was the same as before!
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Default and locked settings

Post by xnview »

[Policy]
menuHelp=false
Pierre.
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Re: Default and locked settings

Post by ckit »

Bug Fix Confirmed in XnViewMP 1.7.2, Thank you!
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
Post Reply