Q7

Preference context to change EGit label decorations does not apply changes automatically

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.3.10
  • Fix Version/s: 1.3.x
  • Component/s: None
  • Labels:
    None
  • Test Mode:
    Manual

Description

See attached preferences context. It does not affect the Explorer view once applied. However, when view is refreshed via context menu, decorations are changing

Activity

Hide
komaz added a comment - 24/Jan/14 7:10 PM

After investigating EGit sources I found the following:
GitLightweightDecorator subscribes to a property change in its own plugin's Activator. This Activator propagates event only when performOk is called on its preference page in UI. Looks like this pattern is pretty common, need to find a way to handle it properly.

Show
komaz added a comment - 24/Jan/14 7:10 PM After investigating EGit sources I found the following: GitLightweightDecorator subscribes to a property change in its own plugin's Activator. This Activator propagates event only when performOk is called on its preference page in UI. Looks like this pattern is pretty common, need to find a way to handle it properly.

People

  • Assignee:
    komaz
    Reporter:
    komaz
Vote (0)
Watch (0)

Dates

  • Created:
    24/Jan/14 4:56 PM
    Updated:
    24/Oct/14 12:28 AM