From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199706220302.XAA07883@ tikva> Date: Sat, 21 Jun 1997 23:02:24 -0400 (EDT) From: Daniel Gruner Subject: Re: QFileDialog::getOpenFileName not accept keyboard input In-Reply-To: <199706211814.NAA30675@poverty.bloomington.in.us> -----BEGIN PGP SIGNED MESSAGE----- Works fine for me. I still have to click the mouse in the dialog window (in any one of the controls) in order to get the keyboard focus, but after that it works normally. > I am having a problem with a file dialog created by > QFileDialog::getOpenFileName refusing to accept any keyboard input. > The return and escape accelerators work, but nothing else does. I can > cut and paste into the text entry widgets, but cannot type. > Strangely, if, while the dialog is open, I click in one of the text > entry fields, move the mouse out of the dialog and into some other > window (into the root does not suffice), and then back in, _then_ I > can type in that field, and tab and shift-tab change active focus the > way they are supposed to. > I am using Qt 1.2 on a i586 running Linux 2.0.29, XFree 3.2, twm, and > gcc 2.7.2.1. Qt was compiled on this system. > Any suggestions? > A dummy program that does nothing but start a QFileDialog is appended; > it exhibits the same anomalous behavior. > ---------------------------------------------------------------------- > #include > #include > int main(int argc, char **argv) > { > QApplication qapp(argc, argv); > QString fname = QFileDialog::getOpenFileName(0,"*"); > } - -- Dr. Daniel Gruner dgruner@tikva.chem.utoronto.ca Dept. of Chemistry phone: (416)-978-8689 University of Toronto fax: (416)-978-5325 finger for PGP public key -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBM6yVqwQJA2rhtdqtAQFiDAQApSwKB2LJpGY7uWWb/DpdCVJ/GaG7yWae DWGsbHt6VF87+/c8QGJzWJW1WIYgFDVjAcaTnhhPWclDdUDONxbyC+ZEjZRsKAiP mBEMX87Sj3ftPUApPZNdq2NV+9tRiHtUw5JrWkMq5tbp30BuXNsgGDtL9fGVZgxC 5/8s8mFXGYk= =Gg43 -----END PGP SIGNATURE----- -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com