gEDA-user: Re: Wishes, bugs and misunderstandings (6-10)

Werner Hoch werner.ho at gmx.de
Mon Dec 4 14:25:43 EST 2006


Hi all,

On Wednesday 22 November 2006 18:18, Werner Hoch wrote:
> On Monday 20 November 2006 21:39, Kai-Martin Knaak wrote:
> I'm using KDE which means the kdm v3.5.1, and gtk2 v2.8.10.
>
> Some of the dialogs do not set the modal flag. Neither modal nor
> non-modal.
> I'm wondering what's the default values for those dialogs?

Ok. I think the Window Manager sets the default.

> I'm not sure whether it would help to set the modal/non-modal flag of
> the dialog.
>
> And there is a "transient-for" property for GTK-Windows, but I got
> strange results when playing with it:
> I've used gtk_window_set_transient_for in the image-export dialog and
> the component dialog started flickering at 100% CPU-Load.
>
It seems the flickering happens when at least two dialogs are opened. 
One with the set_transient_for hint for the window manager and one 
without.

I've attached a patch that sets the transient flag for the component 
select dialog and that replaces the x_create_dialog with the gtk_dialog 
functions. The gtk_dialog uses the transient flag too.

Anyone likes to play with?

Regards
Werner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dialog_test.diff
Type: text/x-diff
Size: 6921 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-user/attachments/20061204/af5075f1/dialog_test.bin


More information about the geda-user mailing list