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

HTTP Test Script Recorder : Port field is very small under some Windows LAF #4363

Closed asfimport closed 7 years ago

asfimport commented 7 years ago

navneetkrishnam (Bug 60995): The Port box is very small and makes it difficult to view or modify the listening port.

My system configuration are as below:

  1. OS: Windows 10
  2. Bit: 64 bit
  3. Java version: 1.8.0_66 - 64 bit version

Steps to reproduce the bug: Right click on Workbench and add HTTP(S) Test Script Recorder

Created attachment HTTP(S) Test Script Recorder Port.png: Screenshot of bug

Screenshot of bug

Severity: minor OS: All

Duplicates:

asfimport commented 7 years ago

@pmouawad (migrated from Bugzilla): Hi Team, I'm not able to reproduce this issue under my Windows versions and on Mac. So if anybody can work on it.

Thanks

asfimport commented 7 years ago

@FSchumacher (migrated from Bugzilla): I can reproduce it with linux under gnome and with and the system (gtk+) LAF. I had to start JMeter with system LAF, to show the described behaviour and as soon as I switched to crossplatform LAF, the port-field had the correct width.

asfimport commented 7 years ago

@FSchumacher (migrated from Bugzilla): I have fixed this for gnome system LAF. I hope, it fixes the affected windows LAF, too.

@naveetkrishnam, could you please test the next nightly, to see if it fixes your problem?

This fix will be included in version 3.3.

Date: Sun Apr 30 10:00:12 2017 New Revision: 1793255

URL: http://svn.apache.org/viewvc?rev=1793255&view=rev Log: HTTP Test Script Recorder: Port field is very small under some LAF

https://github.com/apache/jmeter/issues/4363

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java jmeter/trunk/xdocs/changes.xml

asfimport commented 7 years ago

navneetkrishnam (migrated from Bugzilla): Hi. I tested the nightly build "apache-jmeter-r1792334". However, the issue persists in the "Nimbus" look and feel.

asfimport commented 7 years ago

@milamberspace (migrated from Bugzilla): Fixed on Linux, but probably on Windows too, please re-open if not fixed on Windows.

See new screenshot

URL: http://svn.apache.org/viewvc?rev=1793967&view=rev Log: HTTP Test Script Recorder : Port field is very small under some Windows LAF HTTP(S) Test Script Recorder panel have some fields with bad size on HiDPI screen or GTK+ L&F on Linux/XWayland Not needed to use the MinimumSize or PreferredSize for UI panel/components, let's the UI manager set the good dimension depending the L&F settings Using the icon size settings for images on control panel

https://github.com/apache/jmeter/issues/4363

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/proxy/gui/ProxyControlGui.java jmeter/trunk/xdocs/changes.xml

asfimport commented 7 years ago

@milamberspace (migrated from Bugzilla): Created attachment Screenshot from 2017-05-05 08-09-15.png: New Panel with GTK+ on XWayland without HiDPI settings

New Panel with GTK+ on XWayland without HiDPI settings
asfimport commented 7 years ago

@milamberspace (migrated from Bugzilla): Created attachment Screenshot from 2017-05-05 08-09-59.png: New Panel with CrossPlatform L&F on XWayland with HiDPI settings

New Panel with CrossPlatform L&F on XWayland with HiDPI settings