Ticket #92: example

File example, 1.2 KB (added by ben@…, 16 years ago)

An example of what on earth I'm talking about

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