Bug 59168

Summary: Implement HiDPI
Product: JMeter Reporter: Philippe Mouawad <p.mouawad>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: NEW ---    
Severity: enhancement CC: p.mouawad
Priority: P2    
Version: 2.13   
Target Milestone: ---   
Hardware: All   
OS: All   
Bug Depends on: 58426    
Bug Blocks:    

Description Philippe Mouawad 2016-03-11 20:14:36 UTC
Following improvements made in Bug 58426, this bug is created to take into account the following proposals from Benoit Wiart:

on macos loading @2x resources is supported since jdk8u20
- see https://bugs.openjdk.java.net/browse/JDK-8011059

The user should not choose a different size in the properties to get hdpi support.

hdpi image is coming to jdk9
- https://bugs.openjdk.java.net/browse/JDK-8046010
- http://openjdk.java.net/jeps/251

- do not mix image size and hdpi
- use the "standard" of @2x, @3x convention for the images instead of the <SIZE> hack.
- use a single code path to load icons : it will allow caller to know nothing about hdpi
for example the caller want to load /status/myimage.png

if in hdpi the icon loader will try to load /status/myimage@2x.png if not found it will fall back to /status/myimage.png

it will allow third party plugins to progressively provide @2x resources

Some help, it's old and only cover macos but ...