Bug 579212 - Memory view defaults to scroll mode Automatic on Windows and Manual on Linux
Summary: Memory view defaults to scroll mode Automatic on Windows and Manual on Linux
Status: CLOSED DUPLICATE of bug 74559
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.19   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-10 20:23 EST by Jonah Graham CLA
Modified: 2022-03-10 20:29 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***