Bug 59168 - Implement HiDPI
Summary: Implement HiDPI
Status: NEW
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.13
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
Depends on: 58426
  Show dependency tree
Reported: 2016-03-11 20:14 UTC by Philippe Mouawad
Modified: 2016-03-11 20:14 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
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 ...
Comment 1 The ASF infrastructure team 2022-09-24 20:38:03 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3897