开云体育

Locked Re: 1.0.3 control panel


 

At 9:16 AM -0700 8/8/02, Robin Becker wrote:
Bob,

1. When I create a new control panel and add icons, nothing is visible on
the panel until I resize it. After I resize the panel everything is there.
I tried different X and Y values and it didn't matter.
Does the panel start minimized (nothing by header)? Or is it bigger than that.

2. I can change a turnout by clicking on it but I can't change the displayed
state of a sensor by clicking on it. I think the help page says that this
should be possible?
It should be. It requires a layout connection to actually work. But see below.

3. When I add a _left_ turnout to the drawing, the initial icon displayed is
a _right_ turnout in unknown state. Once I click on the turnout it becomes
a closed _left_ turnout.
This is a bug; I seem to have lost the file for one of the "unknown" turnouts. Will fix.

3a. When I save and then load the panel, all the turnouts are right turnouts
in unknown state. I can click on each one and change it to closed, however
only one will allow me to toggle it between closed and thrown.
I think that's the same thing. There's a missing file, and code gets confused trying to cope.

LocoTools shows this message: Pick an input source from the input menu
first. Not sure what this refers to.
Short answer: Looks like a bug.

Longer answer: Each of the three programs uses its own config file. The JmriDemo and LocoTools programs can _also_ be used without a config file, for example if you want to play with multiple connections at the same time. Or the more common case of trying to debug a connection. So they have "Input" menus from which you can pick a protocol driver.

If JmriDemo discovers a config file with a protocol selected, it uses that and disables the input menu. It also posts messages about whether you've been configured from a file, or need to make your own connection from the menu.

LocoTools seems to have screwed up that logic. I'll fix it.

But I recommend you switch to JmriDemo for playing with these panels. That's because it's configuration file (and input menu) has a "LocoNet Hexfile" option that starts a debugging "layout simulator" instead of a real layout connection. Select this, quit and restart, and I think that your sensors should be animated.

And thanks for your patience with these little problems.

FYI I installed Java 1.4 and the combo box redraw problem when scrolling a
long list is gone.
Great, thanks for trying that.
--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)
At CERN until August 10, replies may be slow.

Join [email protected] to automatically receive all group messages.