Skip to content

Text files: do not report dirty for readonly models #89405

Closed

Description

So far, whenever the model of a text file changes, we would report it as dirty to the user. However, for readonly file systems, this is not ideal because neither could the user have changed the model nor can it save it.

Examples for readonly file system providers are our very own Git file system provider that a user should never see dirty files from. Other examples include LiveShare readonly sessions.

A change should be made such as readonly file models never report dirty when the model changes.

Activity

  1. added
    debt
    verification-needed
    on Jan 28, 2020
  2. bpasero commented on Jan 28, 2020

    @bpasero
    ContributorAuthor

    Fixed via d108195

    Verification:

    • install LiveShare
    • start a readonly collab session
    • join this session from another insiders run (via --user-data-dir <some other dir>)
    • type in the host
    • verify the guest sees no dirty indicator
  3. locked and limited conversation to collaborators on Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debtverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions