GoogleChromeLabs / text-app

A text editor for ChromeOS and Chrome
https://chrome.google.com/webstore/detail/mmfbcljfglbokpmkimbfghdkjmjhdgbg
Other
551 stars 150 forks source link

Files open multiple times when opened from Files app. #507

Open BugsNash opened 4 years ago

BugsNash commented 4 years ago

Steps to repro: 1) Open a file in Text app. 2) Close text app (leaving the file in the list of open files). 3) Open the same file from the Files app in Text app.

This results in 2 tabs with the same file. Compare to opening the same file from within Text app (using 'Open' button) which switches focus to the file rather than opening a new copy of it.

BugsNash commented 4 years ago

Maybe related or maybe a separate issue: when multiple files are open and the text app is closed, then one of those files is opened the text app from the files app, sometimes not only will an extra copy of that file be added to the list of open files, but extra copies of the other files will be opened too. No reliable repro steps but see a video of the issue on #506. I have also seen this issue.

GitBoudewijn commented 3 years ago

Same as #354