Calculator Problem (bug?)

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
xenic
Posts: 1185
Joined: Sun Jun 19, 2011 1:06 am

Calculator Problem (bug?)

Post by xenic »

I start SYS:Utilities/Calculator on my Internet screen with a script. When I select the "Show Tape" menu item in the "Windows" menu, the tape window opens on WorkBench instead of the same screen (Internet) as the calculator. That sort of defeats the purpose of the tape window. The tape window should open on the same screen that the calculator is on when you open the tape window with the menu.
AmigaOne X1000 with 2GB memory - OS4.1 FE
User avatar
Rigo
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 363
Joined: Mon Jan 17, 2011 9:42 pm

Re: Calculator Problem (bug?)

Post by Rigo »

How are you starting Calculator in your script?
Can you paste the line here?

Simon
xenic
Posts: 1185
Joined: Sun Jun 19, 2011 1:06 am

Re: Calculator Problem (bug?)

Post by xenic »

Rigo wrote:How are you starting Calculator in your script?
Can you paste the line here?
Simon
I'm starting Calculator from an old program from OS4depot called ScriptLauncher. It's not really a script since it's just a single line. The same problem occurs if the same command is started from a shell. Here is the line:

Code: Select all

Sys:Utilities/Calculator PUBSCREEN=Internet
Internet is the screen name and Calculator opens fine. The problem is that if you select the "Windows/Show Tape" menu item in Calculator the tape window opens on the Workbench screen; leaving the user wondering why the tape window didn't open (it did, but on a different screen).

It is possible to avoid the problem by using the TAPE argument when opening Calculator like this:

Code: Select all

Sys:Utilities/Calculator PUBSCREEN=Internet TAPE="KCON:0/0/300/400/Calculator Tape/INACTIVE/SCREEN Internet"
If the TAPE argument is used when Calculator is started, the tape window will open on the specified screen and can be closed/reopened on the correct screen with the Calculator "Windows/Show Tape" menu item.

The tape window problem occurs when you open Calculator without the TAPE argument and attempt to open the tape window.

It's also not very intuitive for Calculator to open under the pointer when started from a shell or script. It wouldn't hurt to have some TOOLTYPES/ARGUMENTS to specify the Calcualtor opening position (even if it's just a CENTERED argument to override starting under the pointer).
AmigaOne X1000 with 2GB memory - OS4.1 FE
Post Reply