Bug 579212

Summary: Memory view defaults to scroll mode Automatic on Windows and Manual on Linux
Product: [Eclipse Project] Platform Reporter: Jonah Graham <jonah>
Component: DebugAssignee: Platform-Debug-Inbox <platform-debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: jonah
Version: 4.19   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Jonah Graham CLA 2022-03-10 20:23:55 EST
As reported here for the Eclipse Embedded CDT project - https://github.com/eclipse-embed-cdt/eclipse-plugins/discussions/511#discussioncomment-2328640

The Table Renderings Preferences seem to default to "Automatic" on Windows and "Manual" on Linux. This should default to the same thing. 

This can be reproduced with Platform Debug alone by using the "Sample Memory Launch Type" in the debug examples plugin.
Comment 1 Jonah Graham CLA 2022-03-10 20:29:48 EST
Turns out this is by design to work around a known issue - see Bug 74559.

The relevant code is:

		if (MemoryViewUtil.isLinuxGTK()) {
			prefs.setDefault(IDebugPreferenceConstants.PREF_DYNAMIC_LOAD_MEM, false);
		}
		else {
			prefs.setDefault(IDebugPreferenceConstants.PREF_DYNAMIC_LOAD_MEM, true);
		}

https://git.eclipse.org/r/plugins/gitiles/platform/eclipse.platform.debug/+/refs/heads/master/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/DebugUIPreferenceInitializer.java

*** This bug has been marked as a duplicate of bug 74559 ***