Ticket #2082 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

mesh icons duplicated on suspend/resume

Reported by: dsd Owned by: tomeu
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: sugar Version: Unspecified
Severity: Unspecified Keywords: r+
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

Three or more mesh icons were being added after every suspend/resume.

There was already code present to detect when the device goes away and
remove the icons, but it was not working. NetworkManagerObserver was
attempting to look at the properties of the gone-away device in order to
see if it is a mesh device, but this was failing because the device has
already been destroyed at this point.

Solve this by recording the device path of the mesh device when it is
detected, so that we can later determine if the gone-away device is the
mesh device.

Attachments

0001-Fix-duplication-of-OLPC-mesh-icons.patch Download (3.3 KB) - added by dsd 3 years ago.
fix

Change History

Changed 3 years ago by dsd

fix

Changed 3 years ago by dsd

Reviewed by myself (on IRC) and by James Cameron on the mailing list.

Changed 3 years ago by tomeu

  • keywords r+ added; r? removed

Looks great to me as well, please push.

Changed 3 years ago by dsd

  • status changed from new to closed
  • resolution set to fixed

pushed as f1076d654b9100b0e528b201b0aeb468edbd7a26

Note: See TracTickets for help on using tickets.