brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] Split View from View menu creates a bad state #8604

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by redmunds Thursday Oct 23, 2014 at 23:54 GMT Originally opened as https://github.com/adobe/brackets/issues/9664


  1. Open Brackets in No Split mode
  2. Double-click to open a file in working set
  3. View > Vertical Split (does not happen from icon menu)
  4. Right pane appears to have focus (as it should), but cursor is still displayed in Left pane
  5. Double-click another file

Results: File is opened in Right pane, but it's listed under Left working set

core-ai-bot commented 3 years ago

Comment by JeffryBooher Friday Oct 24, 2014 at 15:27 GMT


@redmunds i tried these steps and opened the file in the Right pane (which is correct). At step 4, however, the cursor is erroneously in the left pane. This seems to only happen when splitting from the View menu

core-ai-bot commented 3 years ago

Comment by JeffryBooher Friday Oct 24, 2014 at 15:30 GMT


Sorry, I forgot to mention that it's also listed under the Right working set.

core-ai-bot commented 3 years ago

Comment by JeffryBooher Friday Oct 24, 2014 at 15:36 GMT


so get this, the cursor still lives there because:

if (current.tagName === "textarea") and, in this case for some reason, currrent.tagName = "TEXTAREA"

core-ai-bot commented 3 years ago

Comment by redmunds Friday Oct 24, 2014 at 16:12 GMT


PR #9672 fixed part of this bug. The rest is fixed in #9636.

core-ai-bot commented 3 years ago

Comment by redmunds Friday Oct 24, 2014 at 23:23 GMT


Confirmed. Closing.