"Auto continue breakpoint" brings focus to editor in some situations
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
-
Reporter name: Juha Manninen
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
- Reporter name: Juha Manninen
Description:
In breakpoint properties, when "Auto continue after: " is > 0 and breakpoint is hit, the application continues after a delay. When debugging GUI applications, focus is supposed to stay with the application and not switch to Lazarus IDE windows.
Usually it works but not always. If the user clicks Lazarus source editor while the application is running, and then clicks the application GUI which triggers a breakpoint, then focus goes back to source editor.
The same thing happens if the application is restarted from source editor by F9.
The key here is that source editor was the last IDE window having focus.
Note, there is a related issue which fixed focus issues for "normal" breakpoints on Linux. The fix did not cause this bug. This one existed already earlier.
Mantis conversion info:
- Mantis ID: 19486
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 31101 (#97caca88)
- Target version: 0.99.0