brackets-userland / brackets-electron

An open source code editor for the web, written in JavaScript, HTML and CSS.
http://brackets.io
MIT License
81 stars 8 forks source link

1.9.1 - Window focus, and shortcut #86

Closed AgamlaRage closed 7 years ago

AgamlaRage commented 7 years ago

Brackets-Electron 1.9.1 Windows 10

I use to open normal brackets in one screen and electron in an other (so I can see diferents project ...etc). Since the Electron 1.9.1 update, when I do that, brackets-electron do weird things when I change the window focus.

Examples:

ghost commented 7 years ago

Maybe this is related. I've found Brackets-electron 1.9.1 steals all keyboard shortcuts, even though Other program is focused. Tested with Firefox, Notepad++ and other programs.

Win7/Brackets-electron 1.9.1

AgamlaRage commented 7 years ago

@mskocik you are right, and this is a good description of the issue.

zaggino commented 7 years ago

This is a fuck-up indeed. Will release 1.9.2 shortly, sorry guys.

zaggino commented 7 years ago

https://github.com/zaggino/brackets-electron/releases/tag/v1.9.2

r4p7or commented 7 years ago

OS: Windows 7 64bit Brackets-Electron Release 1.9 build 1.9.3

It still usurps those shortcuts.

For example:

I wanted to post this as a new issue but I came across this thread (although closed). I hope it's OK.

zaggino commented 7 years ago

@r4p7or please test with https://github.com/zaggino/brackets-electron/releases/tag/v1.9.4

r4p7or commented 7 years ago

Hi, unfortunately even 1.9.4 still steals shortcuts.

It doesnt steal them all the time - I reckon in 1 case out of 30 (just a rough estimate).

Since this morning I've left Brackets-El minimized and carried on working on my projects waiting for the issue to appear or not.

It has stolen 2 "shortcuts" so far:

1st was Ctrl + B

2nd was Ctrl + G

zaggino commented 7 years ago

@r4p7or ok, the fix is a hack right now and I'd need to report a bug with electron to fix this. Basically, when I remove the hack, the ctrl+d (notice the case) doesn't work but ctrl+D (capslock enabled) does ... this was reported as https://github.com/zaggino/brackets-electron/issues/79

For now, if I remove hack, it will make some shortcuts to stop working. If I leave it, it will sometime steal shortcuts of other apps, bad choices both.

zaggino commented 7 years ago

Should be fixed in https://github.com/zaggino/brackets-electron/releases/tag/v1.10.2 completely.