Bug in ASL Requester

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Bug in ASL Requester

Post 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.
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 530
Joined: Sat Jun 18, 2011 3:12 pm
Location: Finland
Contact:

Re: Bug in ASL Requester

Post 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.
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: Bug in ASL Requester

Post 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
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 530
Joined: Sat Jun 18, 2011 3:12 pm
Location: Finland
Contact:

Re: Bug in ASL Requester

Post 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)?
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: Bug in ASL Requester

Post 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
Last edited by Raziel on Mon Nov 21, 2022 11:45 am, edited 1 time in total.
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
User avatar
Raziel
Posts: 1170
Joined: Sat Jun 18, 2011 4:00 pm
Location: a dying planet

Re: Bug in ASL Requester

Post by Raziel »

asl.library 53.54 (16.04.2020)
ASL 53.4 (29.11.2009)
People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Post Reply