Skip to content

'Restore Defaults' button uses a different value when USE_MARKER_LIMITS preference is false. #2323

@eobrienPilz

Description

@eobrienPilz

The FiltersConfigurationDialog has a 'Restore Defaults' button to restore the dialog to its default state.

image

If USE_MARKER_LIMITS preference is false then 'items per group' is restored to 1000.

int markerLimits = useMarkerLimits ? preferenceStore.getInt(IDEInternalPreferences.MARKER_LIMITS_VALUE) : 1000;

This is in contrast to the default value for 'items per group' of 100 when Eclipse is first launched.

node.putInt(IDEInternalPreferences.MARKER_LIMITS_VALUE, 100);

The restore default button should restore the 'items per group' to the same value as on first launch.

  • note : this issue is not normally reproducible in Eclipse as USE_MARKER_LIMITS preference is true by default.
    It can be seen when USE_MARKER_LIMITS preference is being set to false via plugin_customization.ini for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions