apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.23k stars 2.08k forks source link

Improve display of JMeter on high resolution devices (HiDPI) (part 1 of enhancement) #3674

Closed asfimport closed 8 years ago

asfimport commented 8 years ago

Nick M (Bug 58426): The interface sizes - font sizes and icon sizes - are not using DPI scaling, therefore on a high resolution device (e.g. Yoga 3) everything appears too small. The "Windows" look and feel option is the only one that had improved font scaling, though nothing else.

By not correcting this JMeter becomes very difficult to use on some devices and is also inconsistent across devices and platforms.

Severity: normal OS: All

Duplicates:

Blocks:

asfimport commented 8 years ago

@milamberspace (migrated from Bugzilla):

Since JMeter 2.13, we have introduce a new property to change the Icons size.

Please see: http://jmeter.apache.org/changes.html (use Toolbar keyword)

(the bugzilla: https://github.com/apache/jmeter/issues/3524)

For font, use the options provide by OS and/or the Java Look and feel (Native, GTK, etc)

Please use the user mailing or dev if you have some issues with your high dpi screen

http://jmeter.apache.org/mail2.html

This bug has been marked as a duplicate of https://github.com/apache/jmeter/issues/3524

asfimport commented 8 years ago

Nick M (migrated from Bugzilla): Not sure that is correct. The additional icon sizes are great - allowing for people who would rather have larger icons for accessibility purposes. This is not the same as correct scaling across different DPI resolutions, this should be natively processed. ADDITIONALLY changing the chosen icon size has nothing to do with the font sizes throughout the application, for example the left panel (Test Plan & Workbench) is barely readable.

I consider this is still an open bug because regardless of any ability to up/down scale as a preference in the options, though useful, is not a solution to incorrect handling of screen resolution.

asfimport commented 8 years ago

@pmouawad (migrated from Bugzilla): I see many places in code where font size is hardcoded (TreeCellRenderer in MainFrame...), this could explain some issues.

asfimport commented 8 years ago

@pmouawad (migrated from Bugzilla): Date: Tue Dec 1 20:42:19 2015 New Revision: 1717522

URL: http://svn.apache.org/viewvc?rev=1717522&view=rev Log: https://github.com/apache/jmeter/issues/3674 - use DPI scaling of interface for high resolution devices Remove hard code size https://github.com/apache/jmeter/issues/3674

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/MainFrame.java

asfimport commented 8 years ago

benoit.wiart (migrated from Bugzilla): Nick M is right. All the icons look blurry on a hdpi display see screenshot

asfimport commented 8 years ago

benoit.wiart (migrated from Bugzilla): Created attachment hdpi.png: mac hdpi screenshot

mac hdpi screenshot
asfimport commented 8 years ago

benoit.wiart (migrated from Bugzilla): @Nick M could you provide some screenshots ?

asfimport commented 8 years ago

@pmouawad (migrated from Bugzilla): Created attachment Plan de test.png: Screenshot of JMeter with Windows LAF on Windows 10 JAVA8 1.8_0_66

Screenshot of JMeter with Windows LAF on Windows 10 JAVA8 1.8_0_66
asfimport commented 8 years ago

@milamberspace (migrated from Bugzilla):

URL: http://svn.apache.org/viewvc?rev=1722714&view=rev Log: Change fixed font size for small fonts to a percent of defaut label font size https://github.com/apache/jmeter/issues/3674

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/AxisGraph.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/RespTimeGraphVisualizer.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/SearchTextExtension.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java jmeter/trunk/src/core/org/apache/jmeter/gui/action/SearchTreeDialog.java jmeter/trunk/src/core/org/apache/jmeter/gui/action/SelectTemplatesDialog.java jmeter/trunk/src/core/org/apache/jmeter/gui/util/FilePanelEntry.java jmeter/trunk/src/monitor/components/org/apache/jmeter/visualizers/MonitorPerformancePanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/config/gui/UrlConfigGui.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/gui/HttpTestSampleGui.java

asfimport commented 8 years ago

@milamberspace (migrated from Bugzilla): Created attachment Apache JMeter (2.14-SNAPSHOT.20160103)_266.png: Screenshot of JMeter 2.14-snapshot with Linux/Java8/GTK+(gnome) several issue with hidpi

Screenshot of JMeter 2.14-snapshot with Linux/Java8/GTK+(gnome) several issue with hidpi
asfimport commented 8 years ago

@milamberspace (migrated from Bugzilla):

This branch [1] change the default icons for the JMeter tree to have several size (19x19, 24x24, 32x32 and 48x48) for the new icons (from open_icon_library-CC)

In user.properties (at the end of file), you can find the properties to change the tree icons size and toolbar size :

Default values ==> comment these lines

jmeter.toolbar.icons.size=48x48 jmeter.icons=org/apache/jmeter/images/icon_new.properties jmeter.tree.icons.size=32x32

Please try on your computer (linux/mac/win) with the default values to check the display.

If you have a Linux, use GTK+ look&feel instead of CrossPlatform to allow HiDPI (if your computer have a HiDPI screen)

[1] https://github.com/milamberspace/jmeter/tree/HiDPI_changes_1

asfimport commented 8 years ago

@milamberspace (migrated from Bugzilla): Created attachment HiDPI-vs-LowDPI-Apache-JMeter.png: Compare HiDPI version of JMeter with GTK look&feel and JMeter with CrossPlatform (on Linux)

Compare HiDPI version of JMeter with GTK look&feel and JMeter with CrossPlatform (on Linux)
asfimport commented 8 years ago

@milamberspace (migrated from Bugzilla):

If you want test without building JMeter (with 48x48 toolbar icons and 32x32 tree icons):

http://www.milamberspace.net/hidpi/apache-jmeter-2.14-SNAPSHOT.tgz

or

http://www.milamberspace.net/hidpi/apache-jmeter-2.14-SNAPSHOT.zip

All feedback are welcome.

asfimport commented 8 years ago

@pmouawad (migrated from Bugzilla): Hi, Using: jmeter.toolbar.icons.size=32x32 jmeter.icons=org/apache/jmeter/images/icon_new.properties jmeter.tree.icons.size=24x24

In Scaled Display 1680x1050: I get attached screenshot:

It is ok with jmeter.tree.icons.size=19x19 See JMETER_HDPI_toolbar-32x32-tree-19x19_Scaled_DISPLAY-1680x1050.png

In Mac Best(Retina), the right top is cropped , I don't see the green button , see JMETER_HDPI_toolbar-32x32-tree-19x19_RETINA_BEST_DISPLAY.png. No problem with current trunk, see JMETER_NO_HDPI_RETINA_BEST_DISPLAY.png

asfimport commented 8 years ago

@pmouawad (migrated from Bugzilla): Created attachment JMETER_NO_HDPI_RETINA_BEST_DISPLAY.png: JMETER_NO_HDPI_RETINA_BEST_DISPLAY

JMETER_NO_HDPI_RETINA_BEST_DISPLAY
asfimport commented 8 years ago

@pmouawad (migrated from Bugzilla): Created attachment JMETER_HDPI_toolbar-32x32-tree-19x19_RETINA_BEST_DISPLAY.png: JMETER_HDPI_toolbar-32x32-tree-19x19_RETINA_BEST_DISPLAY

JMETER_HDPI_toolbar-32x32-tree-19x19_RETINA_BEST_DISPLAY
asfimport commented 8 years ago

@pmouawad (migrated from Bugzilla): Created attachment JMETER_HDPI_toolbar-32x32-tree-19x19_Scaled_DISPLAY-1680x1050.png: JMETER_HDPI_toolbar-32x32-tree-19x19_Scaled_DISPLAY-1680x1050

JMETER_HDPI_toolbar-32x32-tree-19x19_Scaled_DISPLAY-1680x1050
asfimport commented 8 years ago

@pmouawad (migrated from Bugzilla): Created attachment JMETER_HDPI_toolbar-32x32-tree-24x24_Scaled_DISPLAY-1680x1050.png: JMETER_HDPI_toolbar-32x32-tree-24x24_Scaled_DISPLAY-1680x1050

JMETER_HDPI_toolbar-32x32-tree-24x24_Scaled_DISPLAY-1680x1050
asfimport commented 8 years ago

@milamberspace (migrated from Bugzilla):

I will just update my branch [1] with 2 new properties to try to fix the issue with the height of the rows in tables.

HiDPI mode (default: false)

Enable to activate a 'pseudo'-hidpi mode. Allow to increase some UI element

which not correctly manage by Java with high resolution screen

jmeter.hidpi.mode=false

HiDPI scale factor (default: 1.0)

The scale factor to increase the size in HiDPI mode

jmeter.hidpi.scale.factor=1.0

In user.properties (at the end of file), you can find the properties to change the "hidpi" properties:

Default values ==> comment these lines

kind of hidpi mode for Linux/Windows

jmeter.hidpi.mode=true jmeter.hidpi.scale.factor=2.0

Please try on your computer (linux/mac/win) with the default values to check the display.

If you have a Linux, use GTK+ look&feel instead of CrossPlatform to allow HiDPI (if your computer have a HiDPI screen)

If you want test without building JMeter (updated today):

http://www.milamberspace.net/hidpi/apache-jmeter-2.14-SNAPSHOT.tgz

or

http://www.milamberspace.net/hidpi/apache-jmeter-2.14-SNAPSHOT.zip

[1] https://github.com/milamberspace/jmeter/tree/HiDPI_changes_1

asfimport commented 8 years ago

@vlsi (migrated from Bugzilla): I've tested the patch in OSX 10.11, java 1.8u66. It looks strange: certain icons are way too big.

Side issue: Dummy sampler throws AbstractMethodError

Created attachment OSX10_11_Java1_8u66_ef5bcb7e9b789.png: Screenshot of OSX build, icons are too big, abstractmethoderror

Screenshot of OSX build, icons are too big, abstractmethoderror
asfimport commented 8 years ago

benoit.wiart (migrated from Bugzilla): First thank you for your work on this bug. But for macosx the current implementation makes it unusable. hdpi / retina is hard and not standardized on all platforms.

You should probably use the @2x, @3x convention for the images instead of the <SIZE> hack.

Some help, it's old and only cover macos but ... http://bulenkov.com/2013/06/23/retina-support-in-oracle-jdk-1-7/ http://bulenkov.com/iconloader/

asfimport commented 8 years ago

@milamberspace (migrated from Bugzilla):

URL: http://svn.apache.org/viewvc?rev=1733718&view=rev Log: Use DPI scaling of interface for high resolution devices (HiDPI support for Windows/Linux)

See https://github.com/apache/jmeter/pull/159

This closes #159 https://github.com/apache/jmeter/issues/3674

Added: jmeter/trunk/src/core/org/apache/jmeter/images/icon_old.properties (with props) jmeter/trunk/src/core/org/apache/jmeter/images/status/ jmeter/trunk/src/core/org/apache/jmeter/images/status/22x22/ jmeter/trunk/src/core/org/apache/jmeter/images/status/32x32/ jmeter/trunk/src/core/org/apache/jmeter/images/status/48x48/ jmeter/trunk/src/core/org/apache/jmeter/images/tree/ jmeter/trunk/src/core/org/apache/jmeter/images/tree/19x19/ jmeter/trunk/src/core/org/apache/jmeter/images/tree/24x24/ jmeter/trunk/src/core/org/apache/jmeter/images/tree/32x32/ jmeter/trunk/src/core/org/apache/jmeter/images/tree/48x48/ jmeter/trunk/src/core/org/apache/jmeter/images/vrt/ jmeter/trunk/src/core/org/apache/jmeter/images/vrt/19x19/ jmeter/trunk/src/core/org/apache/jmeter/images/vrt/24x24/ jmeter/trunk/src/core/org/apache/jmeter/images/vrt/32x32/ jmeter/trunk/src/core/org/apache/jmeter/images/vrt/48x48/ Modified: jmeter/trunk/bin/jmeter.properties jmeter/trunk/src/components/org/apache/jmeter/modifiers/gui/UserParametersGui.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/PropertyControlGui.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/SamplerResultTab.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatVisualizer.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/SummaryReport.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/TableVisualizer.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/TreeNodeRenderer.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/ViewResultsFullVisualizer.java jmeter/trunk/src/core/org/apache/jmeter/JMeter.java jmeter/trunk/src/core/org/apache/jmeter/config/gui/ArgumentsPanel.java jmeter/trunk/src/core/org/apache/jmeter/config/gui/SimpleConfigGui.java jmeter/trunk/src/core/org/apache/jmeter/gui/AbstractJMeterGuiComponent.java jmeter/trunk/src/core/org/apache/jmeter/gui/MainFrame.java jmeter/trunk/src/core/org/apache/jmeter/gui/util/FileListPanel.java jmeter/trunk/src/core/org/apache/jmeter/gui/util/JMeterToolBar.java jmeter/trunk/src/core/org/apache/jmeter/images/icon.properties jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TableEditor.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/AuthPanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/DNSCachePanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/HTTPFileArgsPanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/HeaderPanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.java jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPropertiesPanel.java jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgumentsPanel.java jmeter/trunk/xdocs/changes.xml

URL: http://svn.apache.org/viewvc?rev=1733721&view=rev Log: Use DPI scaling of interface for high resolution devices (HiDPI support for Windows/Linux)

Add missing icons https://github.com/apache/jmeter/issues/3674

Added: jmeter/trunk/src/core/org/apache/jmeter/images/status/22x22/pictogram-din-w000-general.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/status/22x22/user-offline-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/status/22x22/user-online-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/status/32x32/pictogram-din-w000-general.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/status/32x32/user-offline-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/status/32x32/user-online-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/status/48x48/pictogram-din-w000-general.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/status/48x48/user-offline-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/status/48x48/user-online-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/19x19/applications-science-3.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/19x19/appointment-new-3.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/19x19/color-picker-grey.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/19x19/document-export-4.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/19x19/document-import-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/19x19/document-preview.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/19x19/office-chart-area.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/19x19/preferences-system-4.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/19x19/system-run-5.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/19x19/view-list-tree-4.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/19x19/view-pim-tasks.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/24x24/applications-science-3.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/24x24/appointment-new-3.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/24x24/color-picker-grey.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/24x24/document-export-4.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/24x24/document-import-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/24x24/document-preview.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/24x24/office-chart-area.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/24x24/preferences-system-4.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/24x24/system-run-5.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/24x24/view-list-tree-4.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/24x24/view-pim-tasks.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/32x32/applications-science-3.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/32x32/appointment-new-3.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/32x32/color-picker-grey.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/32x32/document-export-4.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/32x32/document-import-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/32x32/document-preview.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/32x32/office-chart-area.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/32x32/preferences-system-4.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/32x32/system-run-5.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/32x32/view-list-tree-4.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/32x32/view-pim-tasks.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/48x48/applications-science-3.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/48x48/appointment-new-3.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/48x48/color-picker-grey.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/48x48/document-export-4.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/48x48/document-import-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/48x48/document-preview.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/48x48/office-chart-area.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/48x48/preferences-system-4.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/48x48/system-run-5.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/48x48/view-list-tree-4.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/tree/48x48/view-pim-tasks.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/vrt/19x19/security-high-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/vrt/19x19/security-low-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/vrt/24x24/security-high-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/vrt/24x24/security-low-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/vrt/32x32/security-high-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/vrt/32x32/security-low-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/vrt/48x48/security-high-2.png (with props) jmeter/trunk/src/core/org/apache/jmeter/images/vrt/48x48/security-low-2.png (with props)

asfimport commented 8 years ago

@pmouawad (migrated from Bugzilla): Hi milamber, Thanks for this.

Few improvements proposals:

Regards

asfimport commented 8 years ago

benoit.wiart (migrated from Bugzilla): Other improvements proposals:

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

asfimport commented 8 years ago

benoit.wiart (migrated from Bugzilla): PR https://github.com/apache/jmeter/pull/160

asfimport commented 8 years ago

@milamberspace (migrated from Bugzilla): URL: http://svn.apache.org/viewvc?rev=1733750&view=rev Log: Initialize the HiDPI mode and scale factor into JMeterUtils https://github.com/apache/jmeter/issues/3674

Modified: jmeter/trunk/src/components/org/apache/jmeter/modifiers/gui/UserParametersGui.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/PropertyControlGui.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/SamplerResultTab.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatVisualizer.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/SummaryReport.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/TableVisualizer.java jmeter/trunk/src/core/org/apache/jmeter/config/gui/ArgumentsPanel.java jmeter/trunk/src/core/org/apache/jmeter/config/gui/SimpleConfigGui.java jmeter/trunk/src/core/org/apache/jmeter/gui/AbstractJMeterGuiComponent.java jmeter/trunk/src/core/org/apache/jmeter/gui/util/FileListPanel.java jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TableEditor.java jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/AuthPanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/DNSCachePanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/HTTPFileArgsPanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/HeaderPanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.java jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPropertiesPanel.java jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgumentsPanel.java

asfimport commented 8 years ago

@milamberspace (migrated from Bugzilla):

@benoit can you rework your PR #160 with the lastest trunk? (and use applyHiDPI instead of applyHDPI?)

asfimport commented 8 years ago

@milamberspace (migrated from Bugzilla):

@benoit (and @Philippe), I'm not sure that use JMeterUtils reference in the ComponentUtil class that a good thing.

jorphan.jar is outside the JMeter api tree and have no reference to the JMeter API

the applyHiDPI method need to be move inside the JMeter src tree.

asfimport commented 8 years ago

@milamberspace (migrated from Bugzilla):

@benoit, I will work on the fix with the Felix comment.

=== It seems, that there are many tables, that need to be treated basically the same:

if (hdpi) { table.setRowHeight(factor*round(table.getRowHeight()) }

Wouldn't it be nicer to have a util function JMeterUtils#adaptRowHeight(JTable), that performs the work and replace all those if statements with a call to it?

Regards, Felix

asfimport commented 8 years ago

@milamberspace (migrated from Bugzilla):

URL: http://svn.apache.org/viewvc?rev=1733756&view=rev Log: Better code to apploy the HiDPI mode in JTable elements. Thanks Benoit and Felix. https://github.com/apache/jmeter/issues/3674

Modified: jmeter/trunk/src/components/org/apache/jmeter/modifiers/gui/UserParametersGui.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/PropertyControlGui.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/SamplerResultTab.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatGraphVisualizer.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/StatVisualizer.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/SummaryReport.java jmeter/trunk/src/components/org/apache/jmeter/visualizers/TableVisualizer.java jmeter/trunk/src/core/org/apache/jmeter/config/gui/ArgumentsPanel.java jmeter/trunk/src/core/org/apache/jmeter/config/gui/SimpleConfigGui.java jmeter/trunk/src/core/org/apache/jmeter/gui/util/FileListPanel.java jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TableEditor.java jmeter/trunk/src/core/org/apache/jmeter/util/JMeterUtils.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/AuthPanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CookiePanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/DNSCachePanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/HTTPFileArgsPanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/HeaderPanel.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/visualizers/RequestViewHTTP.java jmeter/trunk/src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSPropertiesPanel.java jmeter/trunk/src/protocol/ldap/org/apache/jmeter/protocol/ldap/config/gui/LDAPArgumentsPanel.java

asfimport commented 8 years ago

benoit.wiart (migrated from Bugzilla): hdpi image is coming to jdk9

https://bugs.openjdk.java.net/browse/JDK-8046010 http://openjdk.java.net/jeps/251

asfimport commented 8 years ago

benoit.wiart (migrated from Bugzilla): on macos loading @2x resources is supported since jdk8u20

see https://bugs.openjdk.java.net/browse/JDK-8011059

@milamber :

asfimport commented 8 years ago

@pmouawad (migrated from Bugzilla): Author: pmouawad Date: Fri Mar 11 20:00:46 2016 New Revision: 1734624

URL: http://svn.apache.org/viewvc?rev=1734624&view=rev Log: Rename issue to make it clear it is not yet HiDPI support https://github.com/apache/jmeter/issues/3674

Modified: jmeter/trunk/xdocs/changes.xml

asfimport commented 8 years ago

@pmouawad (migrated from Bugzilla): Closing as remaining work will be handled in https://github.com/apache/jmeter/issues/3897