Re: Sub-windows on top

2001-02-06 Thread Marcello Nuccio

On Tue, Feb 06, 2001 at 05:52:31PM +1000, Allan Rae wrote:

 you get _nothing_ because we can't raise an iconified dialog.

 Mozilla does it. I have Gnome+Sawfish, but I think it's possible with
any WM.

-- 
"Intelligence is the ability to avoid doing work, yet get the work done"
-- Linus



Re: Sub-windows on top

2001-02-06 Thread Stephan Witt

Marcello Nuccio wrote:
 
 On Tue, Feb 06, 2001 at 05:52:31PM +1000, Allan Rae wrote:
 
  you get _nothing_ because we can't raise an iconified dialog.
 
  Mozilla does it. I have Gnome+Sawfish, but I think it's possible with
 any WM.
 

This depends on the used toolkit.

Yes, you can raise and iconify every dialog shell from
the application if you have access to the appropriate
Xlib/Xt functions with the needed parameters.
(Mozilla does this, I guess.)

For example with the given shell widget:

XtVaSetValues(shell, XtNiconic, False, NULL);
XMapWindow(XtDisplay(shell), XtWindow(shell));

or

XtVaSetValues(shell, XtNiconic, True, NULL);

I don't know if XForms gives the programmer access to
these shell widget or gives the needed functions.
If you set your dialog to transient these all is builtin.

Regards,

Stephan


[EMAIL PROTECTED] | beusen Solutions GmbH
fon: +49 30 549932-62| Landsberger Allee 366
fax: +49 30 549932-21| 12681 Berlin, Germany





Re: Sub-windows on top

2001-02-06 Thread Jean-Marc Lasgouttes

 "Stephan" == Stephan Witt [EMAIL PROTECTED] writes:

Stephan Marcello Nuccio wrote:
  On Tue, Feb 06, 2001 at 05:52:31PM +1000, Allan Rae wrote:
 
  you get _nothing_ because we can't raise an iconified dialog.
 
 Mozilla does it. I have Gnome+Sawfish, but I think it's possible
 with any WM.
 

Stephan This depends on the used toolkit.

Stephan Yes, you can raise and iconify every dialog shell from the
Stephan application if you have access to the appropriate Xlib/Xt
Stephan functions with the needed parameters. (Mozilla does this, I
Stephan guess.)

Stephan For example with the given shell widget:

Stephan XtVaSetValues(shell, XtNiconic, False, NULL);
Stephan XMapWindow(XtDisplay(shell), XtWindow(shell));

Since xforms does not rely on Xt, I presume this will not work.

JMarc



Re: Sub-windows on top

2001-02-06 Thread Marcello Nuccio

On Tue, Feb 06, 2001 at 05:52:31PM +1000, Allan Rae wrote:

> you get _nothing_ because we can't raise an iconified dialog.

 Mozilla does it. I have Gnome+Sawfish, but I think it's possible with
any WM.

-- 
"Intelligence is the ability to avoid doing work, yet get the work done"
-- Linus



Re: Sub-windows on top

2001-02-06 Thread Stephan Witt

Marcello Nuccio wrote:
> 
> On Tue, Feb 06, 2001 at 05:52:31PM +1000, Allan Rae wrote:
> 
> > you get _nothing_ because we can't raise an iconified dialog.
> 
>  Mozilla does it. I have Gnome+Sawfish, but I think it's possible with
> any WM.
> 

This depends on the used toolkit.

Yes, you can raise and iconify every dialog shell from
the application if you have access to the appropriate
Xlib/Xt functions with the needed parameters.
(Mozilla does this, I guess.)

For example with the given shell widget:

XtVaSetValues(shell, XtNiconic, False, NULL);
XMapWindow(XtDisplay(shell), XtWindow(shell));

or

XtVaSetValues(shell, XtNiconic, True, NULL);

I don't know if XForms gives the programmer access to
these shell widget or gives the needed functions.
If you set your dialog to transient these all is builtin.

Regards,

Stephan


<[EMAIL PROTECTED]> | beusen Solutions GmbH
fon: +49 30 549932-62| Landsberger Allee 366
fax: +49 30 549932-21| 12681 Berlin, Germany





Re: Sub-windows on top

2001-02-06 Thread Jean-Marc Lasgouttes

> "Stephan" == Stephan Witt <[EMAIL PROTECTED]> writes:

Stephan> Marcello Nuccio wrote:
>>  On Tue, Feb 06, 2001 at 05:52:31PM +1000, Allan Rae wrote:
>> 
>> > you get _nothing_ because we can't raise an iconified dialog.
>> 
>> Mozilla does it. I have Gnome+Sawfish, but I think it's possible
>> with any WM.
>> 

Stephan> This depends on the used toolkit.

Stephan> Yes, you can raise and iconify every dialog shell from the
Stephan> application if you have access to the appropriate Xlib/Xt
Stephan> functions with the needed parameters. (Mozilla does this, I
Stephan> guess.)

Stephan> For example with the given shell widget:

Stephan> XtVaSetValues(shell, XtNiconic, False, NULL);
Stephan> XMapWindow(XtDisplay(shell), XtWindow(shell));

Since xforms does not rely on Xt, I presume this will not work.

JMarc



Sub-windows on top

2001-02-05 Thread Nicolas SABOURET

Hi !

In lyx 1.1.6, all sub-windows (e.g., latex-preamble, math-panel,
characters-layout ...) are on top of the main LyX window. However, this
was not the case in previous version and I prefered it before.

Is it possible to go back to the previous version (secondary windows NOT
on top of the main one) ?

Thanks,
Nicolas Sabouret

(PS: I read about this in lyx-user, but I couldn't find any "we're
working on it" answer. Therefor, I report this as a bug ...)



Re: Sub-windows on top

2001-02-05 Thread John Levon

On Mon, 5 Feb 2001, Nicolas SABOURET wrote:

 Hi !
 
 In lyx 1.1.6, all sub-windows (e.g., latex-preamble, math-panel,
 characters-layout ...) are on top of the main LyX window. However, this
 was not the case in previous version and I prefered it before.
 
 Is it possible to go back to the previous version (secondary windows NOT
 on top of the main one) ?
 

I agree, it's infuriating to have to move the dialogs out of the way.

 (PS: I read about this in lyx-user, but I couldn't find any "we're
 working on it" answer. Therefor, I report this as a bug ...)

This is probably because Angus is away, and I think this change is a
result of some of his cleanups. I expect he'll get back to you soon.

thanks
john


-- 
"Paranoids are people, too; they have their own problems.  It's easy
 to criticize, but if everybody hated you, you'd be paranoid too."
- D.J. Hicks




Re: Sub-windows on top

2001-02-05 Thread Allan Rae

On Mon, 5 Feb 2001, John Levon wrote:

 On Mon, 5 Feb 2001, Nicolas SABOURET wrote:

  Hi !
 
  In lyx 1.1.6, all sub-windows (e.g., latex-preamble, math-panel,
  characters-layout ...) are on top of the main LyX window. However, this
  was not the case in previous version and I prefered it before.
 
  Is it possible to go back to the previous version (secondary windows NOT
  on top of the main one) ?
 

 I agree, it's infuriating to have to move the dialogs out of the way.

The GUII xforms dialogs are all now TRANSIENT dialogs so your window
manager will decide what happens with them.  Window Maker for example
keeps transient dialogs above the main window.  Yes, I know this is a bit
annoying (I too use Window Maker) however we have a problem with xforms in
that we can't raise an iconified form (Angus has other reasons he wants
them left as transient) so by marking them as TRANSIENT they can't be
iconified but your window manager may make you angry.

  (PS: I read about this in lyx-user, but I couldn't find any "we're
  working on it" answer. Therefor, I report this as a bug ...)

 This is probably because Angus is away, and I think this change is a
 result of some of his cleanups. I expect he'll get back to you soon.

Not really a bug.  An indirect result of a combination of your window
managers policy and our desire to workaround an annoying xforms bug.

Allan. (ARRae)




Re: Sub-windows on top

2001-02-05 Thread Nicolas SABOURET

Allan Rae wrote:
 
 The GUII xforms dialogs are all now TRANSIENT dialogs so your window
 manager will decide what happens with them.  Window Maker for example
 keeps transient dialogs above the main window.


Well, the thing is, I use E at work and fvwm at home, and I have this
problem on both !! :)
Moreover, I guess that most (if not all) wm keep their transients on top
(it seems quite logical to me, since "transient" is transient :P)

My first remark is that it'd be a great idea to report this bug to
xforms :)

The second one is that in previous versions, there was no transient (was
there ?) and it seemed perfect to me. I could even iconify and
de-iconify them !

Well, anyway, let's add it to the wish-list...

And thanks again for all the work you did: it's really more and more
great.

Nicolas.



Re: Sub-windows on top

2001-02-05 Thread Allan Rae

On Tue, 6 Feb 2001, Nicolas SABOURET wrote:

 Allan Rae wrote:
 
  The GUII xforms dialogs are all now TRANSIENT dialogs so your window
  manager will decide what happens with them.  Window Maker for example
  keeps transient dialogs above the main window.
 

 Well, the thing is, I use E at work and fvwm at home, and I have this
 problem on both !! :)
 Moreover, I guess that most (if not all) wm keep their transients on top
 (it seems quite logical to me, since "transient" is transient :P)

Well, I use Window Maker at both and it is only mildly annoying for me.

 My first remark is that it'd be a great idea to report this bug to
 xforms :)

Done.

 The second one is that in previous versions, there was no transient (was
 there ?) and it seemed perfect to me. I could even iconify and
 de-iconify them !

Yes, but LyX couldn't de-iconify them then or now.  So when you iconify a
dialog and then try to use the accelerator keys to popup the dialog again
you get _nothing_ because we can't raise an iconified dialog.

I can't remember the other issues that Angus had made him want transients
but I left it as his call for when we switch from transients back to
lightly decorated.

 Well, anyway, let's add it to the wish-list...

 And thanks again for all the work you did: it's really more and more
 great.

It's a pleasure to serve.

Allan. (ARRae)




Sub-windows on top

2001-02-05 Thread Nicolas SABOURET

Hi !

In lyx 1.1.6, all sub-windows (e.g., latex-preamble, math-panel,
characters-layout ...) are on top of the main LyX window. However, this
was not the case in previous version and I prefered it before.

Is it possible to go back to the previous version (secondary windows NOT
on top of the main one) ?

Thanks,
Nicolas Sabouret

(PS: I read about this in lyx-user, but I couldn't find any "we're
working on it" answer. Therefor, I report this as a bug ...)



Re: Sub-windows on top

2001-02-05 Thread John Levon

On Mon, 5 Feb 2001, Nicolas SABOURET wrote:

> Hi !
> 
> In lyx 1.1.6, all sub-windows (e.g., latex-preamble, math-panel,
> characters-layout ...) are on top of the main LyX window. However, this
> was not the case in previous version and I prefered it before.
> 
> Is it possible to go back to the previous version (secondary windows NOT
> on top of the main one) ?
> 

I agree, it's infuriating to have to move the dialogs out of the way.

> (PS: I read about this in lyx-user, but I couldn't find any "we're
> working on it" answer. Therefor, I report this as a bug ...)

This is probably because Angus is away, and I think this change is a
result of some of his cleanups. I expect he'll get back to you soon.

thanks
john


-- 
"Paranoids are people, too; they have their own problems.  It's easy
 to criticize, but if everybody hated you, you'd be paranoid too."
- D.J. Hicks




Re: Sub-windows on top

2001-02-05 Thread Allan Rae

On Mon, 5 Feb 2001, John Levon wrote:

> On Mon, 5 Feb 2001, Nicolas SABOURET wrote:
>
> > Hi !
> >
> > In lyx 1.1.6, all sub-windows (e.g., latex-preamble, math-panel,
> > characters-layout ...) are on top of the main LyX window. However, this
> > was not the case in previous version and I prefered it before.
> >
> > Is it possible to go back to the previous version (secondary windows NOT
> > on top of the main one) ?
> >
>
> I agree, it's infuriating to have to move the dialogs out of the way.

The GUII xforms dialogs are all now TRANSIENT dialogs so your window
manager will decide what happens with them.  Window Maker for example
keeps transient dialogs above the main window.  Yes, I know this is a bit
annoying (I too use Window Maker) however we have a problem with xforms in
that we can't raise an iconified form (Angus has other reasons he wants
them left as transient) so by marking them as TRANSIENT they can't be
iconified but your window manager may make you angry.

> > (PS: I read about this in lyx-user, but I couldn't find any "we're
> > working on it" answer. Therefor, I report this as a bug ...)
>
> This is probably because Angus is away, and I think this change is a
> result of some of his cleanups. I expect he'll get back to you soon.

Not really a bug.  An indirect result of a combination of your window
managers policy and our desire to workaround an annoying xforms bug.

Allan. (ARRae)




Re: Sub-windows on top

2001-02-05 Thread Nicolas SABOURET

Allan Rae wrote:
> 
> The GUII xforms dialogs are all now TRANSIENT dialogs so your window
> manager will decide what happens with them.  Window Maker for example
> keeps transient dialogs above the main window.
>

Well, the thing is, I use E at work and fvwm at home, and I have this
problem on both !! :)
Moreover, I guess that most (if not all) wm keep their transients on top
(it seems quite logical to me, since "transient" is transient :P)

My first remark is that it'd be a great idea to report this bug to
xforms :)

The second one is that in previous versions, there was no transient (was
there ?) and it seemed perfect to me. I could even iconify and
de-iconify them !

Well, anyway, let's add it to the wish-list...

And thanks again for all the work you did: it's really more and more
great.

Nicolas.



Re: Sub-windows on top

2001-02-05 Thread Allan Rae

On Tue, 6 Feb 2001, Nicolas SABOURET wrote:

> Allan Rae wrote:
> >
> > The GUII xforms dialogs are all now TRANSIENT dialogs so your window
> > manager will decide what happens with them.  Window Maker for example
> > keeps transient dialogs above the main window.
> >
>
> Well, the thing is, I use E at work and fvwm at home, and I have this
> problem on both !! :)
> Moreover, I guess that most (if not all) wm keep their transients on top
> (it seems quite logical to me, since "transient" is transient :P)

Well, I use Window Maker at both and it is only mildly annoying for me.

> My first remark is that it'd be a great idea to report this bug to
> xforms :)

Done.

> The second one is that in previous versions, there was no transient (was
> there ?) and it seemed perfect to me. I could even iconify and
> de-iconify them !

Yes, but LyX couldn't de-iconify them then or now.  So when you iconify a
dialog and then try to use the accelerator keys to popup the dialog again
you get _nothing_ because we can't raise an iconified dialog.

I can't remember the other issues that Angus had made him want transients
but I left it as his call for when we switch from transients back to
lightly decorated.

> Well, anyway, let's add it to the wish-list...
>
> And thanks again for all the work you did: it's really more and more
> great.

It's a pleasure to serve.

Allan. (ARRae)