Ticket #3008 (new defect)

Opened 11 years ago

Last modified 11 years ago

Error when opening or inserting file (with autocompletion)

Reported by: szaszg Owned by:
Priority: major Milestone: Future Releases
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

  1. echo "Test file" >"/tmp/test file.txt"
  2. mc -e "/tmp/test file.txt"

now we see the file in editor widget

  1. F9, F, O -> File dialog
  2. type: /tmp/test
  3. press M-TAB twice

autocompletion fill the input field with /tmp/test\ file.txt

  1. press ENTER

there is no error message but, mcedit cannot open and read the file...

The problem is the shell escaped filename (test\ file.txt). If we rewrite it to "test file.txt" mcedit can open and read the file.

Change History

comment:1 Changed 11 years ago by andrew_b

  • Component changed from mcedit to mc-core

See also #3135.

Note: See TracTickets for help on using tickets.