Community
Participate
Working Groups
Overview: Dialog may not create setter/getter for one property Steps to Reproduce: 1) Create new class 2) Add some properties, like String, long, boolean etc. 3) Open getter/setter creation wizard 3) Select one or more properties using keyboard (space bar and up/down navigation). 4) Press enter to accept the selection. Actual Results: The check mark disappears from the property that is currently selected in the list and the dialog closes. Getters and setters are created except for the property that was last selected in the dialog (the one where the check mark disappeared). Expected Results: Enter key must not toggle the check box in the property list but execute the default button command only. Build Date & Hardware: First seen in Eclipse 2019-03 (Windows and Linux)
Build id: I20200113-0130 Was able to reproduce on master with a simple snippet like : package test; public class Test { private String foo; private long bar; private boolean baz; } and using Source -> Generate Getters and Setters... If the selection remains on the last property that is selected (with space bar), then it will be unselected just before getters/setters are generated. Strangely, if you move up or down from the last selected property, and then back onto it, the issue doesn't occur. That is, the check box remains selected when applying the refactoring.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.