Skip to content

Search function drops first character into code window #6951

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

Open
fredlcore opened this issue Nov 20, 2017 · 9 comments
Open

Search function drops first character into code window #6951

fredlcore opened this issue Nov 20, 2017 · 9 comments
Labels
Component: IDE user interface The Arduino IDE's user interface Type: Bug

Comments

@fredlcore
Copy link

When using the keyboard shortcut CMD+F on my Mac to quickly access the search window and then quickly continuing to enter the search text, the first character is still entered in the code window, not in the search box. I'd say that one has to wait roughly half a second until it is safe to continue typing.

This is especially problematic as the search box may hide the part of the code window where the cursor is located. In case I had highlighted some part of code before, it will get replaced with the first character of the search text and I may find out only later when I complile the code next time. By then, I may still undo until the part in question is restored, but this will also undo all my other changes since then.

System: MacOS High Sierra
Arduino IDE: 1.8.5

@facchinm
Copy link
Member

Hi @fredlcore , would you mind testing Beta 1.9.0 and report if the behaviour is different (hopefully better) ? Thanks!

@facchinm facchinm added Component: IDE user interface The Arduino IDE's user interface Type: Bug labels Nov 20, 2017
@fredlcore
Copy link
Author

Hi @facchinm , thanks for the prompt response - yes, the behaviour is still the same :(...

@per1234
Copy link
Collaborator

per1234 commented Dec 15, 2017

Arduino IDE 1.9.0 Beta build 26 on Windows 7 64 bit

I don't know whether I'm encountering the same bug. For me with the beta build the Find window never gets focus no matter how long I wait. I don't have this problem with Arduino IDE 1.8.5 or Arduino IDE 1.8.6 Hourly Build 2017/11/13 11:33, the cursor is immediately moved to the Find input field with those IDE versions.

@facchinm
Copy link
Member

Hi @per1234 ,
it's surely related with a couple of commits: 65103aa and 0d50f0b, both targeting another issue I can't find right now (probably because it had the wrong description).
If you could provide a small screencast of what is happening it would be very cool.

@facchinm
Copy link
Member

Got it: #6603

@per1234
Copy link
Collaborator

per1234 commented Dec 15, 2017

The requested screencast. This is using Ctrl+F but the same happens with Edit > Find (both of which work as expected with 1.8.5 and the hourly build)
screencast

@fredlcore
Copy link
Author

Just to mention that I assume that this is most likely not related to the bug I repoted above because my observation is not limited to any current version but has been around on my Mac since Arduino 1.8.5 (and probably before).

@facchinm
Copy link
Member

@per1234 on Linux it grabs the focus as soon as you open it and loses when the editor is clicked (as expected). So the problem is probably generated by 0d50f0b which doesn't take into account the "just spawned" event. I'll take a look on a Win machine to make sure I understood the problem correctly.

@per1234
Copy link
Collaborator

per1234 commented Dec 15, 2017

OK, sorry if I got this issue off topic. I seemed to remember this had been reported previously but this was the only one I found other than #6408, which is different. I'm happy to move this to a new issue on request.

I should have also mentioned that I also encountered my issue on Arduino IDE 1.9.0 beta build 26 before I updated to build 30 to verify the issue still occurred.

facchinm added a commit to facchinm/Arduino that referenced this issue Jan 15, 2018
facchinm added a commit to facchinm/Arduino that referenced this issue Jan 22, 2018
cmaglie pushed a commit to facchinm/Arduino that referenced this issue Jan 26, 2018
facchinm added a commit to facchinm/Arduino that referenced this issue May 8, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves arduino#6951 (comment)

Use Windows method for all OS
cmaglie pushed a commit to facchinm/Arduino that referenced this issue May 8, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves arduino#6951 (comment)

Use Windows method for all OS
cmaglie pushed a commit to facchinm/Arduino that referenced this issue May 9, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves arduino#6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue May 14, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue May 14, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue May 15, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
cmaglie pushed a commit that referenced this issue May 17, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
cmaglie pushed a commit that referenced this issue May 17, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue May 22, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue May 30, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Jun 12, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Jul 19, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Aug 20, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Aug 23, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Sep 10, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Oct 5, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Oct 16, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Nov 21, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Dec 5, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Dec 13, 2018
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Jan 18, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Jan 19, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Jan 21, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Mar 7, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Mar 8, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Mar 18, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue May 14, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue May 14, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Jul 18, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Jul 18, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Jul 19, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Jul 23, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Sep 20, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Sep 30, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Oct 22, 2019
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Feb 13, 2020
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Mar 23, 2020
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
facchinm added a commit that referenced this issue Apr 7, 2020
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus

try to implement partial transparency

As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D

Fix find/replace focus on Windows

Probably this approach could be adopted by all OSes with a little care on the window lifecycle.

[Find/Replace][Win] grab focus when just opened

Solves #6951 (comment)

Use Windows method for all OS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface Type: Bug
Projects
None yet
Development

No branches or pull requests

3 participants