Filer and ZeroPage
Dick Tanis (1648) 36 posts |
18th July ROM and ZeroPain module give the follow error log information when a Filer window has input focus and no item is selected and CTRL-k (delete object) is pressed.
|
Steve Pampling (1551) 8170 posts |
Just when Ctrl-K is pressed or also when the menu option is used? |
Dick Tanis (1648) 36 posts |
Checked the ROM for this code. First two aborts are in the kernel GSINIT routine (source s.Arthur2), third abort occurs in the kernel GSRead routine. |
Dick Tanis (1648) 36 posts |
Only when Ctrl-K is pressed. As it only occurs when no item is selected, it is not possible to use the menu option as it’s greyed out. |
Steve Pampling (1551) 8170 posts |
I think my minds having a night off. Should have remembered that. The keypress route is directly driving the DecodeMenu_File_Delete option but that isn’t checking for null values for the “selected” objects. |
Dick Tanis (1648) 36 posts |
Checked the keypress code of the Filer. Didn’t know there are so many key short-cuts. Do you know why they aren’t added to the Filer menu messages? When I tested the short-cuts I found another abort. When using BACK or CTRL-H (not the menu option) and the parent dir is already opened ZeroPain reports:
Code abort occurs when loading ‘d_handle’ in function key_open_parent from s.KeyPress |
Jon Abbott (1421) 2651 posts |
Looks very similar to three I reported a few weeks ago: https://www.riscosopen.org/forum/forums/1/topics/3418?page=3#posts-44756 Does GSREAD need input validation? I couldn’t track down what was triggering 512kb of these on every boot – without a stack trace its near impossible. |
Steve Pampling (1551) 8170 posts |
There’s a fair number of unfinished items in the code in 2.39. The Ctrl-D matches Q-Filer, Insert matches RO6. F1 is help in other bits, seems logical to use F1 again. I like the idea in RO6 of using DEL for delete, particularly when used with Fred’s Transient and TrapDelete as you then have simple DEL items going into the recycle facility with available restore and Shift-Del is a permanent, kiss it goodbye deletion. |
Rick Murray (539) 13840 posts |
Important keypresses should perhaps not be on single keys – too easy to press by mistake… |
Steve Pampling (1551) 8170 posts |
Any particular keys /functions in mind? The thing being that the keys I’m using in this version match keys used elsewhere. F5 for refresh, F1 for !Help (sh-F1 would be Info) Hmmm, looking on Fred’s site I notice he doesn’t seem to have Transient 2.08 available so the difference between Del and Shift-Del functionality becomes nil. |
Jeffrey Lee (213) 6048 posts |
These aborts should now be fixed with Filer 2.41. Thanks for reporting them! |
Dick Tanis (1648) 36 posts |
Thanks for the quick fix. Tried latest ROM. Reported problems are gone. |