Bug #145

can't appear "Next test step(s):" in small screen, can't continue tests

Added by Anonymous about 11 years ago. Updated about 11 years ago.

Status:ClosedStart date:26 Jun 2009
Priority:LowDue date:
Assignee:-% Done:


Target version:1.1.0


I have a netbook, 10.1 inches wide screen using windows. In tab Test i can appear neither the "Next test step(s):" nor the message pane, so i can only start a test and stay there.

Maybe it would be better if there was another tab next to Components for UtraceCheck, IocoCheck and Test


#1 Updated by Axel Belinfante about 11 years ago

If I correctly understand that your problem is that the JTorX windows is to tall, the following may help:

if you start JTorX with a command line option --demo
you get a 'landscape' window layout that you ask for
similar to the one shown in the screen shots of http://fmt.cs.utwente.nl/redmine/wiki/jtorx/Screenshots

I have used that for a demo, but changed back to the 'portrait' style to avoid having to switch panes all the time.

now that you make me think about it a bit more, I wonder whether it might be a good idea to try to 'do the right thing' automatically
by looking at the screen size, to decide whether to use 'portrait' or 'landscape' mode (and allow command line options to overrule).

#2 Updated by Axel Belinfante about 11 years ago

Note: currently, to start JTorX with --demo on windows, you have to do the following once to set it up:

  • copy jtorx.bat to jtorx-demo.bat
  • edit jtorx-demo.bat by adding --demo at the end of the single line that it contains, such that it reads (for JTorX 1.0.0):
    java -classpath jar_100.jar;swt.jar;iocoChecker.jar utwente.fmt.jtorx.testgui.Testgui --demo

then, run jtorx-demo.bat whenever you want 'landscape' mode

#3 Updated by Axel Belinfante about 11 years ago

  • Status changed from New to Resolved
  • Target version set to 1.1.0
  • % Done changed from 0 to 100

commit 8b26819aa86f58e61068859052ef814d3a124fb5 adds automatic choice between portrait and landscape mode, using screen height to decide (if <1000 use landscape layout)

it also adds support for command line options --portrait and --landscape (mutally exclusive) .
(--demo is still supported)

#4 Updated by Axel Belinfante about 11 years ago

sidenote: the separators between the panes can be used to change the relative sizes of the panes, for example to almost completely hide the contents of the configuration pane 'under' the contents of the Test pane.

#5 Updated by Anonymous about 11 years ago

Great job !!!
i checked the solution using argument --demo and i also downloaded the new version, 1_1_0 that auto-checks screen height, and both work perfect

#6 Updated by Axel Belinfante about 11 years ago

  • Status changed from Resolved to Closed

thanks for confirming that it works!

Also available in: Atom PDF