1 | *program startup |
---|
2 | |
---|
3 | deluge settings file |
---|
4 | -------------------- |
---|
5 | a: 1 |
---|
6 | b: 2 |
---|
7 | -------------------- |
---|
8 | |
---|
9 | * click preferences button |
---|
10 | |
---|
11 | * configuration dialog loads settings from file |
---|
12 | |
---|
13 | configuration dialog values |
---|
14 | --------------------------- |
---|
15 | a: 1 |
---|
16 | b: 2 |
---|
17 | --------------------------- |
---|
18 | |
---|
19 | * load a configuration dialog from the preferences dialog |
---|
20 | |
---|
21 | * preferences dialog makes changes to global settings file |
---|
22 | |
---|
23 | deluge settings file |
---|
24 | -------------------- |
---|
25 | a: 2 |
---|
26 | b: 5 |
---|
27 | -------------------- |
---|
28 | |
---|
29 | * after exiting the preferences dialog, the preferences have been applied, |
---|
30 | the values have been successfully saved to the deluge settings file |
---|
31 | |
---|
32 | * however, the dialog hasn't been notified of any changes, |
---|
33 | it's values are still |
---|
34 | |
---|
35 | configuration dialog values |
---|
36 | --------------------------- |
---|
37 | a: 1 |
---|
38 | b: 2 |
---|
39 | --------------------------- |
---|
40 | |
---|
41 | * after the user clicks OK, the configuration dialog overwrites the |
---|
42 | changes that were made by the plugin preferences dialog, the file |
---|
43 | is restored to the original state |
---|
44 | |
---|
45 | deluge settings file |
---|
46 | -------------------- |
---|
47 | a: 1 |
---|
48 | b: 2 |
---|
49 | -------------------- |
---|
50 | |
---|
51 | * this behaviour is wrong, and I could probably have fixed it quicker than |
---|
52 | it took to write this out, except I don't have a working copy of the |
---|
53 | repo yet, just a stable source tarball, so no patches from me. |
---|