Page 1 of 1

Bug in ASL Requester

Posted: Sat Nov 05, 2022 11:55 pm
by Raziel
Hi...it's me again...sorry


I was finally able to remember a (long standing) issue in the ASL file requesters.
It refuses to let me rename files.

Steps to reproduce:
1) Open e.g. Notepad
2) Click on or use the menu entry (Project/)"Open"
A file requester will come up
3) Browse to anywhere you have a file (any file), e.g. RAM:
4) Mark a file, right mouse-click on it and choose "Control/Rename" (RAmiga+R)
5) Rename the file to whatever and confirm (Return/Enter)
Now, the file will be visibly renamed (at least it looks like it in the ASL requester)
But, both opening the RAM: window and/or using a shell to display the files will show that nothing was renamed.

Easy method to prove something is not right:
6) Click on "Parent" and choose "RAM:" once again

Nothing will be renamed, all is still the way it was.

Re: Bug in ASL Requester

Posted: Wed Nov 09, 2022 3:22 pm
by salass00
Are you sure that this is reproducible with RAM:?

I've tried reproducing this issue both with RAM: and an SFS\2 partition but with no success on either my FE update 2 or my beta OS installations. It could be that it's a file system specific problem as the ASL code holds a lock on the file to be renamed as it tries to do so, which some file systems might not like.

Re: Bug in ASL Requester

Posted: Fri Nov 11, 2022 8:04 am
by Raziel
I just now confirmed that it is an issue

Notepad -> "Open" -> ASL requester "RAM Disk:" -> mark T: drawer -> "AMIGA+R" or PD Menu "Control/Rename" -> rename the drawer + RETURN -> ASL requester indicates the drawer was renamed -> list or open RAM: on Workbench or click on "Parent" and return to RAM:

nothing gets renamed

Re: Bug in ASL Requester

Posted: Mon Nov 21, 2022 11:26 am
by salass00
I just tried renaming RAM:T from an ASL requester and it works without any problems here (as in the directory gets renamed on WB as well). I assume you haven't done any changes to RAM:T on your system and it's still a regular directory (and not a soft link)?

Re: Bug in ASL Requester

Posted: Mon Nov 21, 2022 11:40 am
by Raziel
Yes, normal directory

I'm getting mad with this one, after "renaming" from the ASL requester (to e.g. "SPARTA"), double-clicking the "SPARTA" directory will send me back to "T" :-D

I'm sorry, but i don' t know what is wrong here, ASL doesn't really rename it, just pretends

Re: Bug in ASL Requester

Posted: Mon Nov 21, 2022 11:44 am
by Raziel
asl.library 53.54 (16.04.2020)
ASL 53.4 (29.11.2009)