Menu

#205 Renaming nonexistent files in the project fails silently

Undefined
fixed
nobody
Bug_Report
2021-12-19
2015-09-01
Riot
No

Attempting to rename a file in the project fails silently if that file does not exist on disk at the time.

Expected behaviour would be to recognise that the file link is broken, but rename it inside the project as requested anyway.

Discussion

  • ollydbg

    ollydbg - 2015-10-06
    • labels: --> SDK, ProjectManager
     
  • Teodor Petrov

    Teodor Petrov - 2016-01-19
    • Type: Undefined --> Bug_Report
     
  • Miguel Gimenez

    Miguel Gimenez - 2021-12-18
    • status: open --> fixed
     
  • Miguel Gimenez

    Miguel Gimenez - 2021-12-18

    Currently the context menu for a non existent file does not show the rename menu item

     
    • Riot

      Riot - 2021-12-19

      That is not an ideal fix; if a file has been renamed on disk, this then requires that file to be removed from the project and re-added, and any file-specific settings need to be set again.

      A better solution would be to allow the rename. If a file already exists with the destination filename, update the file display in the project so it no longer shows it as non-existent. Otherwise, rename the non-existent file in the project anyway, but continue to show it as non-existent.

       

Log in to post a comment.