HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Bug #857675
Treat client option file load failure as first run
0%
Description
When options_load()
positively decides that its option file has a certain path, but fails to load it, it mostly applies the same defaults as a completely fresh run; but it doesn't do client_option_adjust_defaults()
.
I noticed this when using the FREECIV_OPT
environment variable pointing to a nonexistent file to simulate a fresh installation. But I think it would be the right behaviour for any case where we found an option file but couldn't even open it.
I think this bug has very little practical effect currently; only Gtk clients adjust options, and on modern systems they never actually make any adjustment (#765941-6).
Related issues
History
#1
Updated by Jacob Nevins 12 months ago
- Related to Bug #765941: Gtk3.x automatic initial setting of "Arrange widgets for small displays" is ineffective added
#2
Updated by Jacob Nevins 12 months ago
- File m-30-26-option-load-fail-adjust.patch m-30-26-option-load-fail-adjust.patch added
- Category set to Client
- Status changed from New to Resolved
- Assignee set to Jacob Nevins
- Sprint/Milestone set to 2.6.2
#3
Updated by Jacob Nevins 12 months ago
- Subject changed from Option adjustments not applied if loading option file fails to Treat client option file load failure as first run
- Status changed from Resolved to In Progress
Going to rework this as part of a bigger rework of the area. I don't plan to commit the existing patches.
#4
Updated by Jacob Nevins 12 months ago
- Related to deleted (Bug #765941: Gtk3.x automatic initial setting of "Arrange widgets for small displays" is ineffective)
#5
Updated by Jacob Nevins 12 months ago
- Blocks Bug #765941: Gtk3.x automatic initial setting of "Arrange widgets for small displays" is ineffective added
#6
Updated by Jacob Nevins 12 months ago
- File m-30-26-option-load-fail-first-run.patch m-30-26-option-load-fail-first-run.patch added
- Status changed from In Progress to Resolved
#7
Updated by Jacob Nevins 12 months ago
- Blocks Bug #858203: client_option_adjust_defaults() runs too early added
#8
Updated by Jacob Nevins 12 months ago
- Status changed from Resolved to Closed