-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Restore Defaults' button uses a different value when USE_MARKER_LIMITS preference is false. #2323
Comments
…e when USE_MARKER_LIMITS pref is false.
@eobrienPilz |
@deepika-u
|
@deepika-u Let me know if you need anything else to reproduce the issue. |
Hi @eobrienPilz,
I am on below environment as of now This is 4.32 rc2 build. I have also tried on 4.33 and i am seeing the same behavior. Tried multiple times. Sorry for the delayed response. I am not seeing the behavior of use limits as unchecked never. Am i missing any steps listed above or if i am wrong at any of the step. When always do a "Restore Defaults" it is going back to 100 as usual(never 1000). |
Apologies for some reason I missed this post. I usually get an email notification. -Declipse.pluginCustomization=plugins/org.eclipse.platform_4.33.0.v20240903-0240/plugin_customization.ini So, I have a relative path to the file from the folder that contains eclipse.ini. Also, I omit platform: at the beginning. |
@deepika-u Just to add "I am now seeing the same as checked(and never as unchecked". It seems the preference is not getting picked up for you. Alternatively, you can see the problem by just reviewing / debugging the code. If you look in FiltersConfigurationDialog line 709 you can see the piece of logic that goes wrong.
Now if you look in IDEPreferenceInitializer you can see that the default limit value is 100 and not 1000. |
I am closing this as the associated pull request is merged. |
The FiltersConfigurationDialog has a 'Restore Defaults' button to restore the dialog to its default state.
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.
It can be seen when USE_MARKER_LIMITS preference is being set to false via plugin_customization.ini for example.
The text was updated successfully, but these errors were encountered: