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

Komodo no longer active window after Edit > Replace on Files #3063

Open
mjross opened this issue Sep 7, 2017 · 4 comments
Open

Komodo no longer active window after Edit > Replace on Files #3063

mjross opened this issue Sep 7, 2017 · 4 comments
Assignees
Milestone

Comments

@mjross
Copy link

mjross commented Sep 7, 2017

Summary

In a Windows environment (and possibly others), doing a find-and-replace operation, after either accepting or canceling the proposed replacements, Komodo IDE is no longer the active application, and instead focus is passed to whichever application was being used prior to Komodo IDE.

Steps to Reproduce

Edit > Replace. Enter any strings into the "Find" and "Replace" fields such that at least one possible replacement will be found. In the "Where" field, choose "Files". Start the process (I do that by pressing Enter, but there might be some other favored technique).

Expected Results

When Komodo IDE has finished finding and making all of the possible replacements -- or even before it has finished and you click the "Cancel" button -- focus should return to the main Komodo IDE window as soon as the replacement dialog disappears.

Actual Results

Instead focus is passed to whichever other running application was accessed prior to switching to or starting Komodo IDE. Komodo IDE becomes the next-in-line application. In effect, Komodo IDE and the other application switch places in the activity queue (or whatever it is that Microsoft calls the order in which applications are accessed when going from one to another using Alt+Tab).

Platform Information

Komodo IDE 10.2.3 on Windows 10 Pro

@Naatan
Copy link
Member

Naatan commented Sep 8, 2017

@mjainQA please verify.

@GrahamStuart
Copy link

With Windows 10 64bit with Komodo 11.0.2:
Can't repro the change of focus exactly as described above, but there is definitely something weird happening, and it can be seen with just the Find tool.

When you get to the end of a set of matches, the Linux version returns to the top of the set of matches.

On Windows, you get two different (wrong?) results.
If you're stepping with the F3 key, after the last match you return to your current cursor position in the active file.
If you're stepping with the Up/Down arrows in the Find box, after the last match you're returned to the Find box Find: field where you set your search keyword. This isn't quite the same as what was reported, but it's still an unexpected shift of focus.

@mjross
Copy link
Author

mjross commented Jan 31, 2018

Thanks for the feedback. Because we have upgraded to Komodo IDE 11 since my original post, just now I verified the misbehavior described in that post, in my current Komodo IDE 11.0.2 build 90813 (on Windows 10.0.16299.192 Pro), after doing Help > Troubleshooting > Restart in Safe-Mode.

@mitchell-as mitchell-as added this to the 11.1 milestone Jan 31, 2018
@mitchell-as
Copy link
Contributor

I confirm the original report as written. It seems the find in files dialog takes focus away from Komodo, and after dismissing the dialog, focus is given to another open window other than Komodo.

@Naatan Naatan modified the milestones: 11.1, 11.x.x May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants