Page 1 of 1
OS4.1 update 5 - Shell issues
Posted: Sun Aug 26, 2012 1:08 pm
by jostein_aarbakk
After upgrading to update 5 of OS4.1, I have experienced problems with the default Shell.
There are 2 issues:
1) Copying text from the shell doesn't work (but paste does).
2) When shrinking the size of the shell window, and then making the window larger, all text that got cleared during the shrinking process are gone (the previously non-visible text are not redrawn into the window).
The issues were not present in update 4.
My system:
HW: Sam440ep (667MHz, 512MB RAM, onboard Radeon M9 Gfx card).
OS: Amiga OS4.1 update 5.
Re: OS4.1 update 5 - Shell issues
Posted: Tue Aug 28, 2012 8:40 pm
by samo79
The point 2 was present also under Update 4 altrough maybe in a different way, for example if you are compliling a project and then at the same time you resize the window
The text will got a very strange allineation and sometimes disapper completely
Re: OS4.1 update 5 - Shell issues
Posted: Wed Aug 29, 2012 1:10 am
by tonyw
You are somehow opening the console window with "Smart" refresh. Please tell how you are opening the Shell.
Re: OS4.1 update 5 - Shell issues
Posted: Sat Sep 01, 2012 6:59 pm
by samo79
@Tony
You ask me ?
Personally i always start the shell from AmiDock and yes i have smart refresh active in GUI/Prefs
Re: OS4.1 update 5 - Shell issues
Posted: Sat Sep 01, 2012 10:38 pm
by jostein_aarbakk
tonyw wrote:You are somehow opening the console window with "Smart" refresh. Please tell how you are opening the Shell.
The Shell is started by clicking on the Shell-icon in my AmiDock (the same that is available from the Workbench/System folder).
Below are tests that shows what happens with different GUI options.
Test 1:
GUI-prefs options:
- Window refresh type: Smart
- Force synchronous refresh of window contents
(These are the options I have always used, including with update 4).
Afterwards, here is what I did:
a) Started the AmigaShell
b) Wrote something in the shell
c) Reduced the window vertical size by dragging the lower right corner of the shell window
d) Increased the window vertical size
Result:
- Only the part of the shell that were visible after I did c) contained any text. The new part (after I increased the window size) contained only an empty area.
- It was not possible to copy text from the Shell.
Test 2:
Same as test 1, except that I first changed the GUI-preference option "Window refresh type" from "Smart" to "Simple".
I confirmed the changes by pressing the "Use"-button in the GUI-preferences window.
Result:
- Exactly the same result as in test 1.
Test 3:
Same as test 2, but saved the GUI-preference option after changing it, and rebooted.
Result:
- Exactly the same result as in test 2.
Re: OS4.1 update 5 - Shell issues
Posted: Sun Sep 02, 2012 6:00 am
by tonyw
It seems the default GUI prefs setting of "Smart" is being used to open the console window. It must be opened with "Simple" mode.
I suggest that you change the tooltype in the Shell icon to add "Simple", like this:
Old: WINDOW=CON:50/50/600/350/AmigaShell/CLOSE
New: WINDOW=CON:50/50/600/350/AmigaShell/CLOSE/Simple (upper/lower case, doesn't matter)
That should force a Simple mode for the console window and fix the problem. I don't know why this problem has only appeared in Update 5 - it seems some change to another component has changed the default window mode.
Re: OS4.1 update 5 - Shell issues
Posted: Sun Sep 02, 2012 4:53 pm
by jostein_aarbakk
tonyw wrote:..I suggest that you change the tooltype in the Shell icon to add "Simple"..
Ok. Now I have changed the WINDOW tooltype as you described it, and made a new test, but the behaviour is still the same.
Re: OS4.1 update 5 - Shell issues
Posted: Sun Sep 02, 2012 5:29 pm
by jostein_aarbakk
Now it works, even when:
1) the Shell is configured to use the old window tooltype (WINDOW=CON:50/50/600/350/AmigaShell/CLOSE)
and
2) the GUI Preference option "Window refresh type" is set to "Smart" (the "GUI preferences window, subsystem "Options").
In the "GUI preferences" window, subsystem "Controls", the flag "Force smart refresh" was ON.
When I switched this one OFF, the Shell worked as it should.
Re: OS4.1 update 5 - Shell issues
Posted: Sun Sep 02, 2012 7:07 pm
by chris
jostein_aarbakk wrote:In the "GUI preferences" window, subsystem "Controls", the flag "Force smart refresh" was ON.
When I switched this one OFF, the Shell worked as it should.
Yes, that's the important one to change as it forces ALL windows to be smart refresh.
The other toggle only sets the default window type when it isn't specified by the application (AFAIK most applications assume smart refresh anyway, so don't change this - applications need to have special handling for simple refresh windows).