| Summary: | Preference changes not stored after clicking 'OK' or pressing 'Enter' | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Dani Megert <daniel_megert> |
| Component: | UI | Assignee: | Project Inbox <egit.ui-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | markus.kell.r, remy.suen |
| Version: | 1.2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Dani Megert
We have several possible ways to fix this: 1) We get rid of the 'Change' button all together and update on focus lost. 2 We don't check the dirty state in GlobalConfigurationPreferencePage.performOk(). Not sure whether always saving the values has any side-effect though (e.g. notified listeners could cause a performance hit). 3) We introduce a protocol that allows to notify the ConfigurationEditorComponent when applying or OKing the outer composite. What do you prefer? What do you think about using a cell editor and changing things directly in the tree? (In reply to comment #2) > What do you think about using a cell editor and changing things directly in the > tree? Would this solution be keyboard accessible? (In reply to comment #2) > What do you think about using a cell editor and changing things directly in the > tree? Last time I used cell editors they weren't too developer friendly (i.e. needs quite some work to get it done right). Not sure whether that changed. (In reply to comment #3) > Would this solution be keyboard accessible? AFAIK this isn't an issue. Each OS has its native key binding to activate the cell editing (e.g. 'Enter' on Windows). |