Recent

Author Topic: ShowMessage lost focus when click on form2  (Read 2841 times)

clauslack

  • Sr. Member
  • ****
  • Posts: 275
ShowMessage lost focus when click on form2
« on: September 07, 2011, 10:21:07 pm »
Adjunt example project

Under Linux (Lazarus 0.9.30 fpc 2.4.4)
- Salix XFCE 13.37 XFCE 4.6.2-i486-5
- Salix XFCE 13.1  XFCE 4.6.1-i486-3
- Slackware 13 KDE 4.2.4
- Slax 6 kde 3.5.10

ShowMessage lost focus when click on form2.
For the user would seem that the application froze,
but ShowMessage is behind Form2


Works fine under
- Any Windows
- Salix LXDE 13.37

Are there some workaround?

Thanks


clauslack

  • Sr. Member
  • ****
  • Posts: 275
Re: ShowMessage lost focus when click on form2
« Reply #1 on: September 15, 2011, 08:27:59 pm »
I found a workarround for XFCE.
Menu->Settings->Window Manager->Focus->Raise window when clicking inside application window (unckeck)

Regards