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

Debugger: Start/Find/Hide Default Interactive Shell command (F12) is confusing #1264

Closed
mook-as opened this Issue Apr 15, 2016 · 1 comment

Comments

Projects
None yet
3 participants
@mook-as
Contributor

mook-as commented Apr 15, 2016

Short Summary

The command that toggles the default shell has confusing behaviour with focus.

Steps to Reproduce

  1. Open a new window.
  2. Press F12
  3. Go to 2.

Expected results

  1. The (Python) shell opens when you first press F12. Keyboard focus is in the shell.
  2. The shell hides when you press it again.
  3. Hereafter, focus the shell on F12 if it wasn't previously focused, otherwise close it.

Actual results

  1. On first press, the shell opens, but focus doesn't go there.
  2. On second press, the focus moves there. (Good!)
  3. On third press, the shell closes (Good… enough?), the console shows up instead (shouldn't the whole bottom pane close?), and focus is moved to the editor (Good)
  4. On fourth (and subsequent) presses, nothing happens. (Not good).

Platform Information

Komodo IDE, version 10.0.0-alpha1, build 88858, platform linux-x86_64.
Built on Fri Apr 15 02:30:01 2016.

@Naatan Naatan added this to the 10.0 milestone Apr 15, 2016

@Naatan Naatan self-assigned this Apr 15, 2016

@Naatan Naatan added New Type: Regression and removed New labels Apr 15, 2016

@Naatan Naatan assigned mitchell-as and unassigned Naatan Apr 27, 2016

@mitchell-as

This comment has been minimized.

Member

mitchell-as commented May 2, 2016

Fixed via Komodo/KomodoIDE@f018161

Note: this has not been working since Komodo 7. In Komodo 7, the bottom pane toggled between visible/invisible, but the tab itself did not. I chose to toggle the focus between the editor view and the interactive shell on each F12 keypress, rather than toggling the visibility of the bottom pane (which may have been open to start with, so the toggling would be undesirable). You can probably bind a key to toggle the visibility of the bottom pane in addition to toggling focus between editor and interactive shell if you really wanted to.

@mitchell-as mitchell-as closed this May 2, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment