TPC-Council / HammerDB

HammerDB Database Load Testing and Benchmarking Tool
http://www.hammerdb.com
GNU General Public License v3.0
589 stars 119 forks source link

SQL Server TPROC-C Driver Options screen needs scroll bar so i can configure all options #676

Closed richardw1313 closed 7 months ago

richardw1313 commented 7 months ago

SQL Server TPROC-C Driver Options screen needs scroll bar so i can configure all options 2024-02-27 10_32_28-

Version 4.10

i can't see to the end of the configuration window to set/confirm options. I have no idea what is down there. Need a scroll bar on the side to help see everything.

image

sm-shaw commented 7 months ago

HammerDB uses SVG graphics to scale to adapt to the configured display settings on both Linux and Windows.

sqloptions

The documentation is available here and explains how to control this with the settings in config/generic.xml

The first thing you can do is change the screen resolution settings and HammerDB will pick these up. You can also tune the HammerDB scaling with the pixelsperpoint setting.

Alternatively you can go back to the older non-scaling graphics by setting scaling to "fixed" in generic.xml.

<theme>
<scaling>fixed</scaling>
<scaletheme>auto</scaletheme>
<pixelsperpoint>auto</pixelsperpoint>
</theme>
fixed

Now having said that. Yes, if screen resolution settings are not optimal (and it is difficult to strike the balance for every possible display setting on Linux and Windows for all of the potential themes we have) then dialog boxes may appear too large as in your setting and we have been adding options all of the time making them longer. This is particularly an issue for MySQL/MariaDB with all of the SSL options.

Therefore the best option will be to move to notebook style tabbed options boxes with one tab for the connectivity options and another for the configuration settings. We have been aware of this and it has not reached the top of the run queue as yet. However reviewing the v4.11 features draft has some SVG and theme related updates planned and it could be possible that change the dialogs to a tabbed notebook style can be done here. An issue will be raised for the SVG updates once it has been reviewed.

sm-shaw commented 7 months ago

Example of notebook style tabbed options boxes which reduces the size of the options dialog

tab1 tab2