| Summary: | Disabling notifications does not work | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Jesper Eskilson <jesper.eskilson> | ||||||
| Component: | Mylyn | Assignee: | Steffen Pingel <steffen.pingel> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | torkildr | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | 3.6.2 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Jesper Eskilson
Alternative reproduction: ... 4. Reopen preference window 5. Observe that the notifications are still active. This appears to work for me. Which version of Mylyn are you using? Copied from the "Installation Details": Mylyn Builds (Incubation) 0.8.0.v20110608-1400 org.eclipse.mylyn.builds.feature.group Eclipse Mylyn Thanks, that looks good. What is the version of the org.eclipse.mylyn.commons.notifications plug-in on your system? org.eclipse.mylyn.commons.notifications also has version 0.8.0.v20110608-1400. Created attachment 200884 [details]
Notification preferences
Works nicely for me too. However there appears to be a problem with the preference dialog. As you can see from the screenshot the "Builds view" is checked while the "Build Service Changes" item indicates that no notifiers are checked.
I found several problems that were causing the described problems. Enablement state is now consistently determined by the selected flag in NotificationAction. I deprecated the selected flag in NotifcationEvent and will remove that from the extension point. Additionally, I fixed a condition that caused changes in the preference page to not get persisted to disk. This fix addresses the originally reported problem. Jesper, as a work around: Start Eclipse without the Builds view visible, then go to Preferences > Mylyn > Notifications and make the desired choices. You can verify that the expected state is getting persisted in <workspace>/.metadata/.plugins/org.eclipse.mylyn.commons.notifications/notifications.xml. If you now open the Builds view your notification preferences should get respected. I have pushed a fix to master and the e_3_7_m_3_6_x branch: 19b5ab998c85a453072fa795714715f855496b89. Created attachment 202268 [details]
mylyn/context/zip
|