Comments (9)
The problem is that SumatraPDF-settings.txt resides in both folders "..\AppData\Local\SumatraPDF" and "d:\Program Files\SumatraPDF", but the program doesn't save any data to any of these configuration files
And "yes", the data in "..\AppData\Local\SumatraPDF\SumatraPDF-settings.txt" is NOT used at all (that was the reason to copy SumatraPDF-settings.txt to "d:\Program Files\SumatraPDF" folder
I've never encountered such problems earlier. I just upgraded from 3.4.6 to 3.5.2 and on opening SumatraPDF after that I found that no previously opened tab was opened and no change in options is remembered either
from sumatrapdf.
Hi, Mark
I tried executing the program version 3.5.2 with admin rights and it did began to save settings, but not in the \AppData\Local\SumatraPDF\SumatraPDF-settings.txt and in the "d:\Program Files\SumatraPDF\SumatraPDF-settings.txt" (sort of like a PORTABLE version). Besides there appeared "sumatrapdfcache" folder ...
from sumatrapdf.
"d:\Program Files\SumatraPDF.." may only be a PORTABLE version thus the settings in that case would potentially be fresh in that folder unless you have copied from another portable copy.
the all users installation folder C:\progr... is not allowed to hold data hence an installed version would start by building settings in current users %localappdata%
from sumatrapdf.
ALL portable (non installed) versions use their .exe folder for settings. (they will NOT used an installed versions settings)
All installed versions single or multi user use the users local data folder (in a subfolder below that, to not conflict with other users)
thus there should be only 2 possible locations per user.
What can happen is much older versions used the user "Roaming" folder but MS now suggest user %localappdata% thus the \SumatraPDF\SumatraPDF-settings.txt
from sumatrapdf.
No records in the Roaming folder found
What I found out is that when I simply copied the whole folder "d:\Program Files\SumatraPDF" to "C:\Program Files\SumatraPDF" (without SumatraPDF-settings.txt in it) everything started to work properly - the changes are written in "..\AppData\Local\SumatraPDF\SumatraPDF-settings.txt".
So the problem is probably incorrect functioning of SumatraPDF.exe if it's installed in a directory other that default "C:\Program Files\SumatraPDF"
from sumatrapdf.
I had the same issue with version 3.5.2, and even with version 3.4.6. I noticed the program did not generate a settings-file in the folder. The issue was solved for me by executing the program with admin rights. In the end I updated the rights in the installation folder so that the user profile full (writing) access for the folder. This solved it for me. Hope it works for you too.
from sumatrapdf.
It sounds like you are using installer outside of the all users protected area there are 2 variant sizes for a reason. The bigger single exe has the install and uninstall code for the system and registry, but the smaller version is the one for portability
If it was an installed copy it should outside of the C:\program folders attempt to re-install and if you say all users into c:\program files since that's the detected previous default all users folder
A clean installation will start up for a single user
ALL USERS will start in the all users area
from sumatrapdf.
I installed (actually I just upgraded the previous version) using SumatraPDF-3.5.2-64-install.exe file (not portable) in the folder "d:\Program Files\SumatraPDF" (so before the problems described in my first post I didn't have "C:\Program Files\SumatraPDF" at all). And with versions up to 3.4.6 everything worked fine with that configuration.
Now I have 2 working options:
- By manually copying all files to "C:\Program Files\SumatraPDF" and starting the program from that folder I got the situation in which the program works with c:\Users\User\AppData\Local\SumatraPDF\SumatraPDF-settings.txt
- If I start "d:\Program Files\SumatraPDF\SumatraPDF.exe" with admin rights then he program works with "d:\Program Files\SumatraPDF\SumatraPDF-settings.txt"
So something has changed in 3.5.2 :-)
from sumatrapdf.
Based on description this must be a permission issue most likely settings file was created with admin permissions or in a directory where only admin apps can write to.
That's why it works in admin but not otherwise.
This could be related to imperfect upgrade code but not knowing what exactly happened I don't see a way to figure out how it got in that state.
Check permissions or just delete / un-install all versions and re-install from scratch.
from sumatrapdf.
Related Issues (20)
- How to select text use keyboard. HOT 4
- Fail to open a pdfTeX HOT 3
- Save comic book (*.cbz) as pdf HOT 1
- certain PDFs with an image layered below a mask layered below text, ignore the mask HOT 4
- Problems with languages that are read from right to left (RTL), Hebrew and Arabic. HOT 5
- In properties, show whether the file is linearized or not HOT 5
- Printed paper has scrambled colors does not respect the color in pdf (and scale) HOT 1
- Applying background and text customed color settings in Settings.txt when print or save as. HOT 3
- EPUB - 'Synchronization file cannot be opened' on double click HOT 2
- Crash when opening particular EPUB. *** closing because issue opening all EPUBs. Have uninstalled and reinstalled *** HOT 1
- Support for Editable PDFs HOT 2
- Add paper texture in background and reading mode HOT 5
- Close all HOT 3
- doc: f to toggle between full screen mode and window mode HOT 1
- Zoom pdf different than zoom contained jpg in pdf HOT 2
- Hangs on open with this file HOT 2
- The background color is inverted HOT 2
- 【增强】线段编辑流程,更高效[Enhanced]The line segment editing process is more efficient HOT 1
- Ctrl-Zoom Crash (WinDbg report) HOT 7
- quit full screen mode by double clicking HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sumatrapdf.