Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

File Naming Bug (more info in comments) #10618

Closed
ElegantScripting opened this issue Feb 18, 2015 · 2 comments
Closed

File Naming Bug (more info in comments) #10618

ElegantScripting opened this issue Feb 18, 2015 · 2 comments

Comments

@ElegantScripting
Copy link

This is a core brackets bug, and doesn't correlate with extensions nor RAM nor OS.

I'm having this issue on both my Mac OS 10.10.2 laptop and my Windows 7 desktop on the latest version of Brackets, with or without extensions enabled (I have tested both).

Here's a visual example of the bug:
feb 17 2015 19 38

The bug occurs when a character key is pressed, but has not been released before the enter / return key is pressed. Try literally holding down a character key while creating or renaming a file and pressing enter while the first key is still held down; it will produce the same result.

For extremely fast-typers like myself, you can see how this may be a problem, as part of our fast-typing is owed to a self-formed habit of pushing down other keys while our fingers have still not released the previously typed keys. Although this may only be for a few milliseconds, the computer (as always) is receptive to everything.

I would assume this could be fixed by storing each character on keyDown within a string variable and then submitting that variable to the file creation method upon keyUp of the return key. Although I may be speaking out of context (I'm not sure how the internals of Brackets are designed and haven't had the time to read through them), theoretically (at least in my head) it could work.

Nevertheless, I have faith that this will get fixed soon - although it may not be priority, it looks like an easy fix (and kind of a fun one).

Thanks.

@peterflynn
Copy link
Member

Sounds like a duplicate of #10531 / #10048. Thanks for the info about the Enter key overlapping with the last-typed letter -- I'll leave a note in the original bugs to see if that matches others' experience.

@prksingh
Copy link
Contributor

Should be fixed with #10648

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

No branches or pull requests

4 participants
@peterflynn @prksingh @ElegantScripting and others