Recent

Author Topic: Is the behaviour of the F12 key a known bug?  (Read 3914 times)

vfclists

  • Hero Member
  • *****
  • Posts: 1157
    • HowTos Considered Harmful?
Is the behaviour of the F12 key a known bug?
« on: June 01, 2013, 07:14:25 am »
AFAIK, the F12 key is supposed to toggle between the pascal unit you are editing and its form, but most of the time it appears to bring up a different form, as though it is being applied to what seems to be the last form you edited, or it jumps to another file and brings  up its form instead.

Is this a known bug? It seems to be happening in the more recent versions of Lazarus. 0.9.30 did not exhibit this problem.
Lazarus 3.0/FPC 3.2.2

gerardus

  • Jr. Member
  • **
  • Posts: 94
Re: Is the behaviour of the F12 key a known bug?
« Reply #1 on: June 13, 2013, 07:25:08 pm »
Hi,

I can see the same behaviour with version 1.0.10. I though it was a problem with having the IDE docked (AnchorDocking packages).
Editing unit1, I hit F12, nothing happens the first time, then the second time it brings  form2 in unit2 instead of form1.

Regards,

Gerard.

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: Is the behaviour of the F12 key a known bug?
« Reply #2 on: June 14, 2013, 09:32:49 am »
I've also noticed the problem since the 0.9.x versions, here are a few more details on what happens. When I press F12 for the first time, what really happens is that another editor tab gets the focus; when I press it again then it changes to the form of the unit the focus changed to.

I usually avoid the problem by not giving any tab the focus by clicking elsewere.

It seems the bug is already reported here: http://bugs.freepascal.org/view.php?id=23594
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

 

TinyPortal © 2005-2018