Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Brackets doesn't remember current file if not in the working set #108

Closed
pthiess opened this issue Apr 20, 2012 · 6 comments
Closed

Brackets doesn't remember current file if not in the working set #108

pthiess opened this issue Apr 20, 2012 · 6 comments

Comments

@pthiess
Copy link
Contributor

pthiess commented Apr 20, 2012

  1. View a file in the file list (not ws)
  2. click F5 on Win or CMD+R on Mac (or quit & reopen Brackets)

Result: After the refresh first file in working set is shown or none if none in the ws. User need to remember fil he was viewing and manually go back to the file.

@peterflynn
Copy link
Member

Clarifying title... the bug is not specific to F5, but happens anytime Brackets is quit & relaunched

@tvoliter
Copy link
Contributor

Note: I don't see this on my Win system and I just grabbed the latest from master. Peter, can you repro?

@peterflynn
Copy link
Member

Yes -- I think this bug has been around forever. If you just launch Brackets, make sure your working set is empty, and then select a file in the project tree (don't add to working set), restarting Brackets won't remember that that file was open.

The code in DocumentManager._init() matches these results: it only sets activeFile by way of iterating the working set; any file not in the working set can't be restored as the active file.

@pthiess
Copy link
Contributor Author

pthiess commented Apr 20, 2012

I have just closed 101, which was a duplicate, my bad. Yes it is reproducible and I keep this open since we have the comments in here. QRB reviewed 101 and we want to put it into a user story, mark ToUserStory

@pthiess
Copy link
Contributor Author

pthiess commented Apr 20, 2012

added to Trello Backlog for now - leaving it open unless team has decided on tool to use.

@pthiess
Copy link
Contributor Author

pthiess commented May 10, 2012

Card 18, Trello

@pthiess pthiess closed this as completed May 10, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants