[Lazarus] gtk2 and windows z order
Flávio Etrusco
flavio.etrusco at gmail.com
Wed Mar 31 19:54:08 CEST 2010
On Wed, Mar 31, 2010 at 1:58 PM, zeljko <zeljko at holobit.net> wrote:
> On Wednesday 31 March 2010 14:12, Martin wrote:
>> I recently saw some StayOntop fixes for GTK2.
>>
>> But does anyone know about the issue, that modal dialogs show *below*
>> all other windows? That applies for the code-completion-drop-down-window
>> too.
>>
>> It happens for me, running gtk2 on Windows (Vista) using the gtk
>> libraries that came with gimp.
>>
>> E.g when I close the ide , the "save project" dialog is hiden behind the
>> source-editor. But the source-editor is locked (because a modal form is
>> shown), so I cannot move it away.
>> If I click another app in the task bar, and then back to Lazarus it will
>> (most often) be ok.
>>
>> Same for the find-dialog, enviroment, .....
>
> seen that with qt too when calling printer properties dialog, it stays
> behind , but it's probably because we are using LCL loop for all dialogs for
> some time, I must check if it's a problem.
> With gtk2, never seen such problem on linux.
>
> zeljko
>
I don't remember seeing this on gtk2 with metacity either, but I
remember seeing this on WinXP. And on Delphi it's always been present,
up to Delphi2007. As the LCL, Delphi had code to store and restore
z-order on ShowModal, but it's easy to break the code using native
calls (maybe even without this)...
Flávio
More information about the Lazarus
mailing list