JDK-8343398 : Add reducedData preference
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-10-31
  • Updated: 2025-01-06
  • Resolved: 2025-01-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
jfx24 masterFixed
Related Reports
CSR :  
Relates :  
Description
The `reducedData` preference should be added to `Platform.Preferences`.

This corresponds to the following OS settings:

Windows: Settings -> Network and Internet -> Ethernet/WiFi -> Metered connection
macOS: Settings -> Network -> Ethernet/WiFi -> Network Settings -> Low data mode
Ubuntu: Settings -> Network -> Wired/WiFi -> Metered connection
Comments
Changeset: 76d5e1ae Branch: master Author: Michael Strauß <mstrauss@openjdk.org> Date: 2025-01-06 19:29:51 +0000 URL: https://git.openjdk.org/jfx/commit/76d5e1ae1c396442dce095063cea7bcaff4cd497
06-01-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx/pull/1656 Date: 2024-12-03 15:17:19 +0000
03-12-2024

I think a particular preference should be pretty close to universally supported on the desktop platforms to make it to API (minor platform-specific preferences can be added without introducing new API, this was already envisioned when the `Preferences` interface was designed). There aren't many more universal preferences left to add. I don't think the currently proposed preferences are controversial, but if you'd like to discuss them, please go ahead and start a discussion.
31-10-2024

Are we going to add all the platform preferences eventually? What is the criteria for including and excluding support for a particular preference? Should this be discussed in the mailing list first?
31-10-2024