Replies: 3 comments 7 replies
-
I like idea 1 and 2I like idea 1 and 2... I'll have to think about how to make the changes for that. Thanks for the suggestions! I never really thought about 2 for some reason, but that's a pretty elegant solution... in code it might be "interesting" to put it lightly lol. Otherwise, in 1, I'd have to make sure I make the changes once and done, because it affects all repackaging of JPEGView (aka, PortableApps, Scoop, Chocolatey, etc etc etc) since it changes the filename and behavior of the JPEGView persistent user changes. Anyways, yeah I really like 2. For some reason I didn't think of it haha. So, I'll think about that and probably do testing on that. Where in the UI...The biggest annoyance I have right now is, I just can't tell which INI is loaded... like I don't know where to display it. I was going to put it into like the I'm just not sure where in the UI it most logically fits. |
Beta Was this translation helpful? Give feedback.
-
Now I understand what you mean! I like the idea of displaying which ini is used in the title bar, but only if it is optional and not enabled by default. Imho, it is too much technical information for the average user. The "About" box is a perfect place for this, and should display this information anyway, but it's not very suitable for the purpose of "quickly seeing which ini is loaded", since it requires too many clicks and aiming to open and close. A greyed-out menu item would be the best place imho (and can even show additional useful information like version number: For now, maybe show it on top of the menu, but only on Ctrl+RightClick? |
Beta Was this translation helpful? Give feedback.
-
Added idea 4. |
Beta Was this translation helpful? Give feedback.
-
Hello @sylikc, you have mentioned a couple times that you are thinking on improving the current powerful but confusing situation with two JPEGView.ini files. I am thinking about this too, and wanted to share a couple thoughts on the matter.
Rename user-ini config file in AppData to something like
JPEGView.User.ini
.I think this will remove a lot of confusion for new and existing users, especially when making backups and porting preferences to another computer or a new installation.
=global
value for all settings in user-ini file by default.Currently, when user creates a user-ini file from Settings/Admin > Edit user settings menu item, all settings from the global-ini are copied over to user-ini, even if that user only intended to override a single setting. As result, global-ini becomes totally rudimentary for that user, which adds to confusion and potentially unpredicted behaviors.
Moreover, this makes it harder to distribute new features or improved defaults in new app versions to different users.
What if all settings in the freshly created user-ini file were to be set to
=global
value, thus falling back to global-ini unless user intentionally changed that particular value in user-ini?I'm not sure though whether this will simplify the debugging process, or make it even more complicated.
Alternatively, user-ini could be created empty by default, and only contain differences from global-ini (manual edits and auto-writes).
This is something I already do manually — my user-ini only contains about 10 lines, making backup process and transferring preferences a lot easier without messing with global values.
The problem with this approach is that it will be harder for users to change user-settings, since they will not be presented with a list of all available options when opening empty file.
The upside is, that user-ini file will be much less "desynchronized" with the global-ini file over time, since you are adding new ini-settings with every release, and sometimes changing defaults. Another big upside I already mentioned: ease of backup and porting preferences.
[EDIT] Add useful information to the header of ini-files.
Something like:
[JPEGView 1.2.34 - USER SETTINGS]
App version number that created the file would be useful for troubleshooting, and signifying whether it's a user-ini or a global-ini right next to
[JPEGView]
title would not hurt either (I know it's written in comments directly underneath, but it's kind of hidden within big chunk of text).I hope you find these ideas of some added value.
Beta Was this translation helpful? Give feedback.
All reactions