RFR: 8343398: Add reducedData preference [v3]

Andy Goryachev angorya at openjdk.org
Wed Dec 11 16:07:18 UTC 2024


On Wed, 4 Dec 2024 15:55:20 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> The `reducedData` preference instructs applications to minimize internet traffic, as users might be on a metered network or a limited data plan.
>> 
>> 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
>> 
>> Change notifications work consistently on Windows and macOS. On my Ubuntu 24 system, the GIO `network-changed` signal is not sent when I only toggle the "metered connection" flag in network settings (and there's no signal specifically for low-data mode). The new value is only picked up when the connection changes by coming offline or going online.
>
> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
> 
>   refactor macOS PlatformSupport

Does not seem to work on macOS 15.1.1 M1:

![Screenshot 2024-12-11 at 08 00 31](https://github.com/user-attachments/assets/a0087e53-e577-4818-af94-47dc4b43ab7e)

![Screenshot 2024-12-11 at 08 04 13](https://github.com/user-attachments/assets/79333a7d-96ac-426d-af4e-3676670ef990)

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1656#issuecomment-2536406715
PR Comment: https://git.openjdk.org/jfx/pull/1656#issuecomment-2536413085


More information about the openjfx-dev mailing list