Recent

Author Topic: KDE & Dialogue Parent option  (Read 3980 times)

Caladan

  • Newbie
  • Posts: 5
KDE & Dialogue Parent option
« on: December 08, 2013, 01:11:08 pm »
KDE 4 has an effect that "dims" the parent window when a child/dialog window is opened, its found under "System Settings/Desktop Effects/All Effects/Focus" and described as: "darkens the parent window of the currently active dialog".

As far as I know its enabled by default (but I could be wrong).

If you make a simple program under Lazarus, 1 form, with 1 button and a SelectDirectoryDialog and on click of the button do: SelectDirectoryDialog1.Execute;    you will see that after closing the Directory Dialog the main form will remain darkened.  Minimizing/Maximizing solved the issue.

I searched these forms for anything KDE related but did not find this issue yet or a solution for it.   Since it works okay with other programs I sort of feel its a lazarus specific issue ?

-Cal


Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Re: KDE & Dialogue Parent option
« Reply #1 on: December 10, 2013, 05:18:11 pm »
Maybe it depends on the Qt version. How did you compile your app?
Lazarus 1.7 (SVN) FPC 3.0.0

Rails

  • Guest
Re: KDE & Dialogue Parent option
« Reply #2 on: December 10, 2013, 05:27:39 pm »
You could try invalidating the form on the dialog onclose event.


Caladan

  • Newbie
  • Posts: 5
Re: KDE & Dialogue Parent option
« Reply #3 on: December 10, 2013, 05:33:56 pm »
Quote
Maybe it depends on the Qt version. How did you compile your app?

just default Lazarus, not used lazarus enough to play with that yet

Quote
You could try invalidating the form on the dialog onclose event.

could you be more detailed about this ?

Caladan

  • Newbie
  • Posts: 5
Re: KDE & Dialogue Parent option
« Reply #4 on: December 10, 2013, 05:59:05 pm »
Maybe it depends on the Qt version. How did you compile your app?

your comment made me search a bit more, tools, configure build lazarus was set to gtk2, set it to qt and problem solved.

thanks for your answers and sorry for asking a silly question :)

 

TinyPortal © 2005-2018