Skip to content

v1.24.0 changed some characters, ~breaking my extension #51335

Closed

Description

Todo+ uses the following characters for distinguishing between pending, done and cancelled todos: ☐, ✔ and ✘.

An example file highlighted by this extension under VSC v1.23.0 and Windows would look like this:

before

Updating to v.1.24.0, still on Windows, messes up some of those characters:

after

Notice how the ☐ character is now always black no matter what, and the ✔ has always it's particular shade of green, the latter problem is better seen in this other screenshot:

Green

For some of my users the ✔ character is no longer monospaced either, messing up the alignment (/cc Fabian (@fabysdev) Pedro Jose (@samael205)):

Alignment

I'm using the same version of Todo+, I didn't change the font, I didn't change any setting, I just upgraded VSC from v1.23.0 to v.1.24.0.

I can't reproduce this in macOS.

Activity

  1. added
    editor-core
    on Jun 7, 2018
  2. alexdima commented on Jun 11, 2018

    @alexdima
    Member

    We merged in #50168 in order to fix #32840

    The only workaround I can think of for now is to manually edit the default editor.fontFamily and set it to something like Consolas.

    I'm not sure how to proceed, we might need to roll back the changes done in #50168. (fyi rianadon)

  3. fabiospampinato commented on Jun 11, 2018

    @fabiospampinato
    ContributorAuthor

    I see 🤔 I think the mistake was using emojis in the extension in the first place as they are not guaranteed to always look the same.

    I think the best option here is keeping #50168 in and I'll replace those characters in my extension with something else.

    The issue with this is that no longer updated extension (like Sandeep Somavarapu (@sandy081)'s To Do Tasks) will remain affected by this, and I guess virtually no-one will change it's default font family.

  4. added
    candidate
    editor-rendering
    and removed
    editor-core
    on Jun 11, 2018
  5. added
    bug
    on Jun 11, 2018
  6. alexdima commented on Jun 11, 2018

    @alexdima
    Member

    This got fixed via 7399f84 and 0f0770d

  7. added
    verified
    on Jun 12, 2018
  8. locked and limited conversation to collaborators on Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugcandidateeditor-renderingverified

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions