KapiX / Koder

A code editor for Haiku based on Scintilla editing component.
MIT License
42 stars 15 forks source link

Window loses focus after exiting dialog #102

Closed deejam closed 5 years ago

deejam commented 5 years ago

After closing a dialog (Find, Preferences etc), the previos Koder window is not focused.

How to reproduce: Type some text in the editor. Open Find/Replace... Find and replace some text. Close Find/Replace. Notice that Koder is not in focus. Try undoing the Find/Replace using keyboard shortcut. Won't work since Koder is not in focus.

Expected behavior: The previous active Koder editor window should be focused. Undoing using keyboard shortcut should work.

humdingerb commented 5 years ago

Cannot reproduce with a build from current master.

deejam commented 5 years ago

I tested Pe and StyledEdit and they behave the same, so it might be a Haiku bug.

KapiX commented 5 years ago

I can't reproduce this as well. There is no specific code for this in Koder, it always relied on the system to do the right thing.

humdingerb commented 5 years ago

Can't reproduce with Pe or StyledEdit either...