Options are not saved

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 10 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
Jay Adams
Posts: 22
Last visit: Fri Dec 16, 2022 7:32 am

Options are not saved

Post by Jay Adams »

Changes to PS options are not retained after application restart.

Version: 7.0.14 64-bit
OS: Windows 7 Pro 64-bit
User avatar
Alexander Riedel
Posts: 8489
Last visit: Thu Apr 18, 2024 9:59 am
Answers: 20
Been upvoted: 37 times

Re: Options are not saved

Post by Alexander Riedel »

Like what in particular?
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
Jay Adams
Posts: 22
Last visit: Fri Dec 16, 2022 7:32 am

Re: Options are not saved

Post by Jay Adams »

For example, if I go to File->Options->Text Editor->General and set the following:
[ ] Enable Drag and Drop
[x] Always open XML files as text
[x] Always open HTML as text
[x] Highlight current line
Default font: Consolas (Size: 11)
ASP.NET: C# (C Sharp)

Click OK then close. Upon re-opening, none of those settings were retained.
User avatar
Alexander Riedel
Posts: 8489
Last visit: Thu Apr 18, 2024 9:59 am
Answers: 20
Been upvoted: 37 times

Re: Options are not saved

Post by Alexander Riedel »

Works perfectly fine here.
You running some registry protection software?
or Antivirus?
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
Jay Adams
Posts: 22
Last visit: Fri Dec 16, 2022 7:32 am

Re: Options are not saved

Post by Jay Adams »

My config is fairly standard. I don't have any registry protection or anything out of the ordinary other than antivirus and other network monitoring/protection.

I performed some of the operations while running Process Monitor and PrimalScript appears to have the access it needs. If I search for a string inside a file and then close PS, I can see that PS successfully wrote my search value to:

HKEY_CURRENT_USER\Software\SAPIEN Technologies, Inc.\PrimalScript 2014\Settings\SearchString

I am an admin on the box with UAC enabled. I've tried with and without "Run as administrator" with the same results.
User avatar
Alexander Riedel
Posts: 8489
Last visit: Thu Apr 18, 2024 9:59 am
Answers: 20
Been upvoted: 37 times

Re: Options are not saved

Post by Alexander Riedel »

Fairly simple test.
Go here:
HKEY_CURRENT_USER\Software\SAPIEN Technologies, Inc.\PrimalScript 2014\Options

Look at a value, like
3-16-2014 12-26-03 PM.png
3-16-2014 12-26-03 PM.png (4.2 KiB) Viewed 4752 times
Open PrimalScript, go to options - text editor - general
Before.png
Before.png (3.19 KiB) Viewed 4752 times
Now change it
after.png
after.png (3.43 KiB) Viewed 4752 times
Press OK and exit PrimalScript.
Refresh RegEdit
Regafterexit.png
Regafterexit.png (4.1 KiB) Viewed 4752 times
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
Jay Adams
Posts: 22
Last visit: Fri Dec 16, 2022 7:32 am

Re: Options are not saved

Post by Jay Adams »

I only have one registry key under Options: LastUpdate

I completely uninstalled 7.0.14 (64-bit), removed all related registry hives and folders that were left and then did a clean install of 7.0.18 (64-bit).

Still, no changes to File->Options->Text Editor-General get saved. I still only have the one registry entry in the Options hive under HKCU.

Is this happening to anyone else? Just trying to see if there's some commonality.
User avatar
bitblaster
Posts: 9
Last visit: Sun Jun 14, 2015 11:06 am

Re: Options are not saved

Post by bitblaster »

Yep. None of my options are getting saved. On Win7 PS crashes on exit (see other post), on Win8.1 app exits but nothing is saved.

Tested on 7.0.18.
User avatar
Alexander Riedel
Posts: 8489
Last visit: Thu Apr 18, 2024 9:59 am
Answers: 20
Been upvoted: 37 times

Re: Options are not saved

Post by Alexander Riedel »

Right click on the shortcut and select "run as admin".
That'll tell us if it is a permission problem.
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
Jay Adams
Posts: 22
Last visit: Fri Dec 16, 2022 7:32 am

Re: Options are not saved

Post by Jay Adams »

I've already tried that...
I am an admin on the box with UAC enabled. I've tried with and without "Run as administrator" with the same results.
This topic is 10 years and 1 month old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.