~ubuntu-branches/ubuntu/precise/plasma-widget-networkmanagement/precise

« back to all changes in this revision

Viewing changes to applet/README.txt

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-08-24 15:34:36 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20100824153436-9o7x461aj0xthuc3
Tags: 0.9~svn1167391-0ubuntu1
* New upstream snapshot
* Add kubuntu_04_no_tests.diff to not build tests, they fail

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
o unavailable for wired -> unplugged
42
42
 
43
43
 
 
44
= Wrong SSID bug notes =
 
45
 
 
46
The problem is that ConnectionEditor::addConnection picks an existing uuid after kconfigshell is invoked for the first time. Likely causes:
 
47
- QUuid::createUuid() produces duplicate uuids, can't be guaranteed unique
 
48
- it seems that the first uuid generated is often already there
 
49
- I've not seen it happening twice, so in fact just called QUuid::createUuid() before we try to generate connectionId is enough, but better safe than sorry, so we check that now
 
50
 
 
51
- a file /home/sebas/.kde4/share/apps/networkmanagement/connections/$NEW_UUID already exists, and triggers updating the config with its value
 
52
- the uuid returned by QUuid::createUuid() must not exist there already, otherwise this bug is triggered
 
53
 
 
54
== Fix implemented ==
 
55
- try harder to find a non-existing uuid for storing the config in ConnectionEditor::addConnection
 
56
 
 
57
== Steps to reproduce ==
 
58
- tools/show-ap.py, find a valid accesspoint number, which is NOT a current connnection
 
59
  ./showap.py 2>&1 |g -v Cannot
 
60
- needs to be run TWICE after make to reproduce:
 
61
/home/sebas/kdesvn/install/lib/kde4/libexec/networkmanagement_configshell create --type 802-11-wireless --specific-args "/org/freedesktop/NetworkManager/Devices/1 /org/freedesktop/NetworkManager/AccessPoint/9 wifi_pass"                                                                                                                 -
 
62
(change AP id from show-ap, or look into tools/invoke-config.py)
 
63
 
 
64
== debug output ==
 
65
- tail -f ~/.xsession-errors to see the debug output of the configshell
 
66
- killall kded4 ; sleep 3; kded4 to see the debug output of what's being invoked (this part should be fine, bug seems to be in configshell or uuid)
 
67
 
 
68
 
 
69
== Test ==
 
70
- invoke conigshell with valid connection three times
 
71
- invoke conigshell with new AP three times
 
72
- invoke different new wireless networks from plasmoid
 
73
 
 
74
-> verify that always the correct ssid and connection name is set in the UI
 
75
 
 
76
don't forget to restart kded4 after rebuilding
 
77
 
44
78
Happy hacking!
45
79
 
46
80
-- sebas