Angus Leeming wrote:
>> Angus> Yes. I followed the prescription outlined in the bug report.
>> Angus> Without the patch, keyboard input went to the lyx screen.
>> With Angus> the patch, it went to the index dialog.
>> 
>> And does it give you a 'stay on top' behaviour?

Yes, so I've reversed the patch.

Am I right in saying that this problem (bug 1530) will just go away
with Qt 3.3.x?

Given that not everybody has access to 3.3.x, does the patch below not
solve the problem? It seems to work here with Qt 3.1.2...

Index: src/frontends/qt2//QDialogView.C
===================================================================
RCS file:
/usr/local/lyx/cvsroot/lyx-devel/src/frontends/qt2/QDialogView.C,v
retrieving revision 1.11
diff -u -p -r1.11 QDialogView.C
--- src/frontends/qt2//QDialogView.C    20 May 2004 09:36:27 -0000     
1.11
+++ src/frontends/qt2//QDialogView.C    2 Jun 2004 20:24:16 -0000
@@ -59,6 +59,7 @@ void QDialogView::show()
        } else {
                form()->show();
        }
+       form()->setFocus();
 }

-- 
Angus

Reply via email to