RE: gtk_file_chooser_dialog_new and gtk_file_chooser_native_new very slow on a Windows 10 64-bit PC

From: Timm Bäder [mailto:mail baedert org]

On 07.12, Ian Puleston wrote:
A little debugging showed that the time is spent in
gtk_file_chooser_dialog_new which takes 15 seconds to execute. I tried
switching to gtk_file_chooser_native_new instead but it too has the
same problem taking just as long.

Was the debugging just a printf before and after those calls or is there
more info about where the time is exactly spent?

Gdb - stepped through my code and when it got to stepping over the
gtk_file_chooser_dialog_new call it didn't return for a long time.
So I tried running an older version of the app with GTK 2.24.10 on
this PC and it too shows the problem, although it is not so bad,
taking about 10 seconds to open the file chooser (three file chooser
opens in quick succession actually take 10, 5 and 5 seconds where all
three take 15 seconds when doing the same with GTK 3).

Just a hunch, but might this be the "nonexistent floppy drive" problem
that a
few people on the web have mentioned, I can right now only find[1]?


Yep, this was it. I disabled the floppy drive in the BIOS as the poster
there said he did, and the problem went away - now the file chooser dialogs
open immediately. Also the first two paragraphs there almost exactly mirror
the OS and hardware upgrades that I've done on my PC, including switching to
SSDs, if that might be relevant.

Thanks a lot.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]