Skip to content

Strikethrough not applied on source control view & deprecated items. Styles are missing from other locations #87668

Closed

Description

@mjcrouch
  • VSCode Tested on version: 1.41.1 + build from latest master. Confirmed working on version 1.39.2
  • OS Version: Windows 10 Pro x64

When a SourceControlResourceState is decorated with the strikeThrough option, the strikethrough is not applied.

Example of the perforce extension working on 1.38.1 (built from https://github.com/RealZogger/vscode-perforce/tree/shelve-enhancements-2)
working

Example of not working on a build from master today:
notworking

Side-by-side of core git support - 1.39.2 build vs 1.41.1 release
image

Steps to Reproduce:

  1. Delete a file from a repository
  2. Go to the scm view
  3. Strikethrough is not applied to the file

Does this issue occur when all extensions are disabled?: Yes

Activity

  1. added
    bug
    on Dec 26, 2019
  2. mjcrouch commented on Jan 6, 2020

    @mjcrouch
    ContributorAuthor

    Looking into it a bit further I believe this is caused by commit 8bb358f which changed the class name from monaco-icon-label-description-container to monaco-icon-name-container, but didn't update the scmViewlet css to match

    it should also be noted - there are quite a few styles in various css files for monaco-icon-label-description-container, but no obvious references to it in any code following this change

  3. added a commit that references this issue on Jan 6, 2020
    adecd91
  4. changed the title [-]Strikethrough not applied on source control view[/-] [+]Strikethrough not applied on source control view, deprecated items & styles are missing from other locations[/+] on Jan 7, 2020
  5. mjcrouch commented on Jan 7, 2020

    @mjcrouch
    ContributorAuthor

    I've determined that there the other missing styles definitely caused issues - for example deprecated completions were missing the strikethrough

    image

    (I recreated this by modifying the vscode completion-sample to include a deprecated tag).

    I've updated the issue to include the fact that these are missing, and updated the PR to apply the old styles to the new classes

  6. changed the title [-]Strikethrough not applied on source control view, deprecated items & styles are missing from other locations[/-] [+]Strikethrough not applied on source control view & deprecated items. Styles are missing from other locations[/+] on Jan 7, 2020
  7. added
    scm
    and removed
    git
    on Jan 14, 2020
  8. locked and limited conversation to collaborators on Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugscmverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions