sciter-sdk icon indicating copy to clipboard operation
sciter-sdk copied to clipboard

Windows: html-notepad.json saved in AppData\Roaming\

Open lintalist opened this issue 6 years ago • 4 comments

On the download page you say "the application is portable by its nature" which is true for the exe/dll but settings are saved in c:\users...\AppData\Roaming\html-notepad.json - for use in a flash drive it would be nice(r) to have the settings saved to the application folder.

https://www.portablefreeware.com/faq.php#stealth

lintalist avatar Nov 04 '18 20:11 lintalist

There are two pieces of data in html-notepad.json

  1. window position and window size related data.
  2. MRU lists - folders, open files and their content if it was not saved.

I agree that in portable scenario MRU data shall go somewhere else, like flash drive. But what about No 1 ? If you have two different systems with two different monitor setups window position will be wrong. Or shall we just discard persistence of UI state in portable case?

c-smile avatar Nov 04 '18 20:11 c-smile

Either discard it as you say or simply check/ensure that at least the top left part of the title bar is visible on the main monitor - that way the user can easily drag it back into view or simply double click the title and expand into a full window.

lintalist avatar Nov 06 '18 20:11 lintalist

Another user here wishing for full portability of html-notepad. I agree with suggestions made by @lintalist

techvanity avatar Jan 09 '19 01:01 techvanity

I am also for full portable mode.

Any progress on that?

RoyiAvital avatar May 16 '21 17:05 RoyiAvital