New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve display of JMeter on high resolution devices (HiDPI) (part 1 of enhancement) #3674
Comments
@milamberspace (migrated from Bugzilla): Since JMeter 2.13, we have introduce a new property to change the Icons size. Please see: (the bugzilla: #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 #3524 |
Nick M (migrated from Bugzilla): 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. |
@pmouawad (migrated from Bugzilla): |
@pmouawad (migrated from Bugzilla): URL: http://svn.apache.org/viewvc?rev=1717522&view=rev Modified: |
benoit.wiart (migrated from Bugzilla): |
benoit.wiart (migrated from Bugzilla): |
benoit.wiart (migrated from Bugzilla): |
@pmouawad (migrated from Bugzilla): |
@milamberspace (migrated from Bugzilla): URL: http://svn.apache.org/viewvc?rev=1722714&view=rev Modified: |
@milamberspace (migrated from Bugzilla): |
@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 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 |
@milamberspace (migrated from Bugzilla): |
@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. |
@pmouawad (migrated from Bugzilla): In Scaled Display 1680x1050:
It is ok with 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. |
@pmouawad (migrated from Bugzilla): |
@pmouawad (migrated from Bugzilla): |
@pmouawad (migrated from Bugzilla): |
@pmouawad (migrated from Bugzilla): |
@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 elementwhich 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/Windowsjmeter.hidpi.mode=true 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 |
@vlsi (migrated from Bugzilla): Side issue: Dummy sampler throws AbstractMethodError Created attachment OSX10_11_Java1_8u66_ef5bcb7e9b789.png: Screenshot of OSX build, icons are too big, abstractmethoderror |
benoit.wiart (migrated from Bugzilla): 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 ... |
@milamberspace (migrated from Bugzilla): URL: http://svn.apache.org/viewvc?rev=1733718&view=rev See #159 Added: URL: http://svn.apache.org/viewvc?rev=1733721&view=rev Add missing icons Added: |
@pmouawad (migrated from Bugzilla): Few improvements proposals:
Regards |
benoit.wiart (migrated from Bugzilla):
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 |
benoit.wiart (migrated from Bugzilla): |
@milamberspace (migrated from Bugzilla): Modified: |
@milamberspace (migrated from Bugzilla): @benoit can you rework your PR #160 with the lastest trunk? (and use applyHiDPI instead of applyHDPI?) |
@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. |
@milamberspace (migrated from Bugzilla): @benoit, I will work on the fix with the Felix comment. === if (hdpi) { 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,
|
@milamberspace (migrated from Bugzilla): URL: http://svn.apache.org/viewvc?rev=1733756&view=rev Modified: |
benoit.wiart (migrated from Bugzilla): https://bugs.openjdk.java.net/browse/JDK-8046010 |
benoit.wiart (migrated from Bugzilla): see https://bugs.openjdk.java.net/browse/JDK-8011059
|
@pmouawad (migrated from Bugzilla): URL: http://svn.apache.org/viewvc?rev=1734624&view=rev Modified: |
@pmouawad (migrated from Bugzilla): |
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:
The text was updated successfully, but these errors were encountered: