Opened 5 years ago

Closed 5 years ago

#174 closed bug (fixed)

Demos/EnvBrowser --> Edit

Reported by: Samir Hawamdeh Owned by: Thore Böckelmann
Priority: normal Milestone: 4.0-2015R2
Component: demos Version: 4.0-nightly build
Severity: minor Keywords:
Cc: OS Platform: All
Blocked By: Blocking:
Release Notes:

Description

Summary

In EnvBrowser demo (Demos/EnvBrowser) the "Edit" button doesn't work correctly, ED will be opened but you will get this message:

ED: Error number

Tested under MUI 4.0 SVN r4569

Expected results

To edit eventual text by default you might use the NotePad instead of ED

Attachments (1)

env_failed.png (234.3 KB) - added by Samir Hawamdeh 5 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by Thore Böckelmann

Component: undefineddemos
Milestone: 4.0-2015R2
Owner: set to Thore Böckelmann
Priority: undecidednormal
Status: newassigned

comment:2 Changed 5 years ago by Thore Böckelmann

Resolution: fixed
Status: assignedclosed

In 4573:

  • demos/EnvBrowser.c: use NotePad on AmigaOS4 for editing the ENV variable contents and removed the "-sticky" option for the AmigaOS3 build as this is known for GoldED as C:Ed replacement only. This closes #174.

Changed 5 years ago by Samir Hawamdeh

Attachment: env_failed.png added

comment:3 Changed 5 years ago by Samir Hawamdeh

Ok now it will open with NotePad but i'm not sure if correctly or not ..
When i click on the edit button I got an error in ENV:

See grab above

comment:4 Changed 5 years ago by Thore Böckelmann

Component: demosDirlist.mui
Resolution: fixed
Status: closedreopened

It seems you are trying to edit a directory instead of a file. Dirlist.mui should hide directories at least in this case as it was with MUI 3.8.

comment:5 Changed 5 years ago by Thore Böckelmann

Component: Dirlist.muidemos
Status: reopenedassigned

comment:6 Changed 5 years ago by Thore Böckelmann

Resolution: fixed
Status: assignedclosed

In 4607:

  • demos/EnvBrowser.c: use the attribute MUIA_Dirlist_FilesOnly instead of MUIA_Dirlist_FilterDrawers. The latter will match directories against any accept or reject pattern and eventually accepts them which is wrong for the intended purpose, while the former definitely accepts files only. This closes #174 again.
Note: See TracTickets for help on using tickets.