Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming variable with Unicode glyph displays weirdly #2604

Open
brianharvey opened this issue Jun 9, 2020 · 3 comments
Open

Renaming variable with Unicode glyph displays weirdly #2604

brianharvey opened this issue Jun 9, 2020 · 3 comments

Comments

@brianharvey
Copy link
Collaborator

  1. Make a global variable foo.
  2. Right-click it, select Rename all.
  3. Leftarrow to get to the left end of the name in the dialog.
  4. Insert Upper Right Pencil (U+2710) then space.
  5. Click OK.
    (At this point the orange blob disappears altogether, but the dialog is still open.)
  6. Either click OK again, which gives an error message, or click Cancel.

The variable reappears, with its new name, when you either switch to another palette and back or rename another variable. (I.e., it's only the most recently renamed one that's missing.)

(And it doesn't actually do the rename-all bit; you have to do that manually.)

@jguille2
Copy link
Contributor

jguille2 commented Jun 9, 2020

Hi Brian (@brianharvey )
I can't reproduce this. I've tested it with Firefox and Chromium, current version and beta6. No problems

I've inserted that U+2710 pencil copying it from my clipboard (fine) and also typing directly U+2710 (in Linux with [Ctrl]+[Shift]+[U]). Both methods fine.

Joan

@jmoenig
Copy link
Owner

jmoenig commented Jun 9, 2020

We know that refactoring variables has issues. There must be a bunch of open issues about this already. We'll eventually get around to fixing it. I kinda regret that feature...

@brianharvey
Copy link
Collaborator Author

@jguille2 I did it from the MacOS Unicode-and-emoji window, in Chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants