PlanetSquires Forums

Support Forums => PlanetSquires Software => Topic started by: Bruce Huber on April 22, 2022, 10:57:12 PM

Title: WinFBE 3.0.0 BETA 3 - find/replace dialog and loss of window focus
Post by: Bruce Huber on April 22, 2022, 10:57:12 PM
Paul, I already mentioned part of this on the main BETA 3 thread - but there is more to it so I'm breaking it out into its own post...

(previous comment) - On x64, when typing into the find/replace text fields, it is often losing focus and further typing just goes into the bit-bucket somewhere.

(additionally) - On x64, when the find/replace dialog is present - if I place the focus into the main text body and then paste something into the text or do a hotkey that takes a screenshot... the window's focus is lost and further typing just goes into the bit-bucket somewhere.

Thanks!
CBruce

Title: Re: WinFBE 3.0.0 BETA 3 - find/replace dialog and loss of window focus
Post by: Paul Squires on April 23, 2022, 08:50:59 AM
Thanks Bruce, I will investigate!
Title: Re: WinFBE 3.0.0 BETA 3 - find/replace dialog and loss of window focus
Post by: Bruce Huber on April 23, 2022, 12:15:36 PM
About the (additionally) above:

It looks like the cursor is jumping back to the find/replace dialog when the code window loses focus.
Title: Re: WinFBE 3.0.0 BETA 3 - find/replace dialog and loss of window focus
Post by: Bumblebee on April 24, 2022, 06:56:24 AM
I have long had issues with controlling focus in forms. It doesn't behave as expected, and I have to include SetFocus commands to compensate.

There's a bug somewhere in the framework!

Simplest example:
Create a form, put a textbox on it, and save as an executable.

Runtime issues:
1. Whenever the form window loses focus, then regains focus, the textbox will not have focus. TAB or RIGHT, DOWN arrows have to be pressed. Or you have to click on the text field.
2. When the textbox receives focus, it is in a Select All state. As if a CTRL+A had been issued.
Title: Re: WinFBE 3.0.0 BETA 3 - find/replace dialog and loss of window focus
Post by: Paul Squires on April 28, 2022, 07:50:24 AM
Quote from: Bruce Huber on April 22, 2022, 10:57:12 PM
(previous comment) - On x64, when typing into the find/replace text fields, it is often losing focus and further typing just goes into the bit-bucket somewhere.
I have not been able to replicate this problem on my machine yet. The losing of focus happens as you are typing text into either the find or replace textboxes? You are not using any hotkeys or keyboard shortcuts as you are typing?

Quote
(additionally) - On x64, when the find/replace dialog is present - if I place the focus into the main text body and then paste something into the text or do a hotkey that takes a screenshot... the window's focus is lost and further typing just goes into the bit-bucket somewhere.
Thanks, I was able to replicate this problem and I have fixed it.